Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/multidict
/ functions
Functions
2,179 in github.com/aio-libs/multidict
⨍
Functions
2,179
◇
Types & classes
153
↳
Endpoints
27
↓ 4 callers
Function
PyVectorcall_NARGS
multidict/_multilib/pythoncapi_compat.h:641
↓ 4 callers
Method
__contains__
(self, key: object)
multidict/_multidict_py.py:483
↓ 4 callers
Method
__setitem__
(self, key: str, value: _V)
multidict/_multidict_py.py:1230
↓ 4 callers
Method
__sizeof__
(self)
multidict/_multidict_py.py:1092
↓ 4 callers
Function
_big_pairs
()
tests/test_update_marks.py:48
↓ 4 callers
Function
_bitmap_nwords
multidict/_multilib/bitmap.h:72
↓ 4 callers
Function
_bitmap_word_ready
multidict/_multilib/bitmap.h:138
↓ 4 callers
Method
_del_at
(self, slot: int, idx: int)
multidict/_multidict_py.py:1530
↓ 4 callers
Function
_fold_for
(any_multidict_class_name: str)
tests/test_hypothesis_views.py:28
↓ 4 callers
Function
_htkeys_entry_size
multidict/_multilib/htkeys.h:225
↓ 4 callers
Method
_key
(self, key: str)
multidict/_multidict_py.py:649
↓ 4 callers
Function
_md_extend_item
One extend() item from a source that hands over `key` and `value`, which go to md or are released. */
multidict/_multilib/bulk_update.h:544
↓ 4 callers
Function
_md_publish_rebuilt
Publishes a rebuilt table: the old one's entries have all moved over. A set maybe_dups is checked again, since deletions may have left it stale.
multidict/_multilib/hashtable.h:440
↓ 4 callers
Function
_multidict_bulk
__init__() when `reinit`, else extend(), update() or merge() by `op`. */
multidict/_multidict.c:724
↓ 4 callers
Function
_multidict_default_or_raise
The missing-key result of getall(), getone(), popone(), pop() and popall().
multidict/_multidict.c:371
↓ 4 callers
Function
_multidict_itemsview_parse_item
multidict/_multilib/views.h:286
↓ 4 callers
Method
_reserve
(self, extra: int)
multidict/_multidict_py.py:1492
↓ 4 callers
Function
assign_regex_str
(var, expr)
tools/upgrade_pythoncapi.py:75
↓ 4 callers
Function
bitmap_release
Safe to call more than once, and on a bitmap whose init never ran, provided `summary` was set to NULL up front. */
multidict/_multilib/bitmap.h:128
↓ 4 callers
Function
bitmap_test
multidict/_multilib/bitmap.h:230
↓ 4 callers
Function
get_mod_state
multidict/_multilib/state.h:79
↓ 4 callers
Function
htkeys_resume_slots_bytes
resume_slots[i] is 0 or 1 + the last slot used by a probe that reached slot i with perturb == 0. From there the probe sequence only depends on the
multidict/_multilib/htkeys.h:533
↓ 4 callers
Function
htkeys_size_fits
Whether _htkeys_alloc_size(log2_size) can be computed without a shift past the width of size_t or a sum past PY_SSIZE_T_MAX. */
multidict/_multilib/htkeys.h:578
↓ 4 callers
Function
items
()
tests/test_update.py:233
↓ 4 callers
Method
iter_first_entries
(self, reverse: bool = False)
multidict/_multidict_py.py:883
↓ 4 callers
Method
log
(self, msg='')
tools/upgrade_pythoncapi.py:516
↓ 4 callers
Function
make
(mod: Any)
tests/test_table_kinds.py:57
↓ 4 callers
Function
md_contains
multidict/_multilib/hashtable.h:1823
↓ 4 callers
Function
md_get_one
multidict/_multilib/hashtable.h:1978
↓ 4 callers
Function
md_init
multidict/_multilib/hashtable.h:767
↓ 4 callers
Function
md_reserve
multidict/_multilib/hashtable.h:640
↓ 4 callers
Function
md_shell_new
A MultiDictObject shell with its state set and its strong reference to state->mod taken, which keeps `state` addressable through teardown; see m
multidict/_multilib/dict.h:148
↓ 4 callers
Function
multidict_keys_iter_new
multidict/_multilib/iter.h:177
↓ 4 callers
Function
pool_pop
A block, or NULL for the caller to allocate one. */
multidict/_multilib/freelist.h:83
↓ 4 callers
Function
pool_push
True once `block` is parked, false to leave the caller to free it. */
multidict/_multilib/freelist.h:93
↓ 4 callers
Function
reflist_push
Steals the reference: takes ownership of `obj` until the list is drained. `obj` may be NULL (a no-op). On the (exceedingly unlikely -- it takes
multidict/_multilib/reflist.h:83
↓ 4 callers
Function
reset_value
See reset_identity(). */
multidict/_multilib/freethreading.h:225
↓ 4 callers
Function
run
(cmd, text=True, **kwargs)
tools/codegen_diff.py:107
↓ 4 callers
Function
update_marks_sync
Makes room in the marks for every index md's table has, after md got a new one. */
multidict/_multilib/update_marks.h:160
↓ 4 callers
Function
watchlog_init
multidict/_multilib/watchlog.h:50
↓ 3 callers
Function
IStr_New
multidict/_multilib/istr.h:280
↓ 3 callers
Function
MultiDict_Add
multidict/multidict_capi.h:206
↓ 3 callers
Function
MultiDict_ForEach
multidict/multidict_capi.h:247
↓ 3 callers
Function
MultiDict_Watch
multidict/multidict_capi.h:267
↓ 3 callers
Function
PyBytesWriter_Discard
multidict/_multilib/pythoncapi_compat.h:2611
↓ 3 callers
Function
PyBytesWriter_GetData
multidict/_multilib/pythoncapi_compat.h:2594
↓ 3 callers
Function
PyMapping_GetOptionalItem
multidict/_multilib/pythoncapi_compat.h:784
↓ 3 callers
Function
_PyBytesWriter_Resize_impl
multidict/_multilib/pythoncapi_compat.h:2547
↓ 3 callers
Function
_PyLong_GetDigits
multidict/_multilib/pythoncapi_compat.h:1900
↓ 3 callers
Function
_ascii_has_upper
True if s[0:len] holds an ASCII uppercase byte. */
multidict/_multilib/identity.h:73
↓ 3 callers
Method
_find_empty_slot_resume
(self, start: int)
multidict/_multidict_py.py:830
↓ 3 callers
Function
_htkeys_alloc_size
Everything about the allocation follows from log2_size, which is what lets a pooled block be reused for any table of its own size class, and let
multidict/_multilib/htkeys.h:566
↓ 3 callers
Function
_htkeys_log2_index_bytes
Width of an index slot, see the indices[] comment above. */
multidict/_multilib/htkeys.h:546
↓ 3 callers
Function
_init_iter
Out of line: GCC otherwise copies it, critical section and all, into every iterator constructor. */
multidict/_multilib/iter.h:38
↓ 3 callers
Function
_items
(md: Any)
tests/test_table_kinds.py:32
↓ 3 callers
Function
_itemsview_has
Whether md has `value` under `identity`: 1, 0, or -1 on error. The matches are materialized before PyObject_RichCompareBool() runs: a custom __
multidict/_multilib/views.h:386
↓ 3 callers
Function
_iter_next_entry
Finds the next live entry in the iterator's direction and moves past it. Returns 1 with *pentry set, 0 at the end, or -1 with RuntimeError set if
multidict/_multilib/iter.h:55
↓ 3 callers
Function
_key_to_identity_cs
multidict/_multilib/identity.h:39
↓ 3 callers
Function
_md_add_needs_new_table
Whether md's table must change before an add: it is full, or it is compact and the key does not fit. */
multidict/_multilib/hashtable.h:1093
↓ 3 callers
Function
_md_drain_retired
Every reader that brings num_active_readers back to zero drains, which without a second thread is every lookup, and the list is almost always em
multidict/_multilib/hashtable.h:325
↓ 3 callers
Function
_md_extend_slot
MD_SLOT_FIND if distinct exact str keys stay unique in md: it is an empty MultiDict. */
multidict/_multilib/bulk_update.h:572
↓ 3 callers
Function
_md_get_one_locked
multidict/_multilib/hashtable.h:1865
↓ 3 callers
Function
_md_install_keys
Publishes md's replacement table, then drops the one it replaced, which a fresh shell does not have. The drop comes last because its decrefs can
multidict/_multilib/hashtable.h:746
↓ 3 callers
Function
_md_new_keys_after_holes
A table for md's new contents while an update() or merge() is in flight: it starts with as many holes as md has entries now, so the new entries
multidict/_multilib/hashtable.h:518
↓ 3 callers
Function
_md_prepare_add
Makes room in md's table for one more entry, of a key that fits a compact table or not, in one rebuild where both are due. */
multidict/_multilib/hashtable.h:1103
↓ 3 callers
Function
_md_reader_enter
multidict/_multilib/hashtable.h:225
↓ 3 callers
Function
_md_reader_exit
Out of line: inlined, it costs FT lookups up to 10 Ir. */
multidict/_multilib/hashtable.h:240
↓ 3 callers
Function
_md_release_keys
Drops a table md no longer publishes: at once on GIL builds, once no lock-free reader can still reach it on free-threaded ones. */
multidict/_multilib/hashtable.h:358
↓ 3 callers
Function
_md_unlink_at_anystr
The same for a KIND_ANYSTR table. */
multidict/_multilib/hashtable.h:1320
↓ 3 callers
Function
_md_unlink_at_compact
Removes entry, whose index is at `slot`, and hands its references to the caller, for a KIND_COMPACT table. A compact entry has no identity refer
multidict/_multilib/hashtable.h:1305
↓ 3 callers
Function
_md_update_key
One item of an update() or merge(); identity and hash are computed from `key`. */
multidict/_multilib/bulk_update.h:496
↓ 3 callers
Function
_multidict_iter_alloc
See _multidict_view_alloc() on what a pooled shell still holds. */
multidict/_multilib/iter.h:22
↓ 3 callers
Function
_multidict_view_new
Out of line: GCC otherwise copies it into all seven view getters. */
multidict/_multilib/views.h:40
↓ 3 callers
Function
_reciprocal
( a: MutableMultiMapping[object], b: MutableMultiMapping[object], op: _ReciprocalOp )
tests/test_hypothesis_concurrency.py:244
↓ 3 callers
Function
_set_add
multidict/_multilib/views.h:329
↓ 3 callers
Method
_set_target
(self, arg: "MultiDict[_V] | MultiDictProxy[_V]")
multidict/_multidict_py.py:1561
↓ 3 callers
Function
_str_to_identity_ci
multidict/_multilib/identity.h:148
↓ 3 callers
Function
base_name
(symbol)
tools/check_inlining.py:295
↓ 3 callers
Function
bitmap_clear
multidict/_multilib/bitmap.h:255
↓ 3 callers
Function
bitmap_init
Can't fail and touches no storage: the first mark does that. */
multidict/_multilib/bitmap.h:79
↓ 3 callers
Function
bitmap_set
multidict/_multilib/bitmap.h:244
↓ 3 callers
Function
call_assign_regex
(name)
tools/upgrade_pythoncapi.py:86
↓ 3 callers
Function
case_insensitive_multidict_proxy_class
Return a case-insensitive immutable multidict class.
tests/conftest.py:172
↓ 3 callers
Function
chained_callable
Return callable that will get and call all given objects in module in exact order.
tests/test_multidict.py:35
↓ 3 callers
Function
cycle
()
tests/test_multidict.py:2840
↓ 3 callers
Method
fire
(self)
tests/finalizer_helpers.py:26
↓ 3 callers
Method
getone
(self, key: str)
multidict/_multidict_py.py:1589
↓ 3 callers
Function
handle_result
multidict/_testcapi.c:150
↓ 3 callers
Function
htkeys_build_anystr_indices
htkeys_build_compact_indices() for a KIND_ANYSTR table.
multidict/_multilib/htkeys.h:815
↓ 3 callers
Function
htkeys_find_empty_slot
Internal function to find slot for an item from its hash when it is known that the key is not present in the dict. The caller must fill the retu
multidict/_multilib/htkeys.h:850
↓ 3 callers
Function
htkeys_nslots
multidict/_multilib/htkeys.h:174
↓ 3 callers
Function
htkeys_set_maybe_dups
multidict/_multilib/htkeys.h:349
↓ 3 callers
Function
ir
(data: dict, op_id: str, impl_id: str)
benchmarks/render_tables.py:44
↓ 3 callers
Function
is_cold
(symbol)
tools/check_inlining.py:299
↓ 3 callers
Function
list_table
( caption: str, widths: list[int], header: list[str], rows: list[list[str]] )
benchmarks/render_tables.py:28
↓ 3 callers
Function
load_anystr_identity
multidict/_multilib/freethreading.h:174
↓ 3 callers
Function
load_watcher_generation
multidict/_multilib/freethreading.h:279
↓ 3 callers
Method
main
(self)
tools/upgrade_pythoncapi.py:727
↓ 3 callers
Function
mark_shared
Lets a lock-free reader take a reference with try_get_ref(). The GIL arm skips the marking: a no-op there, but a real call. */
multidict/_multilib/freethreading.h:182
↓ 3 callers
Function
md_clone_from_ht
multidict/_multilib/hashtable.h:870
← previous
next →
101–200 of 2,179, ranked by callers