@ProCxx

Страница 860 из 2477
Surreal
11.05.2017
07:43:30
Детально не заглядывал, но тебе стоит обратить внимание на NativeActivity — туда ивенты тоже приходят. Я почему-то всегда думал, что именно его используют игры.
Ага, спасибо. Посмотрю потом. Надо будет еще статьи поискать, где описывается, как лучше всего сенсоры опрашивать. Что-то мне подсказывает, что таймер на 100мс не самая хорошая идея.

Berkus
11.05.2017
07:47:37
Вот это я уже понял. Вот и спрашиваю знакомы ли с такими алгоримами?
еще раз - если у клиента есть КЛЮЧ РАСШИФРОВКИ - он им может расшифровать! всё

Andre
11.05.2017
07:55:54
Ага, спасибо. Посмотрю потом. Надо будет еще статьи поискать, где описывается, как лучше всего сенсоры опрашивать. Что-то мне подсказывает, что таймер на 100мс не самая хорошая идея.
А, так в активитях вроде как даже есть обработчики. Для NativeActivity есть вот такой сэмпл на сайте гугла: https://developer.android.com/ndk/samples/sample_na.html а для джавовских — чекай основную доку

Surreal
11.05.2017
07:59:41
А, так в активитях вроде как даже есть обработчики. Для NativeActivity есть вот такой сэмпл на сайте гугла: https://developer.android.com/ndk/samples/sample_na.html а для джавовских — чекай основную доку
Ну вот я тоже смотрел на этот семпл и меня несколько беспокоит while(1) там и само описание: loop begins, in which the application polls the system for messages (sensor events). It sends messages to android_native_app_glue, which checks to see whether they match any onAppCmd events defined in android_main. When a match occurs, the message is sent to the handler for execution.

Google
$continue$
11.05.2017
08:04:01
Reindex.. please wait

раскалбасс петрович
11.05.2017
08:04:17
Reindex.. please wait

$continue$
11.05.2017
08:05:29
Reindex.. please wait

Reindex.. please wait

Tema
11.05.2017
08:05:58
Reindex.. please wait
Reindex.. please wait

$continue$
11.05.2017
08:06:32
Reindex.. please wait
Reindex.. please wait

Andre
11.05.2017
08:06:43
Reindex.. please wait

Reindex.. please wait

Tema
11.05.2017
08:07:13
Reindex.. please wait
Reindex.. please wait

$continue$
11.05.2017
08:07:15
Reindex.. please wait

Tema
11.05.2017
08:07:19
Reindex.. please wait

Berkus
11.05.2017
08:15:22
Reindex.. please wait

Google
Дед Пегас
11.05.2017
08:15:28
Reindex.. please wait
Reindex.. please wait

Group Butler [beta]
11.05.2017
08:15:28
Reindex.. please wait
Reindex.. please wait

Berkus
11.05.2017
08:15:36
Reindex.. please wait

$continue$
11.05.2017
08:16:56
Reindex.. please wait
Reindex.. please wait

Дед Пегас
11.05.2017
08:17:26
Reindex.. please wait

Surreal
11.05.2017
08:41:09
Reindex.. please wait

Andre
11.05.2017
08:42:03
Reindex.. please wait
Reindex.. please wait

Evgeniy
11.05.2017
08:51:58
Reindex.. please wait
Reindex.. please wait

Nikolai
11.05.2017
08:56:51
Reindex.. please wait
Reindex.. please wait

Pepe
11.05.2017
08:59:13
Reindex.. please wait
Reindex.. please wait

Nikolai
11.05.2017
08:59:29
Reindex.. please wait

Reindex.. please wait

Evgeniy
11.05.2017
09:06:29
Reindex.. please wait
Reindex.. please wait

Nikolai
11.05.2017
09:07:01
Reindex.. please wait
Reindex.. please wait

Reindex.. please wait

Evgeniy
11.05.2017
09:07:37
Reindex.. please wait
Reindex.. please wait

Nikolai
11.05.2017
09:08:28
Reindex.. please wait

Pepe
11.05.2017
09:17:17
Reindex.. please wait
Reindex.. please wait

Reindex.. please wait
Reindex.. please wait

Evgeniy
11.05.2017
09:18:02
Reindex.. please wait
Reindex.. please wait

Google
Pepe
11.05.2017
09:18:04
Reindex.. please wait

Reindex.. please wait
Reindex.. please wait

Evgeniy
11.05.2017
09:30:21
Reindex.. please wait
Reindex.. please wait

