Home
last modified time | relevance | path

Searched refs:Log2 (Results 1 – 25 of 2423) sorted by relevance

12345678910>>...97

/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/avrlib/
H A Dlog2.h27 struct Log2 { struct
33 template<> struct Log2<1> { enum { value = 0 }; }; argument
34 template<> struct Log2<2> { enum { value = 1 }; };
35 template<> struct Log2<4> { enum { value = 2 }; };
36 template<> struct Log2<8> { enum { value = 3 }; };
37 template<> struct Log2<16> { enum { value = 4 }; };
38 template<> struct Log2<32> { enum { value = 5 }; };
39 template<> struct Log2<64> { enum { value = 6 }; };
40 template<> struct Log2<128> { enum { value = 7 }; };
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/avrlibx/utils/
H A Dlog2.h27 struct Log2 { struct
33 template<> struct Log2<1> { enum { value = 0 }; }; argument
34 template<> struct Log2<2> { enum { value = 1 }; };
35 template<> struct Log2<4> { enum { value = 2 }; };
36 template<> struct Log2<8> { enum { value = 3 }; };
37 template<> struct Log2<16> { enum { value = 4 }; };
38 template<> struct Log2<32> { enum { value = 5 }; };
39 template<> struct Log2<64> { enum { value = 6 }; };
40 template<> struct Log2<128> { enum { value = 7 }; };
/dports/biology/seqan-apps/seqan-seqan-v2.4.0/tests/basic/
H A Dtest_basic_metaprogramming_math.h48 SEQAN_ASSERT_EQ(+Log2<1>::VALUE, 0u); in SEQAN_DEFINE_TEST()
49 SEQAN_ASSERT_EQ(+Log2<2>::VALUE, 1u); in SEQAN_DEFINE_TEST()
50 SEQAN_ASSERT_EQ(+Log2<3>::VALUE, 2u); in SEQAN_DEFINE_TEST()
51 SEQAN_ASSERT_EQ(+Log2<4>::VALUE, 2u); in SEQAN_DEFINE_TEST()
52 SEQAN_ASSERT_EQ(+Log2<5>::VALUE, 3u); in SEQAN_DEFINE_TEST()
53 SEQAN_ASSERT_EQ(+Log2<7>::VALUE, 3u); in SEQAN_DEFINE_TEST()
54 SEQAN_ASSERT_EQ(+Log2<8>::VALUE, 3u); in SEQAN_DEFINE_TEST()
55 SEQAN_ASSERT_EQ(+Log2<9>::VALUE, 4u); in SEQAN_DEFINE_TEST()
57 SEQAN_ASSERT_EQ(+Log2<127>::VALUE, 7u); in SEQAN_DEFINE_TEST()
58 SEQAN_ASSERT_EQ(+Log2<128>::VALUE, 7u); in SEQAN_DEFINE_TEST()
[all …]
/dports/devel/spark/spark-2.1.1/sql/hive/src/test/resources/ql/src/test/queries/clientpositive/
H A Dvectorized_math_funcs.q18 ,Log2(cdouble)
21 ,Log2(cfloat)
22 ,Log2(cbigint)
23 ,Log2(cint)
24 ,Log2(csmallint)
25 ,Log2(ctinyint)
70 ,Log2(cdouble)
73 ,Log2(cfloat)
74 ,Log2(cbigint)
75 ,Log2(cint)
[all …]
/dports/devel/pcsc-lite/pcsc-lite-1.9.4/src/
H A Dpcscdaemon.c163 Log2(PCSC_LOG_ERROR, "ProcessEventsServer unknown retval: %d", in SVCServiceRunLoop()
189 Log2(PCSC_LOG_ERROR, "read failed: %s", strerror(errno)); in signal_thread()
193 Log2(PCSC_LOG_INFO, "Received signal: %d", sig); in signal_thread()
339 Log2(PCSC_LOG_INFO, "using new config file: %s", optarg);
392 Log2(PCSC_LOG_INFO, "setting customMaxThreadCounter to: %d",
398 Log2(PCSC_LOG_INFO, "setting customMaxReaderHandles to: %d",
484 Log2(PCSC_LOG_CRITICAL,
623 Log2(PCSC_LOG_CRITICAL,
685 Log2(PCSC_LOG_CRITICAL,
773 Log2(PCSC_LOG_ERROR, "write() failed: %s", strerror(errno));
[all …]
H A Dwinscard_svc.c138 Log2(PCSC_LOG_CRITICAL, in ContextsInitialize()
219 Log2(PCSC_LOG_CRITICAL, in CreateContextThread()
315 Log2(PCSC_LOG_DEBUG, "Client die: %d", filedes); \
354 Log2(PCSC_LOG_DEBUG, "Client die: %d", filedes); in ContextThread()
665 Log2(PCSC_LOG_DEBUG, "Client die: %d", filedes); in ContextThread()
722 Log2(PCSC_LOG_DEBUG, "Client die: %d", filedes); in ContextThread()
803 Log2(PCSC_LOG_DEBUG, "Client die: %d", filedes); in ContextThread()
812 Log2(PCSC_LOG_DEBUG, "Wrong length: %d", filedes); in ContextThread()
828 Log2(PCSC_LOG_DEBUG, "Signal client: %d", filedes); in MSGSignalClient()
934 Log2(PCSC_LOG_CRITICAL, in MSGRemoveContext()
[all …]
H A Dhotplug_libusb.c237 Log2(PCSC_LOG_INFO, "Found driver for: %s", in HPReadBundleValues()
248 Log2(PCSC_LOG_INFO, in HPReadBundleValues()
419 Log2(PCSC_LOG_DEBUG, "Refresh USB device: %s", in HPRescanUsbBus()
488 Log2(PCSC_LOG_ERROR, "write: %s", strerror(errno)); in HPEstablishUSBNotifications()
498 Log2(PCSC_LOG_INFO, in HPEstablishUSBNotifications()
508 Log2(PCSC_LOG_INFO, in HPEstablishUSBNotifications()
528 Log2(PCSC_LOG_ERROR, "pipe: %s", strerror(errno)); in HPEstablishUSBNotifications()
629 Log2(PCSC_LOG_ERROR, in HPAddHotPluggable()
654 Log2(PCSC_LOG_ERROR, "libusb_open failed: %s", in HPAddHotPluggable()
672 Log2(PCSC_LOG_ERROR, in HPAddHotPluggable()
[all …]
H A Dwinscard_msg_srv.c98 Log2(PCSC_LOG_CRITICAL, "Accept on common socket: %s", in ProcessCommonChannelRequest()
136 Log2(PCSC_LOG_CRITICAL, "Unable to create common socket: %s", in InitializeSocket()
148 Log2(PCSC_LOG_CRITICAL, "Unable to bind common socket: %s", in InitializeSocket()
155 Log2(PCSC_LOG_CRITICAL, "Unable to listen common socket: %s", in InitializeSocket()
242 Log2(PCSC_LOG_CRITICAL, "Select returns with failure: %s", in ProcessEventsServer()
259 Log2(PCSC_LOG_ERROR, in ProcessEventsServer()
267 Log2(PCSC_LOG_DEBUG, in ProcessEventsServer()
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tests/meta/
H A Dlog2_test.cpp26 die_unequal(tlx::Log2<Value>::floor, tlx::integer_log2_floor(Value)); in test_log_i()
27 die_unequal(tlx::Log2<Value>::ceil, tlx::integer_log2_ceil(Value)); in test_log_i()
32 die_unequal(tlx::Log2<Value>::floor, 0); in test_log_i()
33 die_unequal(tlx::Log2<Value>::ceil, 0); in test_log_i()
38 die_unequal(tlx::Log2<Value>::floor, 1); in test_log_i()
39 die_unequal(tlx::Log2<Value>::ceil, 1); in test_log_i()
44 die_unequal(tlx::Log2<Value>::floor, floor_value); in test_log_i()
45 die_unequal(tlx::Log2<Value>::ceil, ceil_value); in test_log_i()
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tests/meta/
H A Dlog2_test.cpp26 die_unequal(tlx::Log2<Value>::floor, tlx::integer_log2_floor(Value)); in test_log_i()
27 die_unequal(tlx::Log2<Value>::ceil, tlx::integer_log2_ceil(Value)); in test_log_i()
32 die_unequal(tlx::Log2<Value>::floor, 0); in test_log_i()
33 die_unequal(tlx::Log2<Value>::ceil, 0); in test_log_i()
38 die_unequal(tlx::Log2<Value>::floor, 1); in test_log_i()
39 die_unequal(tlx::Log2<Value>::ceil, 1); in test_log_i()
44 die_unequal(tlx::Log2<Value>::floor, floor_value); in test_log_i()
45 die_unequal(tlx::Log2<Value>::ceil, ceil_value); in test_log_i()
/dports/security/hexl/hexl-1.2.3/test/
H A Dtest-number-theory.cpp13 TEST(NumberTheory, Log2) { in TEST() argument
14 ASSERT_EQ(0, Log2(1)); in TEST()
15 ASSERT_EQ(1, Log2(2)); in TEST()
16 ASSERT_EQ(1, Log2(3)); in TEST()
17 ASSERT_EQ(2, Log2(4)); in TEST()
18 ASSERT_EQ(2, Log2(5)); in TEST()
19 ASSERT_EQ(2, Log2(6)); in TEST()
20 ASSERT_EQ(2, Log2(7)); in TEST()
21 ASSERT_EQ(3, Log2(8)); in TEST()
22 ASSERT_EQ(4, Log2(16)); in TEST()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/GoASTScanner/gas/vendor/github.com/nbutton23/zxcvbn-go/entropy/
H A DentropyCalculator.go82 return float64(math.Log2(possibililities))
110 entropy := math.Log2(possibilities)
122 entropy += math.Log2(possibilities)
130 entropy := math.Log2(cardinality * float64(len(match.Token)))
161 baseEntropy = math.Log2(float64(dictionaryLength))
171 return baseEntropy + math.Log2(float64(len(match.Token)))
196 return math.Log2(possibilities)
200 return math.Log2(NUM_YEARS)
206 entropy = math.Log2(NUM_DAYS * NUM_MONTHS * 100)
208 entropy = math.Log2(NUM_DAYS * NUM_MONTHS * NUM_YEARS)
/dports/devel/jsl/jsl-0.3.0/src/
H A Djscpucfg.c130 static int Log2(unsigned int n) in Log2() function
345 printf("#define JS_BITS_PER_BYTE_LOG2 %dL\n", Log2(bpb)); in main()
346 printf("#define JS_BITS_PER_SHORT_LOG2 %dL\n", Log2(bpb * sizeof_short)); in main()
347 printf("#define JS_BITS_PER_INT_LOG2 %dL\n", Log2(bpb * sizeof_int)); in main()
349 printf("#define JS_BITS_PER_LONG_LOG2 %dL\n", Log2(bpb * sizeof_long)); in main()
350 printf("#define JS_BITS_PER_FLOAT_LOG2 %dL\n", Log2(bpb * sizeof_float)); in main()
351 printf("#define JS_BITS_PER_DOUBLE_LOG2 %dL\n", Log2(bpb * sizeof_double)); in main()
352 printf("#define JS_BITS_PER_WORD_LOG2 %dL\n", Log2(bpb * sizeof_word)); in main()
365 printf("#define JS_BYTES_PER_WORD_LOG2 %dL\n", Log2(sizeof_word)); in main()
366 printf("#define JS_BYTES_PER_DWORD_LOG2 %dL\n", Log2(sizeof_dword)); in main()
[all …]
/dports/security/gopass/gopass-1.13.0/vendor/github.com/nbutton23/zxcvbn-go/entropy/
H A DentropyCalculator.go81 return float64(math.Log2(possibililities))
110 entropy := math.Log2(possibilities)
122 entropy += math.Log2(possibilities)
131 entropy := math.Log2(cardinality * float64(len(match.Token)))
164 baseEntropy = math.Log2(float64(dictionaryLength))
174 return baseEntropy + math.Log2(float64(len(match.Token)))
200 return math.Log2(possibilities)
207 entropy = math.Log2(numDays * numMonths * 100)
209 entropy = math.Log2(numDays * numMonths * numYears)
/dports/dns/dnscrypt-proxy2/dnscrypt-proxy-2.1.1/vendor/github.com/nbutton23/zxcvbn-go/entropy/
H A DentropyCalculator.go81 return float64(math.Log2(possibililities))
110 entropy := math.Log2(possibilities)
122 entropy += math.Log2(possibilities)
131 entropy := math.Log2(cardinality * float64(len(match.Token)))
164 baseEntropy = math.Log2(float64(dictionaryLength))
174 return baseEntropy + math.Log2(float64(len(match.Token)))
200 return math.Log2(possibilities)
207 entropy = math.Log2(numDays * numMonths * 100)
209 entropy = math.Log2(numDays * numMonths * numYears)
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/kunwardeep/paralleltest/tools/vendor/github.com/nbutton23/zxcvbn-go/entropy/
H A DentropyCalculator.go81 return float64(math.Log2(possibililities))
110 entropy := math.Log2(possibilities)
122 entropy += math.Log2(possibilities)
131 entropy := math.Log2(cardinality * float64(len(match.Token)))
164 baseEntropy = math.Log2(float64(dictionaryLength))
174 return baseEntropy + math.Log2(float64(len(match.Token)))
200 return math.Log2(possibilities)
207 entropy = math.Log2(numDays * numMonths * 100)
209 entropy = math.Log2(numDays * numMonths * numYears)
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/nbutton23/zxcvbn-go/entropy/
H A DentropyCalculator.go81 return float64(math.Log2(possibililities))
110 entropy := math.Log2(possibilities)
122 entropy += math.Log2(possibilities)
131 entropy := math.Log2(cardinality * float64(len(match.Token)))
164 baseEntropy = math.Log2(float64(dictionaryLength))
174 return baseEntropy + math.Log2(float64(len(match.Token)))
200 return math.Log2(possibilities)
207 entropy = math.Log2(numDays * numMonths * 100)
209 entropy = math.Log2(numDays * numMonths * numYears)
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/spiderMonkey/src/smjs/
H A Djscpucfg.c132 static int Log2(unsigned int n) in Log2() function
347 printf("#define JS_BITS_PER_BYTE_LOG2 %dL\n", Log2(bpb)); in main()
348 printf("#define JS_BITS_PER_SHORT_LOG2 %dL\n", Log2(bpb * sizeof_short)); in main()
349 printf("#define JS_BITS_PER_INT_LOG2 %dL\n", Log2(bpb * sizeof_int)); in main()
351 printf("#define JS_BITS_PER_LONG_LOG2 %dL\n", Log2(bpb * sizeof_long)); in main()
352 printf("#define JS_BITS_PER_FLOAT_LOG2 %dL\n", Log2(bpb * sizeof_float)); in main()
353 printf("#define JS_BITS_PER_DOUBLE_LOG2 %dL\n", Log2(bpb * sizeof_double)); in main()
354 printf("#define JS_BITS_PER_WORD_LOG2 %dL\n", Log2(bpb * sizeof_word)); in main()
367 printf("#define JS_BYTES_PER_WORD_LOG2 %dL\n", Log2(sizeof_word)); in main()
368 printf("#define JS_BYTES_PER_DWORD_LOG2 %dL\n", Log2(sizeof_dword)); in main()
[all …]
/dports/lang/spidermonkey17/js/src/
H A Djscpucfg.c133 static int Log2(unsigned int n) in Log2() function
348 printf("#define JS_BITS_PER_BYTE_LOG2 %dL\n", Log2(bpb)); in main()
349 printf("#define JS_BITS_PER_SHORT_LOG2 %dL\n", Log2(bpb * sizeof_short)); in main()
350 printf("#define JS_BITS_PER_INT_LOG2 %dL\n", Log2(bpb * sizeof_int)); in main()
352 printf("#define JS_BITS_PER_LONG_LOG2 %dL\n", Log2(bpb * sizeof_long)); in main()
353 printf("#define JS_BITS_PER_FLOAT_LOG2 %dL\n", Log2(bpb * sizeof_float)); in main()
354 printf("#define JS_BITS_PER_DOUBLE_LOG2 %dL\n", Log2(bpb * sizeof_double)); in main()
355 printf("#define JS_BITS_PER_WORD_LOG2 %dL\n", Log2(bpb * sizeof_word)); in main()
368 printf("#define JS_BYTES_PER_WORD_LOG2 %dL\n", Log2(sizeof_word)); in main()
369 printf("#define JS_BYTES_PER_DWORD_LOG2 %dL\n", Log2(sizeof_dword)); in main()
[all …]
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/spiderMonkey/src/smjs/
H A Djscpucfg.c132 static int Log2(unsigned int n) in Log2() function
347 printf("#define JS_BITS_PER_BYTE_LOG2 %dL\n", Log2(bpb)); in main()
348 printf("#define JS_BITS_PER_SHORT_LOG2 %dL\n", Log2(bpb * sizeof_short)); in main()
349 printf("#define JS_BITS_PER_INT_LOG2 %dL\n", Log2(bpb * sizeof_int)); in main()
351 printf("#define JS_BITS_PER_LONG_LOG2 %dL\n", Log2(bpb * sizeof_long)); in main()
352 printf("#define JS_BITS_PER_FLOAT_LOG2 %dL\n", Log2(bpb * sizeof_float)); in main()
353 printf("#define JS_BITS_PER_DOUBLE_LOG2 %dL\n", Log2(bpb * sizeof_double)); in main()
354 printf("#define JS_BITS_PER_WORD_LOG2 %dL\n", Log2(bpb * sizeof_word)); in main()
367 printf("#define JS_BYTES_PER_WORD_LOG2 %dL\n", Log2(sizeof_word)); in main()
368 printf("#define JS_BYTES_PER_DWORD_LOG2 %dL\n", Log2(sizeof_dword)); in main()
[all …]
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/spiderMonkey/src/smjs/
H A Djscpucfg.c132 static int Log2(unsigned int n) in Log2() function
347 printf("#define JS_BITS_PER_BYTE_LOG2 %dL\n", Log2(bpb)); in main()
348 printf("#define JS_BITS_PER_SHORT_LOG2 %dL\n", Log2(bpb * sizeof_short)); in main()
349 printf("#define JS_BITS_PER_INT_LOG2 %dL\n", Log2(bpb * sizeof_int)); in main()
351 printf("#define JS_BITS_PER_LONG_LOG2 %dL\n", Log2(bpb * sizeof_long)); in main()
352 printf("#define JS_BITS_PER_FLOAT_LOG2 %dL\n", Log2(bpb * sizeof_float)); in main()
353 printf("#define JS_BITS_PER_DOUBLE_LOG2 %dL\n", Log2(bpb * sizeof_double)); in main()
354 printf("#define JS_BITS_PER_WORD_LOG2 %dL\n", Log2(bpb * sizeof_word)); in main()
367 printf("#define JS_BYTES_PER_WORD_LOG2 %dL\n", Log2(sizeof_word)); in main()
368 printf("#define JS_BYTES_PER_DWORD_LOG2 %dL\n", Log2(sizeof_dword)); in main()
[all …]
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/spiderMonkey/src/smjs/
H A Djscpucfg.c132 static int Log2(unsigned int n) in Log2() function
347 printf("#define JS_BITS_PER_BYTE_LOG2 %dL\n", Log2(bpb)); in main()
348 printf("#define JS_BITS_PER_SHORT_LOG2 %dL\n", Log2(bpb * sizeof_short)); in main()
349 printf("#define JS_BITS_PER_INT_LOG2 %dL\n", Log2(bpb * sizeof_int)); in main()
351 printf("#define JS_BITS_PER_LONG_LOG2 %dL\n", Log2(bpb * sizeof_long)); in main()
352 printf("#define JS_BITS_PER_FLOAT_LOG2 %dL\n", Log2(bpb * sizeof_float)); in main()
353 printf("#define JS_BITS_PER_DOUBLE_LOG2 %dL\n", Log2(bpb * sizeof_double)); in main()
354 printf("#define JS_BITS_PER_WORD_LOG2 %dL\n", Log2(bpb * sizeof_word)); in main()
367 printf("#define JS_BYTES_PER_WORD_LOG2 %dL\n", Log2(sizeof_word)); in main()
368 printf("#define JS_BYTES_PER_DWORD_LOG2 %dL\n", Log2(sizeof_dword)); in main()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/tests/unittests/
H A DMathTests.cpp48 TEST(Math, Log2) { in TEST() argument
50 ASSERT_EQ(Log2(1u), 0u); in TEST()
51 ASSERT_EQ(Log2(0xFFFFFFFFu), 31u); in TEST()
52 ASSERT_EQ(Log2(static_cast<uint64_t>(0xFFFFFFFFFFFFFFFF)), 63u); in TEST()
59 ASSERT_EQ(Log2(0x80000000u), 31u); in TEST()
60 ASSERT_EQ(Log2(0x7FFFFFFFu), 30u); in TEST()
61 ASSERT_EQ(Log2(static_cast<uint64_t>(0x8000000000000000)), 63u); in TEST()
62 ASSERT_EQ(Log2(static_cast<uint64_t>(0x7FFFFFFFFFFFFFFF)), 62u); in TEST()
69 ASSERT_EQ(Log2(16u), 4u); in TEST()
70 ASSERT_EQ(Log2(15u), 3u); in TEST()
/dports/www/firefox-esr/firefox-91.8.0/nsprpub/pr/include/
H A Dgencfg.c122 static int Log2(int n) in Log2() function
234 fprintf(stream, "#define PR_BITS_PER_BYTE_LOG2 %d\n", Log2(bpb)); in main()
236 Log2(bpb * sizeof(short))); in main()
238 Log2(bpb * sizeof(int))); in main()
241 Log2(bpb * sizeof(long))); in main()
243 Log2(bpb * sizeof(float))); in main()
245 Log2(bpb * sizeof(double))); in main()
/dports/www/firefox/firefox-99.0/nsprpub/pr/include/
H A Dgencfg.c122 static int Log2(int n) in Log2() function
234 fprintf(stream, "#define PR_BITS_PER_BYTE_LOG2 %d\n", Log2(bpb)); in main()
236 Log2(bpb * sizeof(short))); in main()
238 Log2(bpb * sizeof(int))); in main()
241 Log2(bpb * sizeof(long))); in main()
243 Log2(bpb * sizeof(float))); in main()
245 Log2(bpb * sizeof(double))); in main()

12345678910>>...97