MCPcopy Create free account

hub / github.com/Distributive-Network/PythonMonkey / functions

Functions1,259 in github.com/Distributive-Network/PythonMonkey

↓ 124 callersMethodset
* Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. * * [MDN Reference]
python/pythonmonkey/builtin_modules/url.d.ts:100
↓ 89 callersMethodget
* Returns the first value associated to the given search parameter. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchPara
python/pythonmonkey/builtin_modules/url.d.ts:82
↓ 66 callersFunctionjsTypeFactory
src/jsTypeFactory.cc:135
↓ 55 callersFunctionpyTypeFactory
src/pyTypeFactory.cc:40
↓ 37 callersMethodtoString
()
python/pythonmonkey/builtin_modules/url.d.ts:28
↓ 24 callersFunctionrequire
(moduleIdentifier: str)
python/pythonmonkey/require.py:427
↓ 18 callersMethodappend
* Appends a specified key/value pair as a new search parameter. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/a
python/pythonmonkey/builtin_modules/url.d.ts:70
↓ 18 callersMethodsort
[MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort)
python/pythonmonkey/builtin_modules/url.d.ts:102
↓ 16 callersFunctionc
()
tests/python/test_event_loop.py:257
↓ 16 callersMethoddispatchEvent
* Send an Event to the target, (synchronously) invoking the affected event listeners in the appropriate order. * @param {Event} event The Event obj
python/pythonmonkey/builtin_modules/event-target.js:141
↓ 13 callersFunctionidToKey
src/PyBaseProxyHandler.cc:19
↓ 12 callersMethod#debug
* Wrapper to print debug logs with connection id information * @param {string} selector
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:117
↓ 12 callersFunctionformatProperty
(ctx, value, recurseTimes, key, array)
python/pythonmonkey/builtin_modules/util.js:984
↓ 12 callersFunctionsetSpiderMonkeyException
src/setSpiderMonkeyException.cc:77
↓ 11 callersFunctiongetEvalOption
src/modules/pythonmonkey/pythonmonkey.cc:329
↓ 10 callersFunctiontest_bigint
(py_number: int)
tests/python/test_bigints.py:7
↓ 10 callersMethodwrite
(self, writer)
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.py:61
↓ 9 callersFunctionasync_fn
()
tests/python/test_event_loop.py:7
↓ 9 callersFunctionkeyToId
src/JSObjectProxy.cc:36
↓ 8 callersFunctionadd
(a, b, c)
tests/python/test_event_loop.py:71
↓ 8 callersFunctionexecute
(cmd: str, cwd: Optional[str] = None)
build.py:24
↓ 8 callersFunctionf
()
tests/python/test_lists.py:476
↓ 8 callersFunctionmakeNewPyMethod
private util if function is a proxy for a python method, mutate it into a new python method bound to thisObject
src/PyListProxyHandler.cc:34
↓ 8 callersFunctionshould_raise
(num)
tests/python/test_bigints.py:89
↓ 7 callersFunctionassert_empty_arraybuffer
(buf)
tests/python/test_buffer_typed_array.py:172
↓ 7 callersFunctionformatValue
(ctx, value, recurseTimes, ln)
python/pythonmonkey/builtin_modules/util.js:442
↓ 7 callersFunctionident
(x)
tests/python/test_pythonmonkey_eval.py:311
↓ 7 callersMethodinitialized
include/PyEventLoop.hh:26
↓ 6 callersFunction_PyArg_CheckPositional
include/pyshim.hh:47
↓ 6 callersFunctionsetTimeout
* Implement the `setTimeout` global function * @see https://developer.mozilla.org/en-US/docs/Web/API/setTimeout and * @see https://html.spec.whatwg.
python/pythonmonkey/builtin_modules/timers.js:150
↓ 5 callersMethod#formatToStr
* Format with appropriate grouping level * @return {string}
python/pythonmonkey/builtin_modules/console.js:191
↓ 5 callersFunctionall_contained_in
private
src/JSObjectKeysProxy.cc:61
↓ 5 callersFunctionassert_empty_typedarray
(buf: memoryview, typecode: str)
tests/python/test_buffer_typed_array.py:157
↓ 5 callersFunctionformatPrimitive
(fn, value)
python/pythonmonkey/builtin_modules/util.js:742
↓ 5 callersMethodinit
src/JobQueue.cc:80
↓ 5 callersFunctioninspect
(obj, opts = undefined)
python/pythonmonkey/builtin_modules/util.js:333
↓ 5 callersFunctionobjectToString
(o)
python/pythonmonkey/builtin_modules/util.js:92
↓ 4 callersMethod#reportRequestError
* @see https://xhr.spec.whatwg.org/#request-error-steps * @param {string} event event type * @param {DOMException} exception
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:462
↓ 4 callersMethodclose
* Cancels the timeout. * @deprecated legacy Node.js API. Use `clearTimeout()` instead
python/pythonmonkey/builtin_modules/timers.js:84
↓ 4 callersFunctiongetKey
src/JSObjectProxy.cc:83
↓ 4 callersFunctionidToIndex
src/PyBaseProxyHandler.cc:35
↓ 4 callersFunctionnot_raise
(num)
tests/python/test_bigints.py:86
↓ 4 callersFunctionshould_js_error
(a, b)
tests/python/test_bigints.py:116
↓ 4 callersFunctiontb_print_line_repeated
src/ExceptionType.cc:64
↓ 4 callersFunctiontest_boxed_bigint
(py_number: int)
tests/python/test_bigints.py:53
↓ 3 callersMethod#mergeReceivedBytes
* Concatenate received bytes into one single Uint8Array
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:713
↓ 3 callersFunctionPyDictView_New
* @brief Shim for `_PyDictView_New`. * Since Python 3.13, `_PyDictView_New` function became an internal API. * @see Modified from https://git
include/pyshim.hh:81
↓ 3 callersFunctionPyObject_CallOneArg
include/pyshim.hh:126
↓ 3 callersFunctionPythonLong_SetSign
* @brief Set the sign bit of a Python int * PyLongObject is no longer an extension of PyVarObject struct in Python 3.12+, so we have to handle them d
src/IntType.cc:42
↓ 3 callersFunction_normalizeTimerArgs
* Normalize the arguments to `setTimeout`,`setImmediate` or `setInterval` * @param {Function | string} handler * @param {number} delayMs timeout mil
python/pythonmonkey/builtin_modules/timers.js:104
↓ 3 callersFunctionarray_iterator_func
private util
src/PyBytesProxyHandler.cc:194
↓ 3 callersFunctionarray_iterator_func
private util
src/PyListProxyHandler.cc:1907
↓ 3 callersFunctionassert_empty_py_buffer
(buf, type: str)
tests/python/test_buffer_typed_array.py:148
↓ 3 callersFunctionb
(x)
tests/python/test_pythonmonkey_eval.py:160
↓ 3 callersFunctionconcatenate
(a, b)
tests/python/test_pythonmonkey_eval.py:359
↓ 3 callersFunctioncoro_to_throw0
()
tests/python/test_event_loop.py:281
↓ 3 callersMethoddecCounter
* @brief Decrement the counter for the number of our job functions in the Python event-loop */
include/PyEventLoop.hh:289
↓ 3 callersFunctionenqueueWithDelay
src/internalBinding/timers.cc:25
↓ 3 callersFunctionformatNumber
(fn, value)
python/pythonmonkey/builtin_modules/util.js:734
↓ 3 callersMethodgetOwnPropertyDescriptor
src/PyListProxyHandler.cc:1995
↓ 3 callersMethodhasOwn
src/PyDictProxyHandler.cc:85
↓ 3 callersMethodincCounter
* @brief Increment the counter for the number of our job functions in the Python event-loop */
include/PyEventLoop.hh:281
↓ 3 callersFunctionjoin
* @param {string[]} output * @param {string} separator
python/pythonmonkey/builtin_modules/util.js:38
↓ 3 callersFunctionjsTypeFactorySafe
src/jsTypeFactory.cc:313
↓ 3 callersFunctionlist_slice
private
src/JSArrayProxy.cc:86
↓ 3 callersMethodremoveRef
* @brief Unref the timer so that the event-loop can exit */
include/PyEventLoop.hh:130
↓ 3 callersFunctionswapItems
src/PyListProxyHandler.cc:1625
↓ 2 callersFunction_enqueueWithDelay
src/PyEventLoop.cc:80
↓ 2 callersMethodaddRef
* @brief Ref the timer so that the event-loop won't exit as long as the timer is active */
include/PyEventLoop.hh:118
↓ 2 callersFunctionassert_js_to_py_memoryview
(buf: memoryview)
tests/python/test_buffer_typed_array.py:13
↓ 2 callersFunctionassignKeyValue
src/JSObjectProxy.cc:179
↓ 2 callersMethodcancel
src/PyEventLoop.cc:242
↓ 2 callersFunctioncoro_fn
(x)
tests/python/test_event_loop.py:172
↓ 2 callersFunctioncoro_to_throw1
()
tests/python/test_event_loop.py:291
↓ 2 callersFunctioncreateInternalBindingsForNamespace
src/internalBinding.cc:16
↓ 2 callersFunctioncreateRequire
returns a require function that resolves modules relative to the filename argument. Conceptually the same as node:module.createRequire(). exam
python/pythonmonkey/require.py:377
↓ 2 callersFunctiondecodeStr
(data: bytes, encoding='utf-8')
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.py:134
↓ 2 callersFunctiondictview_len
private
src/JSObjectKeysProxy.cc:224
↓ 2 callersMethodenqueue
src/PyEventLoop.cc:71
↓ 2 callersFunctionfn1
()
tests/python/test_pythonmonkey_eval.py:320
↓ 2 callersFunctionformat
(f)
python/pythonmonkey/builtin_modules/util.js:235
↓ 2 callersFunctionformatError
* Format an instance of Error. Error is the only type which is typically displayed using two different * colours -- the stack gets darker at the bot
python/pythonmonkey/builtin_modules/util.js:763
↓ 2 callersMethodgetAllResponseHeaders
Implementation of the `xhr.getAllResponseHeaders` method
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.d.ts:25
↓ 2 callersMethodgetDebugInfo
include/PyEventLoop.hh:143
↓ 2 callersFunctiongetExceptionString
src/setSpiderMonkeyException.cc:22
↓ 2 callersMethodgetFutureObject
* @brief Get the underlying `asyncio.Future` Python object */
include/PyEventLoop.hh:228
↓ 2 callersMethodgetPyString
src/jsTypeFactory.cc:55
↓ 2 callersFunctiongetPythonMonkeyBigInt
src/modules/pythonmonkey/pythonmonkey.cc:108
↓ 2 callersFunctiongetPythonMonkeyNull
src/modules/pythonmonkey/pythonmonkey.cc:101
↓ 2 callersMethodhasRef
* @brief Getter for if the timer has been ref'ed */
include/PyEventLoop.hh:111
↓ 2 callersMethodisArray
src/PyListProxyHandler.cc:2168
↓ 2 callersFunctioniter_next
src/PyIterableProxyHandler.cc:25
↓ 2 callersFunctionmergeFromSeq2
private
src/JSObjectProxy.cc:478
↓ 2 callersFunctionnormalizeSliceTerm
private util
src/PyListProxyHandler.cc:180
↓ 2 callersMethodownPropertyKeys
src/PyObjectProxyHandler.cc:98
↓ 2 callersMethodownPropertyKeys
src/PyDictProxyHandler.cc:29
↓ 2 callersFunctionquickSort
Adapted from Kernigan&Ritchie's C book
src/PyListProxyHandler.cc:1656
↓ 2 callersFunctionreduceToSingleString
(ctx, output, base, braces, addLn)
python/pythonmonkey/builtin_modules/util.js:1039
↓ 2 callersFunctionsetPyException
src/jsTypeFactory.cc:329
↓ 2 callersFunctionstrEscape
(str)
python/pythonmonkey/builtin_modules/util.js:172
next →1–100 of 1,259, ranked by callers