MCPcopy Create free account

hub / github.com/caoccao/Javet / functions

Functions4,340 in github.com/caoccao/Javet

↓ 7 callersMethodslice
Polyfill Array.prototype.slice(). The slice() method of Array instances returns a shallow copy of a portion of an array into a new array object select
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginList.java:1435
↓ 7 callersMethodtoOtherSet
Converts the first argument to a Java Set. Returns null and throws a V8 TypeError if the argument is missing or not a Set-like object. @param v8Runti
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginSet.java:577
↓ 7 callersMethodtoString
()
src/main/java/com/caoccao/javet/exceptions/JavetScriptingError.java:230
↓ 7 callersMethodtoZonedDateTime
From JS timestamp to zoned date time. @param jsTimestamp the JS timestamp @param zoneId the zone id @return the zoned date time
src/main/java/com/caoccao/javet/utils/JavetDateTimeUtils.java:52
↓ 6 callersMethodGetV8LocalContext
cpp/jni/javet_v8_runtime.h:118
↓ 6 callersFunctionIS_V8_SET
cpp/jni/javet_enums.h:220
↓ 6 callersFunctionToStdString
cpp/jni/javet_converter.h:117
↓ 6 callersMethodapply
Applies this function to the given argument. @param t the function argument @return the function result @since 1.0.3
src/main/java/com/caoccao/javet/interfaces/IJavaFunction.java:72
↓ 6 callersMethodarrayGetLength
Get the length of an Array. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType the V8 val
src/main/java/com/caoccao/javet/interop/IV8Native.java:70
↓ 6 callersMethodasV8Value
As V8Value by V8 value array and index. @param v8Values the V8 values @param index the index @return the V8 value @since 3.0.4
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:131
↓ 6 callersMethodbindProperty
Bind property by name string and getter. @param javetCallbackContextGetter the javet callback context getter @return true : the property is bind, fal
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:149
↓ 6 callersMethodcompileV8Script
Compile V8 script. @return the V8 script @throws JavetException the javet exception @since 0.9.13
src/main/java/com/caoccao/javet/interop/executors/IV8Executor.java:82
↓ 6 callersMethodconcat
Concat string. @param v8Values the V8 values @return the string @since 0.7.0
src/main/java/com/caoccao/javet/interception/logging/BaseJavetConsoleInterceptor.java:101
↓ 6 callersMethodcreateV8ValueIntegerObject
Create V8 value int object. @param intValue the int value @return the V8 value integer object @throws JavetException the javet exception @since 3.0.4
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:205
↓ 6 callersMethodcreateV8ValuePromise
Create V8 value promise. @return the V8 value promise @throws JavetException the javet exception @since 0.9.8
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:262
↓ 6 callersMethodfromShorts
From short array. @param shorts the short array @return the boolean @throws JavetException the javet exception @since 0.7.2
src/main/java/com/caoccao/javet/values/reference/V8ValueTypedArray.java:246
↓ 6 callersMethodgetConfig
Gets config. @return the config @since 0.9.4
src/main/java/com/caoccao/javet/interop/converters/IJavetConverter.java:37
↓ 6 callersMethodgetErrorType
Gets type. @return the type @since 3.0.4
src/main/java/com/caoccao/javet/values/reference/V8ValueError.java:77
↓ 6 callersMethodgetGetPriorities
Gets get priorities. @return the get priorities @since 5.0.2
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:234
↓ 6 callersMethodgetGuard
Gets guard. @return the guard @since 0.7.2
src/main/java/com/caoccao/javet/interop/engine/IJavetEngine.java:46
↓ 6 callersMethodgetIndex
Gets index. @return the index @since 1.0.0
src/main/java/com/caoccao/javet/enums/V8AllocationSpace.java:149
↓ 6 callersMethodgetJSScopeType
()
src/main/java/com/caoccao/javet/values/reference/V8ValueFunction.java:157
↓ 6 callersMethodgetOwnPropertyDescriptor
handler.getOwnPropertyDescriptor() The handler.getOwnPropertyDescriptor() method is a trap for the [[GetOwnProperty]] object internal method, which is
src/main/java/com/caoccao/javet/interop/proxy/IJavetProxyHandler.java:215
↓ 6 callersMethodgetPrototypeOf
handler.getPrototypeOf() The handler.getPrototypeOf() method is a trap for the [[GetPrototypeOf]] object internal method, which is used by operations
src/main/java/com/caoccao/javet/interop/proxy/IJavetProxyHandler.java:232
↓ 6 callersMethodgetState
Gets state. @return the state @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/values/reference/IV8ValuePromise.java:225
↓ 6 callersMethodgetUTCNow
Gets utc now. @return the utc now
src/main/java/com/caoccao/javet/utils/JavetDateTimeUtils.java:41
↓ 6 callersMethodgetUniqueKeySet
Gets unique key set. @return the unique key set @since 1.1.7
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:304
↓ 6 callersMethodgetV8GuardQueue
()
src/main/java/com/caoccao/javet/interop/V8Host.java:597
↓ 6 callersMethodisCalled
()
src/test/java/com/caoccao/javet/mock/MockModuleResolver.java:45
↓ 6 callersMethodisGeneratorFunction
Is generator function. @return true : yes, false: no @throws JavetException the javet exception @since 0.9.13
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:497
↓ 6 callersMethodobjectGet
Get a property value from an Object by key. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueTyp
src/main/java/com/caoccao/javet/interop/IV8Native.java:1135
↓ 6 callersMethodproxyGet
Proxy handler.get(). The handler.get() method is a trap for the [[Get]] object internal method, which is used by operations such as property accessors
src/main/java/com/caoccao/javet/interop/proxy/IJavetDirectProxyHandler.java:145
↓ 6 callersMethodreadFileSync
(String filePath)
src/test/java/com/caoccao/javet/mock/MockFS.java:74
↓ 6 callersMethodsetGlobalName
Sets global name. @param globalName the global name @return the self @since 1.0.0
src/main/java/com/caoccao/javet/interop/options/V8RuntimeOptions.java:68
↓ 6 callersMethodsetIcuDataDir
Sets icu data dir. @param icuDataDir the icu data dir @return the self @since 4.0.0
src/main/java/com/caoccao/javet/interop/options/NodeFlags.java:322
↓ 6 callersMethodsetInteger
Set property by key object and value integer. @param key the key @param value the value @return true : set, false: not set @throws JavetException t
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1301
↓ 6 callersMethodsetV8ModuleResolver
Sets V8 module resolver. @param v8ModuleResolver the V8 module resolver @since 0.9.3
src/main/java/com/caoccao/javet/interop/V8Runtime.java:3993
↓ 6 callersMethodtoPrimitive
To primitive long. @return the long @since 0.7.0
src/main/java/com/caoccao/javet/values/primitive/V8ValueLong.java:105
↓ 6 callersMethodtypeErrorFunctionIsNotSupported
TypeError: ${functionName}() is not supported. @param functionName the function name @return the message @since 3.0.4
src/main/java/com/caoccao/javet/exceptions/V8ErrorTemplate.java:62
↓ 6 callersMethodupdateDoc
(String prefix, long tps)
src/test/java/com/caoccao/javet/interop/engine/TestJavetEnginePerformance.java:220
↓ 5 callersFunctionThrowJavetCompilationException
cpp/jni/javet_exceptions.cpp:70
↓ 5 callersFunctionToCachedDataPointer
cpp/jni/javet_converter.cpp:527
↓ 5 callersFunctionToV8Boolean
cpp/jni/javet_converter.h:222
↓ 5 callersFunctionToV8InternalContext
cpp/jni/javet_converter.h:327
↓ 5 callersFunctionToV8Null
cpp/jni/javet_converter.h:257
↓ 5 callersFunctionToV8ScriptOringinPointer
cpp/jni/javet_converter.cpp:1101
↓ 5 callersMethod_for
Calls Symbol.for() to search for existing symbols in the global symbol registry with the given description. @param description the symbol description
src/main/java/com/caoccao/javet/values/reference/builtin/V8ValueBuiltInSymbol.java:191
↓ 5 callersMethodclone
()
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:1029
↓ 5 callersMethodcompare
<p>Compares the two specified half-precision float values. The following conditions apply during the comparison:</p> <ul> <li>{@link #NaN} is conside
src/main/java/com/caoccao/javet/utils/Float16.java:198
↓ 5 callersMethodcreateV8ValueDoubleObject
Create V8 value double object. @param doubleValue the double value @return the V8 value double object @throws JavetException the javet exception @sin
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:151
↓ 5 callersMethodcreateV8ValueError
Create V8 value error by type and message. @param v8ValueErrorType the V8 value error type @param message the message @return the V8 value e
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:162
↓ 5 callersMethodcreateV8ValueSet
Create V8 value set from object array. @param v8Runtime the V8 runtime @param objects the objects @return the V8 value set @throws JavetException t
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:314
↓ 5 callersMethodcreateV8ValueStringObject
Create V8 value string object from string. @param str the str @return the V8 value string object @throws JavetException the javet exception @since 3.
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:316
↓ 5 callersMethodexecute
(boolean resultRequired)
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:95
↓ 5 callersMethodexecuteBigInteger
Execute and return big integer. @return the big integer @throws JavetException the javet exception @since 1.1.5
src/main/java/com/caoccao/javet/interop/IV8Executable.java:66
↓ 5 callersMethodexecuteZonedDateTime
Execute and return zoned date time. @return the zoned date time @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/interop/IV8Executable.java:202
↓ 5 callersMethodgetAverageCallbackContextCount
Gets average callback context count. @return the average callback context count @since 1.0.6
src/main/java/com/caoccao/javet/interop/engine/IJavetEnginePool.java:67
↓ 5 callersMethodgetAverageReferenceCount
Gets average reference count. @return the average reference count @since 1.0.6
src/main/java/com/caoccao/javet/interop/engine/IJavetEnginePool.java:80
↓ 5 callersMethodgetBatchSize
Gets batch operation size. @return the batch operationsize @since 5.0.2
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:174
↓ 5 callersFunctiongetBuildDir
(config: BuildConfig)
cpp/jni-build.ts:284
↓ 5 callersMethodgetCallbackType
Gets callback type. @return the callback type @since 2.2.0
src/main/java/com/caoccao/javet/interop/callback/JavetCallbackContext.java:248
↓ 5 callersMethodgetCustomFlags
Gets custom flags. @return the custom flags @since 0.9.13
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:163
↓ 5 callersMethodgetGenericGetters
Gets generic getters. @return the generic getters @since 1.1.7
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:214
↓ 5 callersMethodgetKeys
Gets keys. @return the keys @throws JavetException the javet exception @since 0.7.2
src/main/java/com/caoccao/javet/values/reference/IV8ValueMap.java:85
↓ 5 callersMethodgetLibFileName
Gets lib file name. @return the lib file name @throws JavetException the javet exception @since 1.0.1
src/main/java/com/caoccao/javet/interop/loader/JavetLibLoader.java:193
↓ 5 callersMethodgetOwnPropertyNameStrings
Gets own property name strings. @return the own property name strings @throws JavetException the javet exception @since 2.0.2
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:497
↓ 5 callersMethodgetReflectionObjectFactory
Gets reflection object factory. @return the reflection object factory @since 2.0.1
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:284
↓ 5 callersMethodgetResourceColumnOffset
Gets the column offset within the resource. @return the resource column offset
src/main/java/com/caoccao/javet/interop/V8ScriptOrigin.java:107
↓ 5 callersMethodgetResourceLineOffset
Gets the line offset within the resource. @return the resource line offset
src/main/java/com/caoccao/javet/interop/V8ScriptOrigin.java:116
↓ 5 callersMethodgetScriptFile
(String relativePath)
src/test/java/com/caoccao/javet/interop/TestNodeRuntime.java:78
↓ 5 callersMethodgetV8GuardDaemon
Gets V8 guard daemon. @return the V8 guard daemon @since 3.1.3
src/main/java/com/caoccao/javet/interop/V8Host.java:423
↓ 5 callersMethodgetV8HeapStatistics
Get V8 heap statistics. @param v8RuntimeHandle the V8 runtime handle @return the result
src/main/java/com/caoccao/javet/interop/IV8Native.java:550
↓ 5 callersMethodgetV8Locker
Gets V8 locker. <p> The V8 locker is for maximizing the performance by explicitly acquire and release the lock. It should not be called in regular cas
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1833
↓ 5 callersMethodisAsyncFunction
Is async function. @return true : yes, false: no @throws JavetException the javet exception @since 0.9.13
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:477
↓ 5 callersMethodisClosed
Returns whether this V8 reference has been closed. @return {@code true} if this reference is closed, {@code false} otherwise
src/main/java/com/caoccao/javet/values/reference/IV8ValueReference.java:61
↓ 5 callersMethodisContinuable
Is continuable. @return the boolean @since 0.7.2
src/main/java/com/caoccao/javet/exceptions/JavetTerminatedException.java:51
↓ 5 callersMethodisFinite
Is finite. @return true : finite, false: infinite @since 0.7.0
src/main/java/com/caoccao/javet/values/primitive/V8ValueDouble.java:86
↓ 5 callersMethodisProxyArrayEnabled
Is proxy array enabled. @return true : enabled, false : disabled @since 3.0.4
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:304
↓ 5 callersMethodisProxyListEnabled
Is proxy list enabled. @return true : enabled, false : disabled @since 3.0.3
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:314
↓ 5 callersMethodisProxyMapEnabled
Is proxy map enabled. @return true : enabled, false : disabled @since 0.9.6
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:324
↓ 5 callersMethodisProxySetEnabled
Is proxy set enabled. @return true : enabled, false : disabled @since 0.9.8
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:334
↓ 5 callersMethodisScript
Returns whether this scope type is {@link #Script}. @return {@code true} if this is a script scope, {@code false} otherwise
src/main/java/com/caoccao/javet/enums/JSScopeType.java:156
↓ 5 callersMethodisSourceTextModule
Is source text module. @return true : yes, false : no @throws JavetException the javet exception @since 3.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:191
↓ 5 callersMethodisSyntheticModule
Is synthetic module. @return true : yes, false : no @throws JavetException the javet exception @since 3.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:200
↓ 5 callersMethodisWasm
Returns whether the script is WebAssembly. @return true if the script is WebAssembly
src/main/java/com/caoccao/javet/interop/V8ScriptOrigin.java:152
↓ 5 callersMethodmin
Returns the smaller of two half-precision float values (the value closest to negative infinity). Special values are handled in the following ways: <ul
src/main/java/com/caoccao/javet/utils/Float16.java:360
↓ 5 callersMethodsetActive
Sets active. @param active the active @since 0.7.0
src/main/java/com/caoccao/javet/interop/engine/JavetEngine.java:190
↓ 5 callersMethodsetAllowFsRead
Sets allow fs read. @param allowFsRead the allow fs read @return the self @since 4.0.0
src/main/java/com/caoccao/javet/interop/options/NodeFlags.java:248
↓ 5 callersMethodsetDebugModeEnabled
Sets debug mode enabled. @param debugModeEnabled the debug mode enabled @since 3.1.3
src/main/java/com/caoccao/javet/interop/V8Guard.java:160
↓ 5 callersMethodsetJSRuntimeType
Sets JS runtime type. @param jsRuntimeType the JS runtime type @return the self @since 0.9.1
src/main/java/com/caoccao/javet/interop/engine/JavetEngineConfig.java:427
↓ 5 callersMethodsetMaxHeapSize
Sets max heap size. <p> Currently, by default V8 has a memory limit of 512mb on 32-bit systems, and 1gb on 64-bit systems. The limit can be raised by
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:443
↓ 5 callersMethodsetPostGC
(boolean postGC)
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:1101
↓ 5 callersMethodsetPreGC
(boolean preGC)
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:1106
↓ 5 callersMethodsetSnapshotBlob
Sets snapshot blob. @param snapshotBlob the snapshot blob @return the self @since 3.0.3
src/main/java/com/caoccao/javet/interop/options/RuntimeOptions.java:91
↓ 5 callersMethodsort
Polyfill Array.prototype.sort(). The sort() method of Array instances sorts the elements of an array in place and returns the reference to the same ar
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginList.java:1521
↓ 5 callersMethodterminateExecution
Terminate JavaScript execution in the V8 runtime. @param v8RuntimeHandle the V8 runtime handle
src/main/java/com/caoccao/javet/interop/IV8Native.java:1978
↓ 5 callersMethodtoPrimitive
()
src/test/java/com/caoccao/javet/mock/MockAnnotationBasedCallbackReceiver.java:217
↓ 5 callersMethodtoV8Value
To V8 value from object. <p> Don't override this function, instead, override the one with depth as argument for circular structure detection. @param
src/main/java/com/caoccao/javet/interop/converters/IJavetConverter.java:88
↓ 4 callersMethodClear
cpp/jni/javet_callbacks.cpp:583
↓ 4 callersFunctionIS_V8_CONTEXT
cpp/jni/javet_enums.h:210
← previousnext →301–400 of 4,340, ranked by callers