Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eclipsesource/J2V8
/ functions
Functions
2,731 in github.com/eclipsesource/J2V8
⨍
Functions
2,731
◇
Types & classes
158
↳
Endpoints
12
↓ 5 callers
Method
getArray
Returns the V8Array value associated with this key. If the value associated with this key does not exist then UNDEFINED is returned. If the value exis
src/main/java/com/eclipsesource/v8/V8Object.java:202
↓ 5 callers
Method
getByte
Returns the byte value associated at this index. If the value at this index does not exist, or cannot be cast to a byte, then V8ResultUndefined except
src/main/java/com/eclipsesource/v8/V8Array.java:168
↓ 5 callers
Method
getData
Returns the data object associated with this runtime, null if no object has been associated. @param key The key used to reference this object @retur
src/main/java/com/eclipsesource/v8/V8.java:231
↓ 5 callers
Method
getExecutor
Returns the executor associated with the given key. @param key The key the executor was associated with. @return The executor or null if it does not
src/main/java/com/eclipsesource/v8/V8.java:477
↓ 5 callers
Method
getFileName
Get the file name contains the script that was currently executing. @return The file name that contains the script.
src/main/java/com/eclipsesource/v8/V8ScriptException.java:63
↓ 5 callers
Method
getLineNumber
Get the line number that the failure occurred on. @return The line number the failure occurred on.
src/main/java/com/eclipsesource/v8/V8ScriptException.java:72
↓ 5 callers
Method
getName
Returns the name of this property. @return The name of this property.
src/main/java/com/eclipsesource/v8/debug/mirror/PropertyMirror.java:29
↓ 5 callers
Method
getProperties
Return the properties for this object as an array of PropertyMirror objects. @param kind Indicate whether named, indexed or both kinds of properties
src/main/java/com/eclipsesource/v8/debug/mirror/ObjectMirror.java:81
↓ 5 callers
Method
getSourceLine
Returns the source line that this break event occurred on. @return The line number that this break event occurred on.
src/main/java/com/eclipsesource/v8/debug/BreakEvent.java:33
↓ 5 callers
Function
getType
jni/com_eclipsesource_v8_V8Impl.cpp:1583
↓ 5 callers
Method
isAndroid
()
src/main/java/com/eclipsesource/v8/PlatformDetector.java:94
↓ 5 callers
Method
logError
(final Throwable t)
src/main/java/com/eclipsesource/v8/debug/V8DebugServer.java:257
↓ 5 callers
Method
performTests
(final String expectedOsName, final String expectedVendor, final String expectedLibExtension)
src/test/java/com/eclipsesource/v8/LibraryLoaderTest.java:124
↓ 5 callers
Method
putAll
(final Map<? extends String, ? extends V> m)
src/main/java/com/eclipsesource/v8/utils/V8PropertyMap.java:122
↓ 5 callers
Method
registerResource
Registers a resource with this runtime. All registered resources will be released before the runtime is released. @param resource The resource to reg
src/main/java/com/eclipsesource/v8/V8.java:514
↓ 5 callers
Method
safeRelease
(final Releasable releasable)
src/main/java/com/eclipsesource/v8/NodeJS.java:215
↓ 5 callers
Method
safeRelease
(final Releasable object)
src/main/java/com/eclipsesource/v8/debug/DebugHandler.java:355
↓ 5 callers
Method
setPrototype
Sets the prototype of the receiver. @param value The prototype to associate with this V8Object. @return The receiver.
src/main/java/com/eclipsesource/v8/V8Object.java:561
↓ 5 callers
Method
setVariableValue
Sets the value of a variable in this scope. @param name The name of the variable @param value The value
src/main/java/com/eclipsesource/v8/debug/mirror/Scope.java:59
↓ 5 callers
Method
toString
()
src/main/java/com/eclipsesource/v8/debug/mirror/Mirror.java:274
↓ 5 callers
Method
voidMethodVarArgsAndOthers
(int x, int y, final Object... args)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:121
↓ 5 callers
Method
voidMethodVarArgsReceiverAndOthers
(V8Object recier, int x, int y, final Object... args)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:123
↓ 5 callers
Method
write
(self, b)
nodejs.py:39
↓ 5 callers
Method
write
(self, data)
build_system/tests/runner/output_redirector.py:7
↓ 4 callers
Function
ToCString
jni/com_eclipsesource_v8_V8Impl.cpp:210
↓ 4 callers
Method
_add
(long v8RuntimePtr, long objectHandle, final String key, final int value)
src/main/java/com/eclipsesource/v8/V8.java:1540
↓ 4 callers
Method
_getType
(long v8RuntimePtr, long objectHandle, final String key)
src/main/java/com/eclipsesource/v8/V8.java:1588
↓ 4 callers
Method
addArrayDoubleItem
(final long v8RuntimePtr, final long arrayHandle, final double value)
src/main/java/com/eclipsesource/v8/V8.java:1368
↓ 4 callers
Method
addArrayNullItem
(final long v8RuntimePtr, final long arrayHandle)
src/main/java/com/eclipsesource/v8/V8.java:1384
↓ 4 callers
Method
addArrayUndefinedItem
(final long v8RuntimePtr, final long arrayHandle)
src/main/java/com/eclipsesource/v8/V8.java:1380
↓ 4 callers
Method
addUndefined
Associate UNDEFINED with the given key. @param key The key to associate UNDEFINED with. @return The receiver.
src/main/java/com/eclipsesource/v8/V8Object.java:533
↓ 4 callers
Method
close
()
src/main/java/com/eclipsesource/v8/V8Array.java:640
↓ 4 callers
Method
constructReflectiveAnswer
(final V8Object receiver, final V8Array parameters, final Object result)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:1951
↓ 4 callers
Method
createTemporaryScriptFile
(final String script, final String name)
src/test/java/com/eclipsesource/v8/NodeJSTest.java:194
↓ 4 callers
Method
entrySet
()
src/main/java/com/eclipsesource/v8/utils/V8PropertyMap.java:167
↓ 4 callers
Method
executeIntegerFunction
Invoke a JavaScript function and return the result as a integer. If the result is not an integer, or does not exist, then V8ResultUndefined is thrown.
src/main/java/com/eclipsesource/v8/V8Object.java:245
↓ 4 callers
Method
executeVoidFunction
Invokes a JavaScript function which does not return a result. @param name The name of the JS Function to call. @param parameters The parameters to p
src/main/java/com/eclipsesource/v8/V8Object.java:430
↓ 4 callers
Function
flush_cache
(args = None, silent = False)
nodejs.py:49
↓ 4 callers
Method
getEndColumn
Get the JavaScript column where the error ends. @return The JavaScript column where the error ends.
src/main/java/com/eclipsesource/v8/V8ScriptException.java:90
↓ 4 callers
Method
getException
Gets the exception that was thrown during the JavaScript execution. @return The exception that was thrown during the JavaScript execution, or null if
src/main/java/com/eclipsesource/v8/utils/V8Executor.java:183
↓ 4 callers
Method
getStartColumn
Get the JavaScript column where the error begins. @return The JavaScript column where the error begins.
src/main/java/com/eclipsesource/v8/V8ScriptException.java:81
↓ 4 callers
Method
getV8
Returns the V8 runtime backing by this ConcurrentV8 @return The V8 runtime backing this ConcurrentV8
src/main/java/com/eclipsesource/v8/utils/ConcurrentV8.java:46
↓ 4 callers
Method
getValue
Returns the value of this property. @return The value of this property.
src/main/java/com/eclipsesource/v8/debug/mirror/PropertyMirror.java:38
↓ 4 callers
Method
indexOf
(final byte[] pattern, final byte[] array, final int start, final int end)
src/main/java/com/eclipsesource/v8/debug/V8DebugServer.java:668
↓ 4 callers
Method
isConnected
()
src/main/java/com/eclipsesource/v8/debug/V8DebugServer.java:293
↓ 4 callers
Method
keySet
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:162
↓ 4 callers
Method
load
(final String libName, final StringBuffer message)
src/main/java/com/eclipsesource/v8/LibraryLoader.java:118
↓ 4 callers
Method
persist
Persist an object that is currently being managed by this Manager. Objects that are being managed by a MemoryManager will be released once the Memory
src/main/java/com/eclipsesource/v8/utils/MemoryManager.java:73
↓ 4 callers
Method
putFloat
(final float value)
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:402
↓ 4 callers
Method
removeReferenceHandler
Removes an existing ReferenceHandler from the collection of reference handlers. If the ReferenceHandler does not exist in the collection, it is ignore
src/main/java/com/eclipsesource/v8/V8.java:196
↓ 4 callers
Method
runMessageLoop
()
src/test/java/com/eclipsesource/v8/NodeJSTest.java:188
↓ 4 callers
Method
set_cross_compilers
(self, compilers_decl)
build_system/build_structures.py:28
↓ 4 callers
Method
set_cross_configs
(self, cross_configs_decl)
build_system/build_structures.py:39
↓ 4 callers
Method
set_file_abis
(self, abis_decl)
build_system/build_structures.py:42
↓ 4 callers
Method
skipTest
NOTE: we need to skip these tests, because on Android the SystemClassLoader can not be cast to an URLClassLoader and some other issues (see TestClassL
src/test/java/com/eclipsesource/v8/V8RuntimeNotLoadedTest.java:44
↓ 4 callers
Method
strictEquals
(final long v8RuntimePtr, final long objectHandle, final long that)
src/main/java/com/eclipsesource/v8/V8.java:1230
↓ 4 callers
Function
throwExecutionException
jni/com_eclipsesource_v8_V8Impl.cpp:2016
↓ 4 callers
Method
voidMethodV8ObjectVarArgs
(final V8Object... args)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:119
↓ 4 callers
Method
voidMethodWithStringParameter
(final String string)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:79
↓ 4 callers
Function
write_stdout
(s)
docker/android/kill_supervisor.py:6
↓ 3 callers
Method
__exec_cmd_core
(self, cmd, config, cwd)
build_system/build_structures.py:114
↓ 3 callers
Method
addNull
Associate NULL with the given key. @param key The key to associate NULL with. @return The receiver.
src/main/java/com/eclipsesource/v8/V8Object.java:547
↓ 3 callers
Method
arrayGet
(final long v8RuntimePtr, final int expectedType, final long arrayHandle, final int index)
src/main/java/com/eclipsesource/v8/V8.java:1356
↓ 3 callers
Function
atomic_step
Atomic build-steps are just directly forwarded to the build-executor. This function will also automatically add an additional anti-step with
build_system/build_executor.py:24
↓ 3 callers
Method
computeLibraryFullName
(boolean withLinuxVendor)
src/main/java/com/eclipsesource/v8/LibraryLoader.java:53
↓ 3 callers
Method
createMirror
(final V8Object mirror)
src/main/java/com/eclipsesource/v8/debug/mirror/Mirror.java:253
↓ 3 callers
Function
createString
jni/com_eclipsesource_v8_V8Impl.cpp:349
↓ 3 callers
Method
entrySet
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:180
↓ 3 callers
Method
equals
(final Object that)
src/main/java/com/eclipsesource/v8/V8Array.java:675
↓ 3 callers
Method
exec
Execute a NodeJS script. This will load the script and execute it on the next tick. This is the same as how NodeJS executes scripts at startup. Since
src/main/java/com/eclipsesource/v8/NodeJS.java:183
↓ 3 callers
Method
executeBooleanFunction
Invoke a JavaScript function and return the result as a boolean. If the result is not a boolean, or does not exist, then V8ResultUndefined is thrown.
src/main/java/com/eclipsesource/v8/V8Object.java:302
↓ 3 callers
Method
executeDoubleFunction
Invoke a JavaScript function and return the result as a double. If the result is not a double, or does not exist, then V8ResultUndefined is thrown. @
src/main/java/com/eclipsesource/v8/V8Object.java:264
↓ 3 callers
Method
executeModule
Executes a JS Script module on this runtime and returns the result as a Java Object. Primitives will be boxed. If the script does not match the signa
src/main/java/com/eclipsesource/v8/V8.java:743
↓ 3 callers
Function
execute_build_step
Creates an immutable copy of a single BuildStep configuration and executes it in the build-system
build_system/build_executor.py:230
↓ 3 callers
Method
getArgumentCount
Returns the number of arguments to this frame. @return The number of arguments passed to this frame.
src/main/java/com/eclipsesource/v8/debug/mirror/Frame.java:89
↓ 3 callers
Method
getArgumentName
Returns the name of the argument at the given index. @param index The index of the argument name to return. @return The name of argument at the given
src/main/java/com/eclipsesource/v8/debug/mirror/Frame.java:99
↓ 3 callers
Method
getArgumentValue
Returns the value of the argument at the given index. @param index The index of the argument value to return. @return The value of argument at the gi
src/main/java/com/eclipsesource/v8/debug/mirror/Frame.java:115
↓ 3 callers
Method
getBreakPointNumber
Returns the ID of this breakpoint. @return The ID (breakpoint number) of this breakpoint.
src/main/java/com/eclipsesource/v8/debug/ScriptBreakPoint.java:39
↓ 3 callers
Method
getCondition
Returns the condition set on this breakpoint or the String 'undefined' if a condition was not set. @return The condition set on this breakpoint.
src/main/java/com/eclipsesource/v8/debug/ScriptBreakPoint.java:74
↓ 3 callers
Method
getDouble
()
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:422
↓ 3 callers
Method
getFloat
()
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:396
↓ 3 callers
Method
getLocalCount
Returns the number of local variables in this frame. @return The number of local variables accessible from this stack frame.
src/main/java/com/eclipsesource/v8/debug/mirror/Frame.java:162
↓ 3 callers
Method
getLocalName
Returns the name of the local variable at the given index. @param index The index of the local variable name to return. @return The name of local var
src/main/java/com/eclipsesource/v8/debug/mirror/Frame.java:172
↓ 3 callers
Method
getV8Version
Gets the version of the V8 engine @return The version of the V8 Engine.
src/main/java/com/eclipsesource/v8/V8.java:335
↓ 3 callers
Method
get_container_name
(self, config)
build_system/docker_build.py:67
↓ 3 callers
Method
hasException
Determines if an exception was thrown during the JavaScript execution. @return True if an exception was thrown during the JavaScript execution, false
src/main/java/com/eclipsesource/v8/utils/V8Executor.java:173
↓ 3 callers
Method
intLimit
()
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:454
↓ 3 callers
Method
isArray
Returns true if this mirror object points to an 'Array' type. @return True iff this mirror object points to an 'Array' type.
src/main/java/com/eclipsesource/v8/debug/mirror/Mirror.java:137
↓ 3 callers
Method
isEmpty
()
src/main/java/com/eclipsesource/v8/utils/V8PropertyMap.java:46
↓ 3 callers
Method
isLinux
()
src/main/java/com/eclipsesource/v8/PlatformDetector.java:86
↓ 3 callers
Method
isObject
Returns true if this mirror object points to an 'Object' type. @return True iff this mirror object points to an 'Object' type.
src/main/java/com/eclipsesource/v8/debug/mirror/Mirror.java:119
↓ 3 callers
Method
isReleased
()
src/main/java/com/eclipsesource/v8/V8Array.java:631
↓ 3 callers
Method
isShuttingDown
Returns true if shutdown() or forceTermination() was called to shutdown this executor. @return True if shutdown() or forceTermination() was called, f
src/main/java/com/eclipsesource/v8/utils/V8Executor.java:231
↓ 3 callers
Function
isUndefined
jni/com_eclipsesource_v8_V8Impl.cpp:311
↓ 3 callers
Method
isUndefined
Returns true if this mirror object points to the type 'undefined'. False otherwise. @return True iff this mirror object points to an 'undefined' type
src/main/java/com/eclipsesource/v8/debug/mirror/Mirror.java:65
↓ 3 callers
Method
isWindows
()
src/main/java/com/eclipsesource/v8/PlatformDetector.java:78
↓ 3 callers
Function
multi_step
Forwards a collection/sequence of build-steps to the build-executor when the defined step alias name was detected. Also the inverted anti-ste
build_system/build_executor.py:44
↓ 3 callers
Method
normalize
(final String value)
src/main/java/com/eclipsesource/v8/PlatformDetector.java:326
↓ 3 callers
Method
prepareStep
Indicates to the debugger how to proceed. If not called, the debugger will continue running until the next breakpoint is hit. @param action The step
src/main/java/com/eclipsesource/v8/debug/ExecutionState.java:55
↓ 3 callers
Method
remove
(final Object key)
src/main/java/com/eclipsesource/v8/utils/V8PropertyMap.java:109
← previous
next →
201–300 of 2,731, ranked by callers