/external/libdrm/amdgpu/ |
D | handle_table.c | 34 if (key >= table->max_key) { in handle_table_insert() 36 uint32_t max_key = ALIGN(key + 1, alignment); in handle_table_insert() local 39 values = realloc(table->values, max_key * sizeof(void *)); in handle_table_insert() 43 memset(values + table->max_key, 0, (max_key - table->max_key) * in handle_table_insert() 46 table->max_key = max_key; in handle_table_insert() 55 if (key < table->max_key) in handle_table_remove() 61 if (key < table->max_key) in handle_table_lookup() 70 table->max_key = 0; in handle_table_fini()
|
D | handle_table.h | 31 uint32_t max_key; member
|
D | amdgpu_bo.c | 549 for (i = 0; i < dev->bo_handles.max_key; i++) { in amdgpu_find_bo_by_cpu_mapping() 558 if (i < dev->bo_handles.max_key) { in amdgpu_find_bo_by_cpu_mapping()
|
/external/ltp/testcases/kernel/syscalls/add_key/ |
D | add_key05.c | 64 static inline void parse_proc_key_users(int *used_key, int *max_key, int *used_bytes, int *max_byte… in parse_proc_key_users() argument 74 if (max_key) in parse_proc_key_users() 75 *max_key = val[1]; in parse_proc_key_users() 146 int i, used_key, max_key; in verify_max_keys() local 150 parse_proc_key_users(&used_key, &max_key, NULL, NULL); in verify_max_keys() 152 for (i = used_key + 1; i <= max_key; i++) { in verify_max_keys() 172 parse_proc_key_users(&used_key, &max_key, NULL, NULL); in verify_max_keys() 173 if (used_key == max_key) in verify_max_keys() 174 tst_res(TPASS, "allow reaching the max key(%u) exactly", max_key); in verify_max_keys() 176 tst_res(TFAIL, "max used key %u, key allow max key %u", used_key, max_key); in verify_max_keys()
|
/external/rust/android-crates-io/crates/itertools/src/ |
D | minmax.rs | 54 let (mut min, mut max, mut min_key, mut max_key) = match it.next() { in minmax_impl() 85 } else if !lt(&first, &max, &first_key, &max_key) { in minmax_impl() 99 if !lt(&second, &max, &second_key, &max_key) { in minmax_impl() 101 max_key = second_key; in minmax_impl() 108 if !lt(&first, &max, &first_key, &max_key) { in minmax_impl() 110 max_key = first_key; in minmax_impl()
|
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/ |
D | minmax.rs | 55 let (mut min, mut max, mut min_key, mut max_key) = match it.next() { in minmax_impl() 84 } else if !lt(&first, &max, &first_key, &max_key) { in minmax_impl() 98 if !lt(&second, &max, &second_key, &max_key) { in minmax_impl() 100 max_key = second_key; in minmax_impl() 107 if !lt(&first, &max, &first_key, &max_key) { in minmax_impl() 109 max_key = first_key; in minmax_impl()
|
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/ |
D | minmax.rs | 55 let (mut min, mut max, mut min_key, mut max_key) = match it.next() { in minmax_impl() 84 } else if !lt(&first, &max, &first_key, &max_key) { in minmax_impl() 98 if !lt(&second, &max, &second_key, &max_key) { in minmax_impl() 100 max_key = second_key; in minmax_impl() 107 if !lt(&first, &max, &first_key, &max_key) { in minmax_impl() 109 max_key = first_key; in minmax_impl()
|
/external/federated-compute/fcp/tensorflow/ |
D | serve_slices.py | 36 def serve_slices(callback_token, server_val, max_key, select_fn_initialize_op, argument 84 max_key=tf.convert_to_tensor(max_key, dtype=tf.int32),
|
D | serve_slices_op.cc | 139 int32_t max_key; in Compute() local 140 OP_REQUIRES_OK(context, get_scalar_input(context, "max_key", &max_key)); in Compute() 174 (**callback)(callback_token, std::move(server_val), max_key, in Compute()
|
D | make_serve_slices_test_graph.py | 47 max_key=MAX_KEY,
|
/external/pytorch/aten/src/ATen/cuda/ |
D | cub.h | 13 inline int get_num_bits(uint64_t max_key) { in get_num_bits() argument 15 while (max_key > 1) { in get_num_bits() 16 max_key >>= 1; in get_num_bits()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_loop.c | 145 const int max_key = 12; in check_stack() local 157 for (key = 1; key <= max_key; ++key) { in check_stack() 167 for (key = 1; key <= max_key; ++key) { in check_stack()
|
/external/federated-compute/fcp/tensorflow/python/ |
D | serve_slices_registry.cc | 86 std::vector<tensorflow::Tensor> server_val, int32_t max_key, in enter() 96 max_key, std::move(select_fn_initialize_op), in enter()
|
D | serve_slices_registry_test.py | 45 max_key=MAX_KEY,
|
/external/federated-compute/fcp/demo/ |
D | plan_utils.py | 145 max_key: int, 155 for i in range(0, max_key + 1):
|
D | plan_utils_test.py | 122 max_key=NUM_SLICES - 1,
|
/external/zucchini/ |
D | suffix_array_unittest.cc | 118 uint16_t max_key) { in BucketCount() argument 120 return SaisImpl::MakeBucketCount(str.begin(), str.size(), max_key); in BucketCount()
|
/external/pytorch/test/quantization/fx/ |
D | test_model_report_fx.py | 1422 max_key = InputWeightEqualizationDetector.ACTIVATION_PREFIX 1423 max_key += InputWeightEqualizationDetector.GLOBAL_MAX_KEY 1427 global_max = block_1_lin_recs[max_key] 1450 max_key = InputWeightEqualizationDetector.WEIGHT_PREFIX 1451 max_key += InputWeightEqualizationDetector.GLOBAL_MAX_KEY 1454 global_max = block_1_lin_recs[max_key]
|
/external/rust/android-crates-io/crates/pdl-compiler/src/ |
D | ast.rs | 224 pub max_key: usize, field 382 max_key: 0, in new()
|
D | parser.rs | 637 file.max_key = context.key.get(); in parse_toplevel()
|
D | analyzer.rs | 1712 max_key: file.max_key, in inline_groups()
|
/external/rust/android-crates-io/crates/rayon/src/iter/ |
D | mod.rs | 1612 fn max_key<T, K: Ord>(a: (K, T), b: (K, T)) -> (K, T) { in max_by_key() function 1619 let (_, x) = self.map(key(f)).reduce_with(max_key)?; in max_by_key()
|
/external/python/asn1crypto/asn1crypto/ |
D | core.py | 2293 max_key = len(new_native) - 1 2294 if key > max_key: 2295 new_native.extend([0] * (key - max_key))
|