Home
last modified time | relevance | path

Searched refs:bytes_num (Results 1 – 25 of 56) sorted by relevance

123

/dports/security/liboqs/liboqs-0.7.0/src/kem/bike/additional_r3/
H A Dutilities.c70 const uint32_t bytes_num =
82 ? last_bytes[bytes_num - 1]
83 : last_bytes[bytes_num - 1] & MASK(rem_bits % 8);
86 for(i = 0; (uint32_t)i < (bytes_num - 1); i++) {
96 for(i = sizeof(uint64_t) - 1; (uint32_t)i >= bytes_num; i--) {
/dports/security/s2n/s2n-tls-1.1.2/pq-crypto/bike_r1/
H A Dutilities.c74 const uint32_t bytes_num = ((rem_bits % 8) == 0) ? rem_bits / BITS_IN_BYTE in print_last_block() local
87 ? last_bytes[bytes_num - 1] in print_last_block()
88 : last_bytes[bytes_num - 1] & MASK(rem_bits % 8); in print_last_block()
92 for(i = 0; (uint32_t)i < (bytes_num - 1); i++) in print_last_block()
106 for(i = sizeof(uint64_t) - 1; (uint32_t)i >= bytes_num; i--) in print_last_block()
/dports/security/s2n/s2n-tls-1.1.2/pq-crypto/bike_r2/
H A Dutilities.c74 const uint32_t bytes_num = ((rem_bits % 8) == 0) ? rem_bits / BITS_IN_BYTE in print_last_block() local
87 ? last_bytes[bytes_num - 1] in print_last_block()
88 : last_bytes[bytes_num - 1] & MASK(rem_bits % 8); in print_last_block()
92 for(i = 0; (uint32_t)i < (bytes_num - 1); i++) in print_last_block()
106 for(i = sizeof(uint64_t) - 1; (uint32_t)i >= bytes_num; i--) in print_last_block()
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/poppler/cpp/
H A Dpoppler-image.cpp76 , bytes_num(0) in image_private()
101 d->bytes_num = bpr * height; in create_data()
102 d->data = reinterpret_cast<char *>(std::malloc(d->bytes_num)); in create_data()
124 d->bytes_num = bpr * height; in create_data()
437 std::memcpy(d->data, old_d->data, old_d->bytes_num); in detach()
H A Dpoppler-image-private.h41 int bytes_num; variable
/dports/graphics/poppler-qt5/poppler-21.12.0/cpp/
H A Dpoppler-image.cpp108 …ef(1), data(nullptr), width(iwidth), height(iheight), bytes_per_row(0), bytes_num(0), format(iform… in image_private()
129 d->bytes_num = bpr * height; in create_data()
130 d->data = reinterpret_cast<char *>(std::malloc(d->bytes_num)); in create_data()
152 d->bytes_num = bpr * height; in create_data()
509 std::memcpy(d->data, old_d->data, old_d->bytes_num); in detach()
H A Dpoppler-image-private.h44 int bytes_num; variable
/dports/graphics/poppler-glib/poppler-21.12.0/cpp/
H A Dpoppler-image.cpp108 …ef(1), data(nullptr), width(iwidth), height(iheight), bytes_per_row(0), bytes_num(0), format(iform… in image_private()
129 d->bytes_num = bpr * height; in create_data()
130 d->data = reinterpret_cast<char *>(std::malloc(d->bytes_num)); in create_data()
152 d->bytes_num = bpr * height; in create_data()
509 std::memcpy(d->data, old_d->data, old_d->bytes_num); in detach()
H A Dpoppler-image-private.h44 int bytes_num; variable
/dports/graphics/poppler/poppler-21.12.0/cpp/
H A Dpoppler-image.cpp108 …ef(1), data(nullptr), width(iwidth), height(iheight), bytes_per_row(0), bytes_num(0), format(iform… in image_private()
129 d->bytes_num = bpr * height; in create_data()
130 d->data = reinterpret_cast<char *>(std::malloc(d->bytes_num)); in create_data()
152 d->bytes_num = bpr * height; in create_data()
509 std::memcpy(d->data, old_d->data, old_d->bytes_num); in detach()
H A Dpoppler-image-private.h44 int bytes_num; variable
/dports/graphics/poppler-utils/poppler-21.12.0/cpp/
H A Dpoppler-image.cpp108 …ef(1), data(nullptr), width(iwidth), height(iheight), bytes_per_row(0), bytes_num(0), format(iform… in image_private()
129 d->bytes_num = bpr * height; in create_data()
130 d->data = reinterpret_cast<char *>(std::malloc(d->bytes_num)); in create_data()
152 d->bytes_num = bpr * height; in create_data()
509 std::memcpy(d->data, old_d->data, old_d->bytes_num); in detach()
H A Dpoppler-image-private.h44 int bytes_num; variable
/dports/www/flexget/Flexget-3.2.18/flexget/utils/
H A Dtools.py56 def convert_bytes(bytes_num: Union[int, float]) -> str:
59 bytes_num = float(bytes_num)
69 if bytes_num > threshold:
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/rocksdb/db/
H A Ddb_write_test.cc310 uint64_t bytes_num = options.statistics->getTickerCount(rocksdb::Tickers::WAL_FILE_BYTES); in TEST_P() local
312 ASSERT_LE(bytes_num, 1024 * 100); in TEST_P()
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/rocksdb/rocksdb/db/
H A Ddb_write_test.cc312 uint64_t bytes_num = options.statistics->getTickerCount( in TEST_P() local
315 ASSERT_LE(bytes_num, 1024 * 100); in TEST_P()
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/rocksdb/rocksdb/db/
H A Ddb_write_test.cc312 uint64_t bytes_num = options.statistics->getTickerCount( in TEST_P() local
315 ASSERT_LE(bytes_num, 1024 * 100); in TEST_P()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/db/
H A Ddb_write_test.cc312 uint64_t bytes_num = options.statistics->getTickerCount( in TEST_P() local
315 ASSERT_LE(bytes_num, 1024 * 100); in TEST_P()
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/rocksdb/rocksdb/db/
H A Ddb_write_test.cc312 uint64_t bytes_num = options.statistics->getTickerCount(
315 ASSERT_LE(bytes_num, 1024 * 100);
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/rocksdb/rocksdb/db/
H A Ddb_write_test.cc312 uint64_t bytes_num = options.statistics->getTickerCount( in TEST_P() local
315 ASSERT_LE(bytes_num, 1024 * 100); in TEST_P()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/rocksdb/rocksdb/db/
H A Ddb_write_test.cc312 uint64_t bytes_num = options.statistics->getTickerCount( in TEST_P() local
315 ASSERT_LE(bytes_num, 1024 * 100); in TEST_P()
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxdbhigh/
H A Ddb.c3484 field->bytes_num = 4000; in zbx_db_mock_field_init()
3487 field->bytes_num = -1; in zbx_db_mock_field_init()
3495 field->bytes_num = 0; in zbx_db_mock_field_init()
3514 int bytes_num, chars_num; in zbx_db_mock_field_append() local
3516 if (-1 != field->bytes_num) in zbx_db_mock_field_append()
3518 bytes_num = strlen(text); in zbx_db_mock_field_append()
3519 if (bytes_num > field->bytes_num) in zbx_db_mock_field_append()
3523 bytes_num = 0; in zbx_db_mock_field_append()
3534 field->bytes_num -= bytes_num; in zbx_db_mock_field_append()
/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxdbhigh/
H A Ddb.c3484 field->bytes_num = 4000; in zbx_db_mock_field_init()
3487 field->bytes_num = -1; in zbx_db_mock_field_init()
3495 field->bytes_num = 0; in zbx_db_mock_field_init()
3514 int bytes_num, chars_num; in zbx_db_mock_field_append() local
3516 if (-1 != field->bytes_num) in zbx_db_mock_field_append()
3518 bytes_num = strlen(text); in zbx_db_mock_field_append()
3519 if (bytes_num > field->bytes_num) in zbx_db_mock_field_append()
3523 bytes_num = 0; in zbx_db_mock_field_append()
3534 field->bytes_num -= bytes_num; in zbx_db_mock_field_append()
/dports/net-mgmt/zabbix54-proxy/zabbix-5.4.9/src/libs/zbxdbhigh/
H A Ddb.c3656 field->bytes_num = 4000; in zbx_db_mock_field_init()
3659 field->bytes_num = -1; in zbx_db_mock_field_init()
3667 field->bytes_num = 0; in zbx_db_mock_field_init()
3686 int bytes_num, chars_num; in zbx_db_mock_field_append() local
3688 if (-1 != field->bytes_num) in zbx_db_mock_field_append()
3690 bytes_num = strlen(text); in zbx_db_mock_field_append()
3691 if (bytes_num > field->bytes_num) in zbx_db_mock_field_append()
3695 bytes_num = 0; in zbx_db_mock_field_append()
3706 field->bytes_num -= bytes_num; in zbx_db_mock_field_append()
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/libs/zbxdbhigh/
H A Ddb.c3656 field->bytes_num = 4000; in zbx_db_mock_field_init()
3659 field->bytes_num = -1; in zbx_db_mock_field_init()
3667 field->bytes_num = 0; in zbx_db_mock_field_init()
3686 int bytes_num, chars_num; in zbx_db_mock_field_append() local
3688 if (-1 != field->bytes_num) in zbx_db_mock_field_append()
3690 bytes_num = strlen(text); in zbx_db_mock_field_append()
3691 if (bytes_num > field->bytes_num) in zbx_db_mock_field_append()
3695 bytes_num = 0; in zbx_db_mock_field_append()
3706 field->bytes_num -= bytes_num; in zbx_db_mock_field_append()

123