MCPcopy Create free account

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

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

↓ 2 callersFunctiontest_cached_int_object
(py_number)
tests/python/test_bigints.py:17
↓ 2 callersFunctiontrunc
* Truncate a string-like thing for display purposes, returning a string. * @param {any} what The thing to truncate; must have a slice method
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:26
↓ 2 callersFunctionupdateCharBufferPointers
* @brief During a GC, string buffers may have moved, so we need to re-point our JSStringProxies * The char buffer pointer obtained by previous `JS::G
src/modules/pythonmonkey/pythonmonkey.cc:56
↓ 2 callersFunctionusage
()
python/pythonmonkey/cli/pmjs.py:285
↓ 1 callersMethod#getTextResponse
* @see https://xhr.spec.whatwg.org/#text-response * @return {string}
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:600
↓ 1 callersMethod#handleErrors
* @see https://xhr.spec.whatwg.org/#handle-errors * @param {Error} e
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:445
↓ 1 callersMethod#sendAsync
* @see https://xhr.spec.whatwg.org/#dom-xmlhttprequest-send step 11
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:339
↓ 1 callersMethod#sendSync
* @see https://xhr.spec.whatwg.org/#dom-xmlhttprequest-send step 12
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:435
↓ 1 callersFunctionDefineBytesIterator
src/PyBytesProxyHandler.cc:175
↓ 1 callersFunctionDefineIterableIterator
src/PyIterableProxyHandler.cc:156
↓ 1 callersFunctionDefineListIterator
src/PyListProxyHandler.cc:1888
↓ 1 callersFunctionFlattenIntoArray
private
src/PyListProxyHandler.cc:1254
↓ 1 callersFunctionFlattenIntoArrayWithCallBack
private
src/PyListProxyHandler.cc:1317
↓ 1 callersFunctionPyErr_SetKeyError
* @brief Shim for `_PyErr_SetKeyError`. * Since Python 3.13, `_PyErr_SetKeyError` function became an internal API. */
include/pyshim.hh:100
↓ 1 callersFunctionPyLong_AsByteArray
* @brief Shim for `_PyLong_AsByteArray`. * Python 3.13.0a4 added a new public API `PyLong_AsNativeBytes()` to replace the private `_PyLong_AsB
include/pyshim.hh:137
↓ 1 callersFunctionPythonAwaitable_Check
src/PromiseType.cc:141
↓ 1 callersFunctionPythonLong_IsNegative
* @brief Test if the Python int is negative */
src/IntType.cc:57
↓ 1 callersFunctionUCS4ToUTF16
src/jsTypeFactory.cc:114
↓ 1 callersMethod_hasAnyListeners
* Determine whether the target has any kind of event listeners
python/pythonmonkey/builtin_modules/event-target.js:168
↓ 1 callersFunctiona
()
tests/python/test_event_loop.py:249
↓ 1 callersMethodabort
Implementation of the `xhr.abort` method
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.d.ts:27
↓ 1 callersMethodaddDoneCallback
src/PyEventLoop.cc:288
↓ 1 callersFunctionarray_indexOf
src/PyListProxyHandler.cc:238
↓ 1 callersFunctionarray_join
src/PyListProxyHandler.cc:1493
↓ 1 callersFunctionarray_valueOf
src/PyBytesProxyHandler.cc:21
↓ 1 callersFunctionasUCS4
* @brief creates new UCS4-encoded pyObject string. This must be called by the user if the original JSString contains any surrogate pairs * * @return
src/StrType.cc:72
↓ 1 callersFunctionasync_fn
()
tests/python/test_pythonmonkey_eval.py:183
↓ 1 callersFunctionasync_fn
()
tests/python/test_xhr.py:33
↓ 1 callersFunctionb
()
tests/python/test_event_loop.py:253
↓ 1 callersFunctionbuild
()
build.py:68
↓ 1 callersFunctioncancelByTimeoutId
src/internalBinding/timers.cc:55
↓ 1 callersMethodcancelled
src/PyEventLoop.cc:260
↓ 1 callersFunctionclearTimeout
* Implement the `clearTimeout` global function * @see https://developer.mozilla.org/en-US/docs/Web/API/clearTimeout and * @see https://html.spec.wha
python/pythonmonkey/builtin_modules/timers.js:163
↓ 1 callersFunctioncontainsOnlyAscii
* @brief check if the Latin-1 encoded `chars` only contain ascii characters */
src/StrType.cc:59
↓ 1 callersFunctioncontainsSurrogatePair
* @brief check if UTF-16 encoded `chars` contain a surrogate pair */
src/StrType.cc:47
↓ 1 callersFunctioncopy_artifacts
()
build.py:58
↓ 1 callersMethodcreateFuture
src/PyEventLoop.cc:105
↓ 1 callersFunctioncreateInternalBinding
* @brief Create the JS `internalBinding` function */
src/internalBinding.cc:50
↓ 1 callersMethoddefineProperty
src/PyListProxyHandler.cc:2102
↓ 1 callersMethoddelete
* Deletes the given search parameter, and its associated value, from the list of all search parameters. * * [MDN Reference](https://developer.mo
python/pythonmonkey/builtin_modules/url.d.ts:76
↓ 1 callersMethodenqueueWithDelay
src/PyEventLoop.cc:95
↓ 1 callersMethodensureFuture
src/PyEventLoop.cc:111
↓ 1 callersFunctionensure_spidermonkey
()
build.py:37
↓ 1 callersFunctioneval
* Implement the pythonmonkey.eval function. From Python-land, that function has the following API: * argument 0 - unicode string of JS code or open f
src/modules/pythonmonkey/pythonmonkey.cc:379
↓ 1 callersFunctionexecute
(cmd: str)
python/pminit/post-install-hook.py:5
↓ 1 callersFunctionexecute
(cmd: str, cwd: str)
python/pminit/pminit/cli.py:5
↓ 1 callersFunctionformatSpecialArray
(ctx, value, recurseTimes, keys, maxLength, valLen)
python/pythonmonkey/builtin_modules/util.js:795
↓ 1 callersFunctiongetConstructorOf
(obj)
python/pythonmonkey/builtin_modules/util.js:98
↓ 1 callersMethodgetException
src/PyEventLoop.cc:307
↓ 1 callersFunctiongetInternalBindingPyFn
* @brief Convert the `internalBinding(namespace)` function to a Python function */
src/internalBinding.cc:57
↓ 1 callersFunctiongetInternalBindingsByNamespace
TODO (Tom Tang): figure out a better way to register InternalBindings to namespace
src/internalBinding.cc:23
↓ 1 callersFunctiongetPromiseDetails
src/internalBinding/utils.cc:71
↓ 1 callersFunctiongetProxyDetails
src/internalBinding/utils.cc:87
↓ 1 callersMethodgetResponseHeader
Implementation of the `xhr.getResponseHeader` method
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.d.ts:23
↓ 1 callersMethodgetResult
src/PyEventLoop.cc:302
↓ 1 callersFunctionhelloWorld
()
examples/use-python-module/my-python-module.py:1
↓ 1 callersFunctioninitGlobalThis
Initialize globalThis for pmjs use in the extra-module context (eg -r, -e, -p). This context needs a require function which resolves modules rela
python/pythonmonkey/cli/pmjs.py:308
↓ 1 callersFunctioninvokeCallBack
src/PyListProxyHandler.cc:1636
↓ 1 callersFunctionisAnyArrayBuffer
src/internalBinding/utils.cc:38
↓ 1 callersFunctionisDataView
* @return {o is DataView}
python/pythonmonkey/builtin_modules/util.js:78
↓ 1 callersFunctionisDate
* @return {o is Date}
python/pythonmonkey/builtin_modules/util.js:54
↓ 1 callersFunctionisError
* @return {o is Error}
python/pythonmonkey/builtin_modules/util.js:46
↓ 1 callersFunctionisExternal
(o)
python/pythonmonkey/builtin_modules/util.js:87
↓ 1 callersFunctionisMap
* @return {o is Map}
python/pythonmonkey/builtin_modules/util.js:70
↓ 1 callersFunctionisPromise
src/internalBinding/utils.cc:45
↓ 1 callersFunctionisRegExp
src/internalBinding/utils.cc:53
↓ 1 callersFunctionisSet
* @return {o is Set}
python/pythonmonkey/builtin_modules/util.js:62
↓ 1 callersFunctionisTypedArray
src/internalBinding/utils.cc:64
↓ 1 callersFunctionlist_ass_slice
a[ilow:ihigh] = v if v != NULL. * del a[ilow:ihigh] if v == NULL. */ private
src/JSArrayProxy.cc:166
↓ 1 callersFunctionmain
()
python/pminit/post-install-hook.py:17
↓ 1 callersFunctionmain
Main program entry point
python/pythonmonkey/cli/pmjs.py:326
↓ 1 callersFunctionouterScope
()
tests/python/test_functions_this.py:181
↓ 1 callersFunctionprintTimersDebugInfo
()
python/pythonmonkey/lib/wtfpm.py:9
↓ 1 callersFunctionpyFunc
(param)
tests/python/test_functions_this.py:8
↓ 1 callersMethodqueueFinalizationRegistryCallback
src/JobQueue.cc:167
↓ 1 callersFunctionquit
Quit the REPL. Repl saved by atexit handler.
python/pythonmonkey/cli/pmjs.py:181
↓ 1 callersMethodref
* When called, requests that the event-loop **not exit** so long as the `Timeout` is active. * * By default, all `Timeout` objects are "ref'e
python/pythonmonkey/builtin_modules/timers.js:51
↓ 1 callersFunctionrepl
Start a REPL to evaluate JavaScript code in the extra-module environment. Multi-line statements and readline history are supported. ^C support is
python/pythonmonkey/cli/pmjs.py:153
↓ 1 callersFunctionrequest
( method: str, url: str, headers: dict, body: Union[str, ByteString], timeoutMs: float,
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.py:31
↓ 1 callersFunctionrunEval
()
python/pythonmonkey/cli/pmjs.py:358
↓ 1 callersFunctionrunEvalPrint
()
python/pythonmonkey/cli/pmjs.py:364
↓ 1 callersMethodrunFinalizationRegistryCallbacks
src/JobQueue.cc:171
↓ 1 callersFunctionrunJS
()
python/pythonmonkey/cli/pmjs.py:380
↓ 1 callersFunctionrunREPL
()
python/pythonmonkey/cli/pmjs.py:419
↓ 1 callersFunctionrun_cmake_build
()
build.py:47
↓ 1 callersMethodsetDebugInfo
* @brief Set the debug info object for WTFPythonMonkey tool */
include/PyEventLoop.hh:140
↓ 1 callersMethodsetException
src/PyEventLoop.cc:282
↓ 1 callersMethodsetResult
src/PyEventLoop.cc:276
↓ 1 callersFunctionstyle
(str)
python/pythonmonkey/builtin_modules/util.js:765
↓ 1 callersMethodswap
* @brief Replace the underlying `asyncio.Handle` Python object with the provided value * @return the old `asyncio.Handle` object */
include/PyEventLoop.hh:104
↓ 1 callersFunctiontb_get_lineno
src/ExceptionType.cc:53
↓ 1 callersFunctiontimerAddRef
src/internalBinding/timers.cc:84
↓ 1 callersFunctiontimerHasRef
src/internalBinding/timers.cc:72
↓ 1 callersFunctiontimerRemoveRef
src/internalBinding/timers.cc:98
↓ 1 callersFunctiontoPrimitive
src/PyIterableProxyHandler.cc:69
↓ 1 callersFunctiontryStringify
(arg)
python/pythonmonkey/builtin_modules/util.js:209
↓ 1 callersFunctiontypeof
typeof function - wraps JS typeof operator
python/pythonmonkey/helpers.py:14
Method#receivedLength
* Get received bytes’s total length
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:705
MethodAsyncHandle
include/PyEventLoop.hh:37
FunctionBytesIteratorConstructor
src/PyBytesProxyHandler.cc:158
← previousnext →101–200 of 1,259, ranked by callers