MCPcopy Create free account

hub / github.com/aio-libs/multidict / functions

Functions2,179 in github.com/aio-libs/multidict

↓ 3 callersFunctionmd_shell_alloc
Out of line: GCC otherwise copies it into every constructor. */
multidict/_multilib/dict.h:116
↓ 3 callersFunctionmd_to_anystr
Moves md to a KIND_ANYSTR table of the same size, for a key that does not fit a compact one (see md_key_fits()). Every entry keeps its index, so
multidict/_multilib/hashtable.h:1053
↓ 3 callersFunctionmd_walk_with_hash
Calls `visitor` once for every entry whose identity is `identity`, in insertion order; `hash` is that identity's hash. Returns how many entries
multidict/_multilib/walk.h:189
↓ 3 callersFunctionmultidict_itemsview_new
multidict/_multilib/views.h:268
↓ 3 callersFunctionmultidict_proxy_target
The multidict a proxy of the given class wraps for arg; NULL without an exception if arg is neither such a multidict nor a proxy of one. */
multidict/_multilib/dict.h:63
↓ 3 callersMethodnew
(cls, log2_size: int, entries: list[_Entry[_V] | None])
multidict/_multidict_py.py:741
↓ 3 callersFunctionpool_init
`capacity` is clamped rather than asserted: it is a tuning knob, and a caller asking for more than the array holds wants "as deep as possible",
multidict/_multilib/freelist.h:74
↓ 3 callersMethodpopall
(self, key: str)
multidict/_multidict_py.py:1326
↓ 3 callersMethodpopone
(self, key: str)
multidict/_multidict_py.py:1297
↓ 3 callersFunctionreflist_push2
reflist_push() for a key and a value at once; both are stolen and must not be NULL. On failure each one that did not fit is decref'd. */
multidict/_multilib/reflist.h:113
↓ 3 callersFunctionresize
(entry: int)
tests/test_multidict.py:1894
↓ 3 callersFunctionrun
(cmd, **kwargs)
tools/check_inlining.py:303
↓ 3 callersFunctionrun
(mod: Any)
tests/test_table_kinds.py:95
↓ 3 callersFunctionsame_indentation
(group)
tools/upgrade_pythoncapi.py:54
↓ 3 callersFunctionset_member_regex
(member)
tools/upgrade_pythoncapi.py:80
↓ 3 callersMethodsetdefault
( self: "MultiDict[_T | None]", key: str, default: None = None )
multidict/_multidict_py.py:1276
↓ 3 callersFunctionstore_keys
Pairs with _md_reader_enter()'s atomic_load_ptr(). A plain store would race it, and on weak memory models would carry no ordering against the nu
multidict/_multilib/freethreading.h:80
↓ 3 callersFunctionstr_cmp
multidict/_multilib/str_cmp.h:16
↓ 3 callersFunctionupdate_marks_moved
md got a new table
multidict/_multilib/update_marks.h:170
↓ 3 callersMethodwalk
(self, paths)
tools/upgrade_pythoncapi.py:654
↓ 2 callersFunctionMultiDict_Unwatch
multidict/multidict_capi.h:274
↓ 2 callersFunctionPyBytesWriter_FinishWithSize
multidict/_multilib/pythoncapi_compat.h:2649
↓ 2 callersFunctionPyBytesWriter_Grow
multidict/_multilib/pythoncapi_compat.h:2710
↓ 2 callersFunctionPyDict_GetItemRef
multidict/_multilib/pythoncapi_compat.h:862
↓ 2 callersFunctionPyLong_AsInt
multidict/_multilib/pythoncapi_compat.h:941
↓ 2 callersFunctionPyModule_AddObjectRef
multidict/_multilib/pythoncapi_compat.h:419
↓ 2 callersFunctionPyObject_CallNoArgs
multidict/_multilib/pythoncapi_compat.h:399
↓ 2 callersFunctionPyObject_GC_IsTracked
multidict/_multilib/pythoncapi_compat.h:494
↓ 2 callersFunctionPyObject_GetOptionalAttr
multidict/_multilib/pythoncapi_compat.h:743
↓ 2 callersFunctionPyUnicodeWriter_Discard
multidict/_multilib/pythoncapi_compat.h:1393
↓ 2 callersFunctionPyUnicodeWriter_WriteChar
multidict/_multilib/pythoncapi_compat.h:1432
↓ 2 callersFunctionPyUnicodeWriter_WriteStr
multidict/_multilib/pythoncapi_compat.h:1444
↓ 2 callersFunctionPyUnstable_Object_IsUniquelyReferenced
multidict/_multilib/pythoncapi_compat.h:2354
↓ 2 callersFunction_MultiDict_CheckAPIVersion
multidict/multidict_capi.h:10
↓ 2 callersFunction_PyBytesWriter_GetAllocated
multidict/_multilib/pythoncapi_compat.h:2535
↓ 2 callersFunction_PyLong_DigitCount
multidict/_multilib/pythoncapi_compat.h:1890
↓ 2 callersFunction_PyLong_SetSignAndDigitCount
Helpers to access PyLongObject internals.
multidict/_multilib/pythoncapi_compat.h:1878
↓ 2 callersMethod__delitem__
(self, key: str)
multidict/_multidict_py.py:1258
↓ 2 callersMethod__init__
(self, token: Token)
tests/test_mutable_multidict.py:1416
↓ 2 callersMethod__str__
(self)
tests/test_multidict.py:4069
↓ 2 callersFunction_apply_mutation
(md: MutableMultiMapping[object], mutation: _Mutation)
tests/test_hypothesis_iters.py:121
↓ 2 callersFunction_apply_mutation
(md: MutableMultiMapping[object], mutation: _Mutation)
tests/test_hypothesis_views.py:148
↓ 2 callersFunction_arg_to_key_ci
multidict/_multilib/identity.h:211
↓ 2 callersFunction_ascii_lower
Lowercase an all-ASCII string into a fresh exact str. str.lower() routes ASCII through ascii_upper_or_lower(), which is PyUnicode_New(len, 127)
multidict/_multilib/identity.h:105
↓ 2 callersFunction_bitmap_word
The word holding `i`, zeroed first if nothing has touched it yet, or NULL with an exception set if heap storage couldn't be allocated. */
multidict/_multilib/bitmap.h:175
↓ 2 callersFunction_capsule_free
multidict/_multilib/capsule.h:472
↓ 2 callersFunction_err_key_type_ci
multidict/_multilib/identity.h:30
↓ 2 callersFunction_err_key_type_cs
multidict/_multilib/identity.h:21
↓ 2 callersMethod_extend_items
(self, items: Iterable[_Entry[_V]])
multidict/_multidict_py.py:1215
↓ 2 callersFunction_htkeys_dispose
Frees a table no longer published, releasing the references its entries still hold: only md_clear()'s and _md_install_keys()'s tables have any,
multidict/_multilib/hashtable.h:97
↓ 2 callersFunction_htkeys_pool
NULL for a size class that isn't pooled. empty_htkeys never reaches here: it is never allocated, and every htkeys_free() call site guards on it.
multidict/_multilib/htkeys.h:110
↓ 2 callersFunction_istr_finish
Build the instance once str.__new__() has produced its value. */
multidict/_multilib/istr.h:118
↓ 2 callersFunction_istr_from_exact_str
multidict/_multilib/istr.h:38
↓ 2 callersFunction_istr_from_object
Anything but an exact str: a str subclass goes through its own __str__(), as istr(x) does through str.__new__(). */
multidict/_multilib/istr.h:105
↓ 2 callersFunction_itemsview_missing
The items of `other` the view has no equal pair for, added to the view's own if `with_self`: `view | other`, or `other - view`. */
multidict/_multilib/views.h:485
↓ 2 callersFunction_itemsview_unmatched
The view's pairs that `other` has no equal item for, added to other's own if `with_other`: `other | view`, or `view - other`. */
multidict/_multilib/views.h:559
↓ 2 callersMethod_iter
(self, version: int, reverse: bool = False)
multidict/_multidict_py.py:261
↓ 2 callersMethod_iter
(self, version: int, reverse: bool = False)
multidict/_multidict_py.py:456
↓ 2 callersMethod_iter
(self, version: int, reverse: bool = False)
multidict/_multidict_py.py:503
↓ 2 callersFunction_join_while_progressing
Join `threads`, failing once a live one has not advanced its own `progress` slot for `stall` seconds. A fixed timeout also fails a build that
tests/test_multidict.py:3372
↓ 2 callersFunction_keysview_filter
`&`, or `-` if `subtract`. `view & other` and `view - other` go by the view's own keys, `other & view` and `other - view` by other's. */
multidict/_multilib/views.h:862
↓ 2 callersFunction_keysview_has
multidict/_multilib/views.h:854
↓ 2 callersFunction_md_add_stored
Stores the new entry once md's table has room for it: all an add does after its last chance to fail. */
multidict/_multilib/hashtable.h:1162
↓ 2 callersFunction_md_add_watcher
multidict/_testcapi.c:578
↓ 2 callersFunction_md_contains_identity
multidict/_multilib/hashtable.h:1788
↓ 2 callersFunction_md_contains_locked
multidict/_multilib/hashtable.h:1593
↓ 2 callersFunction_md_del_at_held_anystr
The same for a KIND_ANYSTR table. */
multidict/_multilib/hashtable.h:1430
↓ 2 callersFunction_md_del_at_held_compact
Deletes the entry at `slot` of a KIND_COMPACT table, handing the key and value to `removed`. Not through _md_unlink_at_compact(), which costs del
multidict/_multilib/hashtable.h:1415
↓ 2 callersFunction_md_entries_capacity
multidict/_multilib/update_marks.h:60
↓ 2 callersFunction_md_extend_key_slot
a str subclass's own __eq__ can make two keys equal
multidict/_multilib/bulk_update.h:579
↓ 2 callersFunction_md_extend_own
md_extend_from_ht()'s visitors, `user_data` being md: one for a multidict of md's class, whose identities and hashes are md's own, and one with
multidict/_multilib/bulk_update.h:588
↓ 2 callersFunction_md_grow_for_add
_md_rebuild() for an add of a key that fits a compact table or not: one that does not moves md to KIND_ANYSTR in the same rebuild. A table with
multidict/_multilib/hashtable.h:704
↓ 2 callersFunction_md_lockfree_find
multidict/_multilib/hashtable.h:1744
↓ 2 callersFunction_md_lockfree_get
The caller is a registered reader of keys.
multidict/_multilib/hashtable.h:1892
↓ 2 callersFunction_md_new
multidict/_multilib/capsule.h:115
↓ 2 callersFunction_md_pool_for
Shells for the exact MultiDict, CIMultiDict and proxy types come from a module-state pool. Only those: a subclass has its own basicsize, and pos
multidict/_multilib/dict.h:103
↓ 2 callersFunction_md_publish_compacted_anystr
The same for a KIND_ANYSTR table. */
multidict/_multilib/hashtable.h:586
↓ 2 callersFunction_md_rebuild
multidict/_multilib/hashtable.h:599
↓ 2 callersFunction_md_rebuild_to_anystr
md_reserve() into a KIND_ANYSTR table: grows and moves a compact table in one rebuild, where md_reserve() and then md_to_anystr() would copy it
multidict/_multilib/hashtable.h:671
↓ 2 callersFunction_md_replace_dups_prepare
Later matches of a replaced key are rare, so their reflist lives on the heap: in the caller's frame it cost every d[key] = v. The watcher hears
multidict/_multilib/hashtable.h:2524
↓ 2 callersFunction_md_seq_walk
The one loop over a sequence's pairs: an update() or merge() with `st`, an extend() of md without. */
multidict/_multilib/bulk_update.h:964
↓ 2 callersFunction_md_single_value_list
The getall() of a single value, whose reference it steals.
multidict/_multilib/hashtable.h:2195
↓ 2 callersFunction_md_store_new_entry
Stores a new entry at the end of md's table, which _md_prepare_add() has readied for it, past every live one. Until HTKEYS_PUBLISH_INDEX() no lo
multidict/_multilib/hashtable.h:1127
↓ 2 callersFunction_md_to_dict_store
Stores `lst`, the values of `entry`'s key, under that key; steals `lst`. Both calls below can run a str subclass's own __hash__, __eq__ or __del
multidict/_multilib/to_dict.h:48
↓ 2 callersFunction_md_values_to_list
The result of getall() or popall(): 1 with the collected values as a list in *ret, 0 if there are none, -1 on error or if the walk failed. */
multidict/_multilib/hashtable.h:2180
↓ 2 callersFunction_md_watch_call
Callbacks run here: after the operation finished, outside every lock. */
multidict/_multilib/watch.h:129
↓ 2 callersFunction_model_update
( pairs: Iterable[tuple[str, int]], new_pairs: Iterable[tuple[str, int]] )
tests/test_update_marks.py:13
↓ 2 callersFunction_multidict_check_watcher_id
The generation is read under the same lock as the callback check, so a watch never pairs one registration's ID with another's generation. */
multidict/_multilib/capsule.h:389
↓ 2 callersFunction_multidict_collect_matches
Collect every (key, value) pair matching `identity` into a fresh list, so that callers can run a custom __eq__ against it after the walk. `with
multidict/_multilib/views.h:365
↓ 2 callersFunction_multidict_init_kind
The kind a table pre-sized for `arg` and `nkwargs` keyword arguments starts with: from the first key it will get, borrowed without running any c
multidict/_multidict.c:154
↓ 2 callersFunction_multidict_pop
Tail-called by pop() and popone(). */
multidict/_multidict.c:903
↓ 2 callersFunction_multidict_proxy_init
Tail-called by both proxy classes' __init__(). */
multidict/_multidict.c:1259
↓ 2 callersFunction_multidict_proxy_new
Takes the target too, so that a proxy built by __new__() alone, without __init__(), never forwards to a NULL multidict. A subclass that overrides
multidict/_multidict.c:1288
↓ 2 callersFunction_multidict_proxy_set_target
multidict/_multidict.c:1231
↓ 2 callersFunction_pairs_with_an_equal_str_subclass_key
( subclass_first: bool, )
tests/test_keys_dedup.py:345
↓ 2 callersMethod_patch
(self, content)
tools/upgrade_pythoncapi.py:579
↓ 2 callersFunction_proxy_new
multidict/_multilib/capsule.h:144
↓ 2 callersFunction_read_second
( cls: _MD_Classes, source: MutableMultiMapping[object], op: _ReadOp )
tests/test_hypothesis_concurrency.py:153
↓ 2 callersFunction_reflist_clear_spilled
multidict/_multilib/reflist.h:178
↓ 2 callersFunction_removed_pairs_add
multidict/_multilib/hashtable.h:1401
← previousnext →201–300 of 2,179, ranked by callers