Home
last modified time | relevance | path

Searched refs:bin_value (Results 1 – 25 of 40) sorted by relevance

12

/dports/biology/py-deeptools/deepTools-3.5.1/deeptools/
H A DgetRatio.py67 bin_value = compute_ratio(value1, value2, args)
72 bin_value = value1 - value2
74 bin_value = value1 + value2
76 bin_value = value1
78 bin_value = value2
80 bin_value = (value1 + value2) / 2.0
82 return bin_value
/dports/security/silktools/silk-3.19.1/src/template/
H A Dc-plugin.c90 uint8_t *bin_value,
95 const uint8_t *bin_value,
102 uint8_t *bin_value,
443 uint8_t *bin_value, in recToBin() argument
460 memcpy(bin_value, &port, sizeof(port)); in recToBin()
491 const uint8_t *bin_value, in binToText() argument
504 memcpy(&port, bin_value, sizeof(port)); in binToText()
511 memcpy(&dur, bin_value, sizeof(dur)); in binToText()
543 uint8_t *bin_value, in addRecToBin() argument
555 memcpy(&dur, bin_value, sizeof(dur)); in addRecToBin()
[all …]
/dports/security/clamav/clamav-0.104.2/libclamav/
H A Dmatcher-byte-comp.c575 int64_t bin_value = 0; in cli_bcomp_compare_check() local
718 bin_value = (int64_t)(*(uint8_t *)f_buffer); in cli_bcomp_compare_check()
721 bin_value = (int64_t)le16_to_host(*(uint16_t *)f_buffer); in cli_bcomp_compare_check()
724 bin_value = (int64_t)le32_to_host(*(uint32_t *)f_buffer); in cli_bcomp_compare_check()
727 bin_value = (int64_t)le64_to_host(*(uint64_t *)f_buffer); in cli_bcomp_compare_check()
742 bin_value = (int64_t)(*(uint8_t *)f_buffer); in cli_bcomp_compare_check()
745 bin_value = (int64_t)be16_to_host(*(uint16_t *)f_buffer); in cli_bcomp_compare_check()
748 bin_value = (int64_t)be32_to_host(*(uint32_t *)f_buffer); in cli_bcomp_compare_check()
751 bin_value = (int64_t)be64_to_host(*(uint64_t *)f_buffer); in cli_bcomp_compare_check()
774 compare_check = (bin_value > bm->comps[i]->comp_value); in cli_bcomp_compare_check()
[all …]
/dports/security/clamav-lts/clamav-0.103.5/libclamav/
H A Dmatcher-byte-comp.c580 int64_t bin_value = 0; in cli_bcomp_compare_check() local
730 bin_value = (int64_t)(*(uint8_t *)f_buffer); in cli_bcomp_compare_check()
733 bin_value = (int64_t)le16_to_host(*(uint16_t *)f_buffer); in cli_bcomp_compare_check()
736 bin_value = (int64_t)le32_to_host(*(uint32_t *)f_buffer); in cli_bcomp_compare_check()
739 bin_value = (int64_t)le64_to_host(*(uint64_t *)f_buffer); in cli_bcomp_compare_check()
754 bin_value = (int64_t)(*(uint8_t *)f_buffer); in cli_bcomp_compare_check()
757 bin_value = (int64_t)be16_to_host(*(uint16_t *)f_buffer); in cli_bcomp_compare_check()
760 bin_value = (int64_t)be32_to_host(*(uint32_t *)f_buffer); in cli_bcomp_compare_check()
763 bin_value = (int64_t)be64_to_host(*(uint64_t *)f_buffer); in cli_bcomp_compare_check()
801 compare_check = (bin_value > bm->comps[i]->comp_value); in cli_bcomp_compare_check()
[all …]
/dports/security/silktools/silk-3.19.1/src/plugins/
H A Duniq-distproto.c65 uint8_t *bin_value,
70 const uint8_t *bin_value,
156 const uint8_t *bin_value, in mapToText() argument
165 c += BitsSetTable256[bin_value[i]]; in mapToText()
H A Dflowrate.c494 uint8_t *bin_value, in recToBinKey() argument
521 memcpy(bin_value, &val_u64, RATE_BINARY_SIZE_KEY); in recToBinKey()
535 const uint8_t *bin_value, in binToTextKey() argument
544 memcpy(&val_u64, bin_value, RATE_BINARY_SIZE_KEY); in binToTextKey()
553 memcpy(&val_u64, bin_value, RATE_BINARY_SIZE_KEY); in binToTextKey()
/dports/net/ryu/ryu-4.26/ryu/tests/unit/lib/
H A Dtest_addrconv.py34 def _test_conv(conv, text_value, bin_value): argument
35 eq_(conv.text_to_bin(text_value), bin_value)
36 eq_(conv.bin_to_text(bin_value), text_value)
/dports/math/py-or-tools/or-tools-9.2/ortools/linear_solver/samples/
H A Dmultiple_knapsack_mip.cc109 double bin_value = 0.0; in MultipleKnapsackMip() local
115 bin_value += values[i]; in MultipleKnapsackMip()
119 LOG(INFO) << "Packed bin value: " << bin_value; in MultipleKnapsackMip()
H A Dmultiple_knapsack_mip.py90 bin_value = 0
97 bin_value += data['values'][i]
/dports/databases/py-aioredis/aioredis-1.3.1/examples/getting_started/
H A D01_decoding.py8 bin_value = await redis.get('key')
9 assert bin_value == b'string-value'
/dports/math/py-or-tools/or-tools-9.2/ortools/sat/samples/
H A Dmultiple_knapsack_sat.cc106 double bin_value = 0.0; in MultipleKnapsackSat() local
113 bin_value += values[i]; in MultipleKnapsackSat()
117 LOG(INFO) << "Packed bin value: " << bin_value; in MultipleKnapsackSat()
H A Dmultiple_knapsack_sat.py88 bin_value = 0
95 bin_value += data['values'][i]
/dports/net/corosync2/corosync-2.4.5/tools/
H A Dcorosync-cmapctl.c170 char *bin_value = NULL; in print_key() local
273 bin_value = malloc(value_len); in print_key()
274 if (bin_value == NULL) { in print_key()
279 err = cmap_get(handle, key_name, bin_value, &bin_value_len, NULL); in print_key()
281 bin_value = (char *)value; in print_key()
350 if (bin_value) { in print_key()
351 print_binary_key(bin_value, value_len); in print_key()
353 free(bin_value); in print_key()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/main_thread/
H A Dqueueing_time_estimator.cc168 void QueueingTimeEstimator::RunningAverage::Add(base::TimeDelta bin_value) { in Add() argument
170 circular_buffer_[index_] = bin_value; in Add()
171 running_sum_ += bin_value; in Add()
H A Dqueueing_time_estimator.h43 void Add(base::TimeDelta bin_value);
/dports/security/silktools/silk-3.19.1/src/libsilk/
H A Dskcountry.c479 uint8_t *bin_value, in recToBin() argument
498 memcpy(bin_value, &cc, sizeof(sk_countrycode_t)); in recToBin()
513 const uint8_t *bin_value, in binToText() argument
520 memcpy(&cc, bin_value, sizeof(sk_countrycode_t)); in binToText()
H A Daddrtype.c370 uint8_t *bin_value, in recToBin() argument
389 *bin_value = (uint8_t)code; in recToBin()
403 const uint8_t *bin_value, in binToText() argument
408 snprintf(text_value, text_size, "%u", *bin_value); in binToText()
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/
H A Dcabac.h112 void kvz_cabac_encode_bin(cabac_data_t *data, uint32_t bin_value);
113 void kvz_cabac_encode_bin_ep(cabac_data_t *data, uint32_t bin_value);
115 void kvz_cabac_encode_bin_trm(cabac_data_t *data, uint8_t bin_value);
H A Dcabac.c103 void kvz_cabac_encode_bin(cabac_data_t * const data, const uint32_t bin_value) in kvz_cabac_encode_bin() argument
112 if ((bin_value ? 1 : 0) != CTX_MPS(data->cur_ctx)) { in kvz_cabac_encode_bin()
204 void kvz_cabac_encode_bin_trm(cabac_data_t * const data, const uint8_t bin_value) in kvz_cabac_encode_bin_trm() argument
207 if(bin_value) { in kvz_cabac_encode_bin_trm()
228 void kvz_cabac_encode_bin_ep(cabac_data_t * const data, const uint32_t bin_value) in kvz_cabac_encode_bin_ep() argument
231 if (bin_value) { in kvz_cabac_encode_bin_ep()
/dports/science/gromacs/gromacs-2021.4/python_packaging/sample_restraint/src/cpp/
H A Densemblepotential.cpp82 double bin_value{ 0 }; in operator ()() local
88 bin_value += normalization * exp(numerator * denominator); in operator ()()
90 grid->at(i) = bin_value; in operator ()()
/dports/security/py-pycryptodome/pycryptodome-3.10.1/lib/Crypto/SelfTest/Hash/
H A Dtest_BLAKE2.py281 bin_value = unhexlify(tobytes(res.group(1)))
283 bin_value = b""
285 input_data = bin_value
288 key = bin_value
291 result = bin_value
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/lib/Crypto/SelfTest/Hash/
H A Dtest_BLAKE2.py281 bin_value = unhexlify(tobytes(res.group(1)))
283 bin_value = b""
285 input_data = bin_value
288 key = bin_value
291 result = bin_value
/dports/math/py-or-tools/or-tools-9.2/examples/notebook/linear_solver/
H A Dmultiple_knapsack_mip.ipynb165 " bin_value = 0\n",
172 " bin_value += data['values'][i]\n",
174 " print(f'Packed bin value: {bin_value}\\n')\n",
/dports/math/py-or-tools/or-tools-9.2/examples/notebook/sat/
H A Dmultiple_knapsack_sat.ipynb163 " bin_value = 0\n",
170 " bin_value += data['values'][i]\n",
172 " print(f'Packed bin value: {bin_value}\\n')\n",
/dports/security/py-maec/python-maec-4.1.0.17/maec/analytics/
H A Ddistance.py255 bin_value = int(math.floor((numeric_value - min_list)/bucket_size))
256 if bin_value == n:
257 bin_value -= 1
258 bin_vector[bin_value] = 1

12