Home
last modified time | relevance | path

Searched refs:key_func (Results 1 – 25 of 222) sorted by relevance

123456789

/dports/ftp/pavuk/pavuk-0.9.35/src/
H A Ddlhash.c14 dlhash *dlhash_new(unsigned int size, dlkey_func key_func, in dlhash_new() argument
21 retv->key_func = key_func; in dlhash_new()
67 key = hash->key_func(key_data); in dlhash_insert()
82 key1 = hash->key_func(key_data); in dlhash_remove()
88 key2 = hash->key_func(ptr->data); in dlhash_remove()
117 key1 = hash->key_func(key_data); in dlhash_exclude()
123 key2 = hash->key_func(ptr->data); in dlhash_exclude()
150 key = hash->key_func(key_data); in dlhash_get_class()
165 key = hash->key_func(key_data); in dlhash_exclude_exact()
188 key2 = hash->key_func(ptr->data); in dlhash_find_by_key()
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/datafrog/src/
H A Dtreefrog.rs244 key_func: Func, in extend_with()
252 key_func: Func, in extend_anti()
260 key_func: Func, in filter_with()
268 key_func: Func, in filter_anti()
278 key_func: Func, in extend_with()
288 key_func: Func, in extend_anti()
298 key_func: Func, in filter_with()
308 key_func: Func, in filter_anti()
333 key_func: Func, field
421 key_func: Func, field
[all …]
/dports/devel/py-funcy/funcy-1.15/funcy/
H A Dcalc.py27 key_func = kwargs.pop('key_func', None)
38 key = key_func(*args, **kwargs) if key_func else \
100 def cache(timeout, key_func=None): argument
105 if key_func is None:
106 key_func = lambda *a, **kw: a + tuple(sorted(kw.items())) if kw else a function
113 key = key_func(*args, **kwargs)
126 cache.pop(key_func(*args, **kwargs), None)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/tools/binary_size/libsupersize/
H A Ddiff.py59 def _MatchSymbols(before, after, key_func, padding_by_section_name): argument
60 logging.debug('%s: Building symbol index', key_func.__name__)
63 before_symbols_by_key[key_func(s)].append(s)
65 logging.debug('%s: Creating delta symbols', key_func.__name__)
69 key = key_func(after_sym)
81 logging.debug('%s: Matched %d of %d symbols', key_func.__name__,
99 for key_func in (_Key2, _Key3, _Key4):
101 before, after, key_func, padding_by_section_name)
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/binary_size/libsupersize/
H A Ddiff.py61 def _MatchSymbols(before, after, key_func, padding_by_segment): argument
62 logging.debug('%s: Building symbol index', key_func.__name__)
65 before_symbols_by_key[key_func(s)].append(s)
67 logging.debug('%s: Creating delta symbols', key_func.__name__)
71 key = key_func(after_sym)
84 logging.debug('%s: Matched %d of %d symbols', key_func.__name__,
103 for key_func in (_Key2, _Key3, _Key4):
104 delta_syms, before, after = _MatchSymbols(before, after, key_func,
/dports/games/tuxracer/tuxracer-0.61/src/
H A Dkeyboard.c36 char *keys, key_func_t key_func, key_cb_t key_cb ) in add_keymap_entry() argument
45 keymap[ num_keymap_entries ].key_func = key_func; in add_keymap_entry()
120 check_assertion( keymap[i].key_func != NULL, in init_keytable()
123 keys = keymap[i].key_func(); in init_keytable()
H A Dkeyboard.h44 key_func_t key_func; member
58 char *keys, key_func_t key_func, key_cb_t key_cb );
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dmeasure_util.py60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str
81 return [PauliMeasurementGate([pauli_basis[q]], key=key_func(q)).on(q) for q in pauli_basis]
123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str
137 return [MeasurementGate(1, key_func(q), qid_shape=(q.dimension,)).on(q) for q in qubits]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/ops/
H A Dmeasure_util.py60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str
81 return [PauliMeasurementGate([pauli_basis[q]], key=key_func(q)).on(q) for q in pauli_basis]
123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str
137 return [MeasurementGate(1, key_func(q), qid_shape=(q.dimension,)).on(q) for q in qubits]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dmeasure_util.py60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str
81 return [PauliMeasurementGate([pauli_basis[q]], key=key_func(q)).on(q) for q in pauli_basis]
123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str
137 return [MeasurementGate(1, key_func(q), qid_shape=(q.dimension,)).on(q) for q in qubits]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dmeasure_util.py60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str
81 return [PauliMeasurementGate([pauli_basis[q]], key=key_func(q)).on(q) for q in pauli_basis]
123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str
137 return [MeasurementGate(1, key_func(q), qid_shape=(q.dimension,)).on(q) for q in qubits]
/dports/security/py-authlib/Authlib-0.15.5/authlib/jose/rfc7519/
H A Djwt.py91 key_func = prepare_raw_key(key, header)
92 if callable(key_func):
93 return key_func(header, payload)
94 return key_func
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/egl/openvg/trivial/
H A Deglcommon.h7 typedef int (*key_func)(unsigned key); typedef
19 key_func key);
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/egl/openvg/trivial/
H A Deglcommon.h7 typedef int (*key_func)(unsigned key); typedef
19 key_func key);
/dports/emulators/quasi88/quasi88-0.6.4/src/
H A Dkeyboard.c524 for (i=0; i<COUNTOF(key_func); i++) { key_func[i] = 0; } in clr_key_function()
527 key_func[ KEY88_SYS_STATUS ] = FN_STATUS; in clr_key_function()
528 key_func[ KEY88_SYS_MENU ] = FN_MENU; in clr_key_function()
534 key_func[ keycode ] = func_no; in set_key_function()
537 key_func[ KEY88_SYS_STATUS ] = FN_STATUS; in set_key_function()
538 key_func[ KEY88_SYS_MENU ] = FN_MENU; in set_key_function()
545 key_func[ keycode1 ] = key_func[ keycode2 ]; in swap_key_function()
546 key_func[ keycode2 ] = tmp; in swap_key_function()
1303 if (key_func[ code ]) { in quasi88_key()
1304 if (key_func[ code ] == FN_MENU) { in quasi88_key()
[all …]
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/ops/
H A Dmeasure_util.py70 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str
84 return [MeasurementGate(1, key_func(q), qid_shape=(q.dimension,)).on(q) for q in qubits]
/dports/devel/grpc/grpc-1.42.0/src/core/ext/filters/client_channel/
H A Dbackend_metric.cc34 upb_strview (*key_func)(const EntryType*), in ParseMap()
41 upb_strview key_view = key_func(entry); in ParseMap()
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/ext/filters/client_channel/
H A Dbackend_metric.cc34 upb_strview (*key_func)(const EntryType*), in ParseMap()
41 upb_strview key_view = key_func(entry); in ParseMap()
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/ext/filters/client_channel/
H A Dbackend_metric.cc34 upb_strview (*key_func)(const EntryType*), in ParseMap()
41 upb_strview key_view = key_func(entry); in ParseMap()
/dports/devel/grpc130/grpc-1.30.2/src/core/ext/filters/client_channel/
H A Dbackend_metric.cc35 upb_strview (*key_func)(const EntryType*), in ParseMap()
41 upb_strview key_view = key_func(entries[i]); in ParseMap()
/dports/devel/grpc134/grpc-1.34.1/src/core/ext/filters/client_channel/
H A Dbackend_metric.cc37 upb_strview (*key_func)(const EntryType*), in ParseMap()
44 upb_strview key_view = key_func(entry); in ParseMap()
/dports/x11/kitty/kitty-0.23.1/kittens/diff/options/
H A Dutils.py8 from kitty.conf.utils import KittensKeyDefinition, key_func, parse_kittens_key
10 func_with_args, args_funcs = key_func()
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/experiments/
H A Dsingle_qubit_readout_calibration.py101 zeros_circuit = circuits.Circuit(ops.measure_each(*qubits, key_func=repr))
103 ops.X.on_each(*qubits), ops.measure_each(*qubits, key_func=repr)
/dports/devel/py-jedi/jedi-0.18.0/jedi/
H A Dcache.py56 def _temp(key_func): argument
61 generator = key_func(*args, **kwargs)
/dports/misc/py-gluoncv/gluon-cv-0.9.0/scripts/datasets/
H A Ducf101.py201 def parse_directory(path, key_func=lambda x: x[-11:], argument
226 k = key_func(f)
274 def key_func(x): return '/'.join(x.split('/')[-2:]) function
276 def key_func(x): return x.split('/')[-1] function
280 key_func=key_func,

123456789