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
Function
test_update_of_new_keys_makes_room_for_all
( any_multidict_class: _MD_Classes, op: str, source: str )
tests/test_update.py:366
Function
test_update_of_present_keys_keeps_the_table
( any_multidict_class: _MD_Classes, op: str, source: str )
tests/test_update.py:346
Function
test_update_remove
(any_multidict_class: _MD_Classes)
tests/test_update.py:29
Function
test_update_remove_seq
(any_multidict_class: _MD_Classes)
tests/test_update.py:60
Function
test_update_repeating_a_key_in_one_batch
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:332
Function
test_update_replace
(any_multidict_class: _MD_Classes)
tests/test_update.py:13
Function
test_update_replace_seq
(any_multidict_class: _MD_Classes)
tests/test_update.py:37
Function
test_update_replace_seq2
(any_multidict_class: _MD_Classes)
tests/test_update.py:45
Function
test_update_replaces_the_first_match
(watcher: Watcher)
tests/test_capi.py:916
Function
test_update_resizes_mid_batch
Items come from a generator, so nothing is reserved up front and the batch resizes as it goes: first compacting away the deleted entries, then
tests/test_update_marks.py:99
Method
test_update_resizes_mid_update_on_capped_huge_md
( self, case_sensitive_multidict_class: type[MultiDict[int]], )
tests/test_mutable_multidict.py:546
Function
test_update_survives_mutation_between_items
A mutation made from outside the batch invalidates its bookkeeping; what the batch then does to repeated keys is unspecified, but the table ha
tests/test_update_marks.py:132
Function
test_update_tuple_arg_and_kwds
(any_multidict_class: _MD_Classes)
tests/test_update.py:112
Function
test_update_vs_update_same_key_thread_safety
Regression for #1483/#1489: concurrent update()/__setitem__/merge() on the same key must not lose it, duplicate it, or crash (GIL build: Py_BE
tests/test_multidict.py:2467
Method
test_update_with_crash_in_the_middle
( self, case_insensitive_multidict_class: type[CIMultiDict[str]] )
tests/test_mutable_multidict.py:1053
Function
test_update_with_empty_slots
(any_multidict_class: _MD_Classes)
tests/test_update.py:149
Function
test_update_with_second_md
(any_multidict_class: _MD_Classes)
tests/test_update.py:128
Function
test_upstr_deprecated
()
tests/test_istr.py:164
Function
test_upstr_in_dir
()
tests/test_istr.py:169
Function
test_upstr_not_in_all
()
tests/test_istr.py:174
Function
test_user_data_is_per_watched_multidict
(watcher: Watcher)
tests/test_capi.py:766
Method
test_values__contains
( self, cls: type[MultiDict[str | int]] | type[CIMultiDict[str | int]], )
tests/test_multidict.py:291
Method
test_values__repr__
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:957
Method
test_values__repr__
(self, cls: type[CIMultiDict[str]])
tests/test_multidict.py:1059
Method
test_values__repr__recursive
( self, any_multidict_class: type[MultiDict[object]] )
tests/test_multidict.py:961
Method
test_values_iter_of_iter
(self, cls: type[CIMultiDict[str]])
tests/test_multidict.py:1073
Method
test_values_repr_with_dummy
( self, case_sensitive_multidict_class: type[MultiDict[int]] )
tests/test_mutable_multidict.py:528
Function
test_values_view_repr
( benchmark: BenchmarkFixture, any_multidict_class: type[MultiDict[str]] )
tests/test_views_benchmarks.py:277
Function
test_version_thread_safety
Concurrently mutating independent multidicts must never hand out the same version number twice. Regression test for a version-counter race: e
tests/test_multidict.py:2710
Function
test_versions_unique_across_many_multidicts
( any_multidict_class: type[MultiDict[str]], multidict_getversion_callable: GetVersion[str], )
tests/test_version.py:349
Function
test_versions_unique_across_threads
( any_multidict_class: type[MultiDict[str]], multidict_getversion_callable: GetVersion[str], )
tests/test_version.py:365
Function
test_view_and_iter_types_are_final
(view_name: str, iterate: bool)
tests/test_multidict.py:3740
Function
test_view_direct_instantiation_segfault
Test that view objects cannot be instantiated directly (issue: segfault). This test only applies to the C extension implementation.
tests/test_multidict.py:3596
Function
test_view_len_is_live
( any_multidict_class: _MD_Classes, any_multidict_class_name: str, pairs: _Pairs )
tests/test_hypothesis_views.py:40
Function
test_view_mutation_during_iteration_raises
( any_multidict_class: _MD_Classes, pairs: _Pairs, mutation: _Mutation, data: st.DataObject, )
tests/test_hypothesis_views.py:180
Function
test_view_set_ops_thread_safety
Concurrent items()/keys() set-algebra (&, |, -, ^, in, isdisjoint()) alongside mutation must not crash. Regression test for the free-threaded
tests/test_multidict.py:2221
Function
test_views_outlive_each_other
Dropping views out of order is what fills a pool unevenly.
tests/test_freelist.py:144
Function
test_watch_through_a_proxy_watches_the_underlying_multidict
( watcher: Watcher, )
tests/test_capi.py:1062
Function
test_watch_wrong_type
(api: object, watcher: Watcher, name: str)
tests/test_capi.py:1246
Function
test_watched_add_same_key
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:76
Function
test_watched_add_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:61
Function
test_watched_clear_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:150
Function
test_watched_delitem_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:135
Function
test_watched_extend_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:196
Function
test_watched_insert_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:46
Function
test_watched_merge_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:210
Function
test_watched_pop_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:106
Function
test_watched_popitem_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:121
Function
test_watched_setitem_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:91
Function
test_watched_update_str
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:168
Function
test_watched_update_str_with_duplicates
( benchmark: BenchmarkFixture, watched_class: type[MultiDict[str]], watch: Watch )
tests/test_watched_benchmarks.py:182
Function
test_watcher_data_is_shared_by_every_watched_multidict
(watcher: Watcher)
tests/test_capi.py:781
Method
test_weakref
(self, cls: type[MutableMultiMapping[str]])
tests/test_multidict.py:723
Function
test_weakrefs_do_not_survive_into_a_recycled_shell
A shell carries a weakref list, which has to be empty again on reuse.
tests/test_freelist.py:192
Method
test_xor
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:635
Method
test_xor2
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:640
Method
test_xor_iterable_not_set
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:657
Method
test_xor_not_implemented
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:645
Function
tested_method_args
Return an instance of a parameter set.
tests/test_incorrect_args.py:43
Method
to_dict
Return a dict with lists of all values for each key.
multidict/_multidict_py.py:1647
Function
to_dict_worker
(_n: int)
tests/test_multidict.py:2690
Function
trial
(_n: int)
tests/test_multidict.py:2059
Function
unwatching_event
Unwatches from inside the first event of a burst; nothing recorded by the same operation may reach it afterwards. Never sees DEALLOCATED, since
multidict/_testcapi.c:486
Method
update
(self, pairs: list[tuple[str, int]])
tests/test_hypothesis_multidict.py:138
Function
update_worker
(n: int)
tests/test_multidict.py:2414
Function
updater
()
tests/test_multidict.py:2067
Method
values
Return a new view of the dictionary's values.
multidict/_multidict_py.py:1632
Function
watch_release_refs
multidict/_testcapi.c:715
Function
watcher
(api: object)
tests/test_capi.py:740
Function
watching_event
Attaches another, already registered watcher from inside delivery. Watching takes effect from the next event on, so that watcher joins part-way
multidict/_testcapi.c:521
Function
work
()
tests/test_version.py:374
Function
worker
(n: int)
tests/test_multidict.py:1958
Function
worker
(worker_id: int)
tests/test_hypothesis_concurrency.py:126
Function
worker1
()
tests/test_multidict.py:3418
Function
worker1
()
tests/test_hypothesis_concurrency.py:277
Function
worker2
()
tests/test_multidict.py:3426
Function
worker2
()
tests/test_hypothesis_concurrency.py:282
Function
wrapper
(self: Any, *args: Any, **kwargs: Any)
multidict/_multidict_py.py:137
Function
writer
(target: MutableMultiMapping[str])
tests/test_free_threading.py:39
← previous
2,101–2,179 of 2,179, ranked by callers