Pepe
11.05.2017
09:31:07
Reindex.. please wait
Reindex.. please wait

Reindex.. please wait

Konstantin
11.05.2017
09:31:44
Reindex.. please wait

Reindex.. please wait

Pepe
11.05.2017
09:32:17
Reindex.. please wait
Reindex.. please wait

Reindex.. please wait

Evgeniy
11.05.2017
09:32:33
Reindex.. please wait
Reindex.. please wait

Pepe
11.05.2017
09:32:47
Reindex.. please wait
Reindex.. please wait

Reindex.. please wait

Pepe
11.05.2017
09:32:59
Reindex.. please wait

Evgeniy
11.05.2017
09:33:01
Reindex.. please wait
Reindex.. please wait

Pepe
11.05.2017
09:33:42
Reindex.. please wait

Reindex.. please wait

Reindex.. please wait

Evgeniy
11.05.2017
09:34:38
Reindex.. please wait

Pepe
11.05.2017
09:34:54
Reindex.. please wait
Reindex.. please wait

Evgeniy
11.05.2017
09:35:36
Reindex.. please wait
Reindex.. please wait

Google
Дед Пегас
11.05.2017
09:35:45
Reindex.. please wait
Reindex.. please wait

Pepe
11.05.2017
09:36:08
Reindex.. please wait
Reindex.. please wait

Evgeniy
11.05.2017
09:36:38
Reindex.. please wait
Reindex.. please wait

Pepe
11.05.2017
09:37:14
Reindex.. please wait
Reindex.. please wait

Дед Пегас
11.05.2017
09:37:22
Reindex.. please wait

Admin
ERROR: S client not available

Дед Пегас
11.05.2017
09:37:30
Reindex.. please wait

Reindex.. please wait

Reindex.. please wait

Surreal
11.05.2017
09:38:11
Reindex.. please wait
Reindex.. please wait

Pepe
11.05.2017
09:38:14
Reindex.. please wait

Alex Фэils?︙
11.05.2017
09:39:35
Reindex.. please wait

Group Butler [beta]
11.05.2017
09:39:36
Reindex.. please wait
Reindex.. please wait

Surreal
11.05.2017
09:40:01
Во, спасибо.

Konstantin
11.05.2017
10:29:34
Ребят Вопрос

Короче есть веб сервис на крестах

Все ок, память чистится в самртпоинтерах

Как запускаюсь в докере, течет память

Alexander
11.05.2017
10:30:37
Konstantin
11.05.2017
10:30:43
Вне контейнера все нормально работает

Google
Alexander
11.05.2017
10:30:57
valgrind надеюсь

Konstantin
11.05.2017
10:30:59
По тому, что процесс все больше и боьше памяти отжирает

И не чистит

Валгринд в докере на запускал

Вне контейнера все ок

Alexander
11.05.2017
10:31:19
вот когда valgrind скажет, что не всё ок, тогда уже можно будет что-то смотреть

Konstantin
11.05.2017
10:31:59
Логично)

Alexander
11.05.2017
10:33:01
вот, так что давай, пробуй запускать

https://habrahabr.ru/post/328374/

Antony
11.05.2017
10:46:35
Ниже в коментариях верно написали про libcuckoo

Alexander
11.05.2017
10:48:28
Square
11.05.2017
11:35:14
Вот тут не хэшмэп, но очень быстрый конкурентный контейнер https://github.com/cameron314/concurrentqueue А тут сравнение производительности: http://moodycamel.com/blog/2014/a-fast-general-purpose-lock-free-queue-for-c++#benchmarks

Уже раз дцатый шликаю тут чяте на это

https://plot.ly/~cameron314/18

Surreal
11.05.2017
11:40:43
Вот тут не хэшмэп, но очень быстрый конкурентный контейнер https://github.com/cameron314/concurrentqueue А тут сравнение производительности: http://moodycamel.com/blog/2014/a-fast-general-purpose-lock-free-queue-for-c++#benchmarks
#ifdef MOODYCAMEL_EXCEPTIONS_ENABLED #define MOODYCAMEL_TRY try #define MOODYCAMEL_CATCH(...) catch(__VA_ARGS__) #define MOODYCAMEL_RETHROW throw #define MOODYCAMEL_THROW(expr) throw (expr) #else #define MOODYCAMEL_TRY if (true) #define MOODYCAMEL_CATCH(...) else if (false) #define MOODYCAMEL_RETHROW #define MOODYCAMEL_THROW(expr) #endif

Страница 860 из 2477