MCPcopy Create free account

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

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

Functionjs_sort_compare_default
private
src/PyListProxyHandler.cc:1686
Functionload
Loads a python module using the importlib machinery sourcefileloader, prefills it with an exports object and returns the module. If the module
python/pythonmonkey/require.py:278
Methodlog_request
(self, *args)
tests/python/test_xhr.py:9
FunctionlooksNative
(fn)
tests/js/quint.js:50
Functionmain
()
python/pminit/pminit/cli.py:22
FunctionmyFunc
(e, f)
tests/python/test_arrays.py:860
FunctionmyFunc
(e, f)
tests/python/test_lists.py:828
Functionname
(x, name)
tests/js/quint.js:17
Functionnew
new function - emits function which wraps JS new operator, emitting a lambda which constructs a new JS object upon invocation.
python/pythonmonkey/helpers.py:26
MethodnewEmpty
* @brief Create a new `AsyncHandle` without an associated `asyncio.Handle` Python object * @return the timeoutId */
include/PyEventLoop.hh:50
FunctionnurseryCollectionCallback
src/modules/pythonmonkey/pythonmonkey.cc:82
FunctiononResolvedCb
src/PromiseType.cc:29
Methodopen
* Sets the request method, request URL, and synchronous flag. * @typedef {'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT'} Method * @para
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:171
MethodoverrideMimeType
* Acts as if the `Content-Type` header value for a response is mime. * (It does not change the header.) * @param {string} mime
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:575
MethodownPropertyKeys
src/PyListProxyHandler.cc:2138
MethodpreventExtensions
src/PyBaseProxyHandler.cc:53
MethodprocessBodyChunk
(/** @type {Uint8Array} */ bytes)
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:383
MethodprocessEndOfBody
()
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:396
MethodprocessRequestBodyChunkLength
(/** @type {number} */ bytesLength)
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:353
MethodprocessRequestEndOfBody
()
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:361
MethodprocessResponse
(response)
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:372
MethodpromiseRejectionTracker
src/JobQueue.cc:130
MethodproxifyString
src/StrType.cc:108
FunctionpyFunc
()
tests/python/test_pythonmonkey_eval.py:332
Functionpy_sleep
(seconds)
tests/python/test_event_loop.py:330
FunctionpythonmonkeyGCCallback
src/modules/pythonmonkey/pythonmonkey.cc:74
FunctionreadFileSync
Utility function for reading files. Returns: str: The contents of the file
python/pythonmonkey/require.py:241
MethodreadyState
* Returns client's state.
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:153
Methodrefresh
* Sets the timer's start time to the current time, * and reschedules the timer to call its callback at the previously specified duration adjusted
python/pythonmonkey/builtin_modules/timers.js:73
MethodremoveEventListener
* Remove an event listener previously registered with EventTarget.addEventListener() from the target. * @param {string} type A string which specifi
python/pythonmonkey/builtin_modules/event-target.js:131
Methodresponse
* Returns the response body. * @see https://xhr.spec.whatwg.org/#the-response-attribute
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:612
MethodresponseText
* Returns response as text.
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:655
MethodresponseType
* @typedef {"" | "arraybuffer" | "blob" | "document" | "json" | "text"} ResponseType
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:583
MethodresponseURL
* @return {string}
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:517
MethodresponseXML
* Returns the response as document.
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:668
MethodrunJobs
src/JobQueue.cc:57
FunctionrunProgramModule
Run the program module. This loads the code from disk, sets up the execution environment, and then invokes the program module (aka main module).
python/pythonmonkey/require.py:401
Functionsame
(a, b)
tests/js/quint.js:29
MethodsaveJobQueue
src/JobQueue.cc:71
Functionsave_history
()
python/pythonmonkey/cli/pmjs.py:174
Methodsend
* Initiates the request. * @typedef {TypedArray | DataView | ArrayBuffer | URLSearchParams | string} XMLHttpRequestBodyInit * @param {XMLHttpReq
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:281
FunctionsendJobToMainLoop
src/JobQueue.cc:114
Functionset
(options)
python/pythonmonkey/builtin_modules/util.js:384
Methodset
src/PyBytesProxyHandler.cc:256
Methodset
src/PyObjectProxyHandler.cc:153
Methodset
src/PyDictProxyHandler.cc:64
FunctionsetImmediate
* Implement the `setImmediate` global function * **NON-STANDARD**, for Node.js compatibility only. * @see https://developer.mozilla.org/en-US/docs
python/pythonmonkey/builtin_modules/timers.js:180
FunctionsetInterval
* Implement the `setInterval` global function * @see https://developer.mozilla.org/en-US/docs/Web/API/setInterval and * @see https://html.spec.whatw
python/pythonmonkey/builtin_modules/timers.js:204
MethodsetRequestHeader
* Combines a header in author request headers. * @param {string} name * @param {string} value
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:215
Functionsigint_handler
Handle ^C by aborting the entry of the current statement and quitting when double-struck. Sometimes this happens in the main input() functio
python/pythonmonkey/cli/pmjs.py:187
FunctionsimpleUncaughtExceptionHandler
A simple exception handler for uncaught JS Promise rejections sent to the Python event-loop See https://docs.python.org/3.11/library/asyncio-eve
python/pythonmonkey/helpers.py:46
MethodsizeOfBuffer
src/jsTypeFactory.cc:96
Functionskip
(name, callback)
tests/js/quint.js:66
Methodsome_method
()
tests/python/test_functions_this.py:201
Functionsort_compare_default
private
src/JSArrayProxy.cc:1137
Functionsort_compare_key_func
private
src/JSArrayProxy.cc:1079
FunctionstatSync_inner
Inner function for statSync. Returns: Union[Dict[str, int], False]: The mode of the file or False if the file doesn't exist.
python/pythonmonkey/require.py:225
Methodstatus
* @return {number} HTTP status code
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:528
MethodstatusText
* @return {string} HTTP status message
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:539
FunctionstylizeNoColor
(str, styleType)
python/pythonmonkey/builtin_modules/util.js:437
FunctionstylizeWithColor
(str, styleType)
python/pythonmonkey/builtin_modules/util.js:426
Functionteardown_function
Forcing garbage collection (twice) whenever a test function finishes, to locate GC-related errors
tests/python/conftest.py:9
Functiontest
(name, callback)
tests/js/quint.js:62
Functiontest_JSMethodProxy_this
()
tests/python/test_functions_this.py:96
Functiontest___class__attribute
()
tests/python/test_dicts.py:372
Functiontest___class__attribute
()
tests/python/test_lists.py:1244
Functiontest___none__attribute
()
tests/python/test_dicts.py:379
Functiontest_append
()
tests/python/test_lists.py:430
Functiontest_array_from
()
tests/python/test_arrays.py:2550
Functiontest_array_subclass_behaves_as_array
()
tests/python/test_arrays.py:2578
Functiontest_assign
()
tests/python/test_arrays.py:5
Functiontest_assign
()
tests/python/test_lists.py:161
Functiontest_assign_bad_index
()
tests/python/test_arrays.py:2560
Functiontest_assign_bad_index_with_existing_next
()
tests/python/test_arrays.py:2566
Functiontest_assign_bad_index_with_gap
()
tests/python/test_arrays.py:2572
Functiontest_assign_index_out_of_range
()
tests/python/test_lists.py:173
Functiontest_assign_index_wrong_type_list
()
tests/python/test_lists.py:193
Functiontest_assign_index_wrong_type_str
()
tests/python/test_lists.py:183
Functiontest_assign_negative_index
()
tests/python/test_lists.py:167
Functiontest_bytes_buffer
()
tests/python/test_buffer_typed_array.py:229
Functiontest_bytes_bytelength
()
tests/python/test_buffer_typed_array.py:239
Functiontest_bytes_byteoffset
()
tests/python/test_buffer_typed_array.py:244
Functiontest_bytes_bytes_per_element
()
tests/python/test_buffer_typed_array.py:224
Functiontest_bytes_console
()
tests/python/test_buffer_typed_array.py:272
Functiontest_bytes_get_index_js
()
tests/python/test_buffer_typed_array.py:219
Functiontest_bytes_get_index_python
()
tests/python/test_buffer_typed_array.py:214
Functiontest_bytes_instanceof
()
tests/python/test_buffer_typed_array.py:249
Functiontest_bytes_length
()
tests/python/test_buffer_typed_array.py:235
Functiontest_bytes_proxy_write
()
tests/python/test_buffer_typed_array.py:209
Functiontest_bytes_toString
()
tests/python/test_buffer_typed_array.py:267
Functiontest_bytes_valueOf
()
tests/python/test_buffer_typed_array.py:262
Functiontest_clear
()
tests/python/test_lists.py:392
Functiontest_clear
()
tests/python/test_dict_methods.py:142
Functiontest_clearInterval
()
tests/python/test_event_loop.py:35
Functiontest_clear_with_arg
()
tests/python/test_lists.py:398
Functiontest_concat_array
()
tests/python/test_arrays.py:250
Functiontest_concat_empty_arg
()
tests/python/test_arrays.py:258
Functiontest_concat_empty_empty
()
tests/python/test_lists.py:243
Functiontest_concat_in_place_empty_empty
()
tests/python/test_lists.py:343
Functiontest_concat_is_inplace
()
tests/python/test_lists.py:337
← previousnext →501–600 of 1,259, ranked by callers