MCPcopy Create free account

hub / github.com/eclipsesource/J2V8 / functions

Functions2,731 in github.com/eclipsesource/J2V8

↓ 13 callersMethodexecuteDoubleFunction
(final long v8RuntimePtr, final long objectHandle, final String name, final long parametersHandle)
src/main/java/com/eclipsesource/v8/V8.java:1198
↓ 13 callersMethodgetBoolean
(final long v8RuntimePtr, final long objectHandle, final String key)
src/main/java/com/eclipsesource/v8/V8.java:1178
↓ 13 callersMethodgetBooleans
Returns the booleans contained in a subset of a V8Array. If the subset contains elements other than booleans, then a V8ResultUndefined exception is th
src/main/java/com/eclipsesource/v8/V8Array.java:298
↓ 13 callersMethodgetInt
()
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:344
↓ 13 callersMethodgetKeys
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1170
↓ 13 callersMethodgetObjectReferenceCount
Returns the number of handles currently being tracked by this memory manager. Throws an IllegalStateException if the memory manager is used after it'
src/main/java/com/eclipsesource/v8/utils/MemoryManager.java:58
↓ 13 callersMethodinvoke
Called when a JS Function invokes a the registered Java method. @param receiver The V8Object that the function was called on. @param parameters The p
src/main/java/com/eclipsesource/v8/JavaCallback.java:35
↓ 13 callersMethodput
(final byte b)
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:193
↓ 13 callersMethodrun
Execute the code on the provided runtime. @param runtime The V8 runtime assigned to this runnable.
src/main/java/com/eclipsesource/v8/utils/V8Runnable.java:27
↓ 13 callersMethodsetupWindowAlias
Global Object Prototype Manipulation
src/test/java/com/eclipsesource/v8/V8Test.java:1210
↓ 13 callersMethodvoidMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:67
↓ 12 callersMethodgetBytes
Returns the bytes contained in a subset of a V8Array. If the subset contains elements that cannot be cast to bytes, then a V8ResultUndefined exception
src/main/java/com/eclipsesource/v8/V8Array.java:316
↓ 12 callersMethodgetScope
Returns the scope at a given index. @param index The index @return The scope
src/main/java/com/eclipsesource/v8/debug/mirror/Frame.java:188
↓ 12 callersMethodgetStructureSize
Computes the size of the structures required for each TypedArray variation. @param type The type of the TypeArray @return The size of the structures
src/main/java/com/eclipsesource/v8/V8TypedArray.java:128
↓ 12 callersMethodgetV8Result
Returns an object usable with a V8 Runtime which represents the parameter 'value'. If 'value' is an Integer, Boolean, Double or String, then 'value' i
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:288
↓ 12 callersMethodsize
()
src/main/java/com/eclipsesource/v8/utils/V8PropertyMap.java:37
↓ 12 callersMethodtoV8Array
Creates a V8Array from a java.util.List. This is a deep copy, so if the list contains other lists (or maps) they will also be converted. @param v8 Th
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:263
↓ 12 callersMethodtoV8Object
Creates a V8Object from a java.util.Map. This is a deep copy, so if the map contains other maps (or lists) they will also be converted. @param v8 The
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:243
↓ 11 callersMethodcontains
Determine if a key/value pair with this key exists in the Object. @param key The key to check @return True if the key exists, false otherwise.
src/main/java/com/eclipsesource/v8/V8Object.java:73
↓ 11 callersMethodgetDoubles
Returns the doubles contained in a subset of a V8Array. If the subset contains elements other than doubles, then a V8ResultUndefined exception is thro
src/main/java/com/eclipsesource/v8/V8Array.java:258
↓ 11 callersMethodgetKeys
Returns all the keys associated with this JavaScript Object. Keys associated with the objects prototype are not returned. @return The keys associated
src/main/java/com/eclipsesource/v8/V8Object.java:86
↓ 11 callersMethodlimit
Returns the buffers limit @return the buffers limit
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:93
↓ 11 callersMethodregisterJavaMethod
Register a Java method as a JavaScript function. When the JS Function is invoked the Java method will be called. @param callback The JavaCallback to
src/main/java/com/eclipsesource/v8/V8Object.java:577
↓ 11 callersMethodsetWeak
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1150
↓ 11 callersMethodskipTest
()
src/test/java/com/eclipsesource/v8/NodeJSTest.java:50
↓ 11 callersMethodtwin
()
src/main/java/com/eclipsesource/v8/V8Object.java:61
↓ 11 callersMethodv8ObjectMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:105
↓ 10 callersFunction__add_platform_deps
(platform, include, vendor = None)
nodejs.py:130
↓ 10 callersMethodacquire
Acquire the lock if it's currently not acquired by another thread. If it's currently held by another thread, an Error will be thrown.
src/main/java/com/eclipsesource/v8/V8Locker.java:44
↓ 10 callersMethoddispatchProtocolMessage
(final long V8InspectorPtr, final String protocolMessage)
src/main/java/com/eclipsesource/v8/V8.java:289
↓ 10 callersMethodexec_host_cmd
Execute a shell-command on the host system (injects $CWD as the location of the J2V8 source directory
build_system/build_structures.py:102
↓ 10 callersMethodgetBoolean
Returns the boolean value associated with this key. If the value associated with this key does not exist, or if it's not a boolean, then V8ResultUndef
src/main/java/com/eclipsesource/v8/V8Object.java:151
↓ 10 callersMethodgetBuffer
Provide access to the underlying ByteBuffer used for this TypedArray. The V8ArrayBuffer must be released. @return The V8ArrayBuffer used to back this
src/main/java/com/eclipsesource/v8/V8TypedArray.java:79
↓ 10 callersMethodhandleBreak
(final BreakHandler handler)
src/test/java/com/eclipsesource/v8/debug/ScopeTest.java:278
↓ 10 callersMethodhandleBreak
(final BreakHandler handler)
src/test/java/com/eclipsesource/v8/debug/FrameTest.java:287
↓ 10 callersMethodpushValue
Pushes a Java Object to a V8Array by first converting it to a V8Value if needed. If the value is a boxed primitive, then the primitive will be pushed.
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:316
↓ 10 callersMethodputInt
(final int value)
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:350
↓ 10 callersMethodread
(self, size)
nodejs.py:29
↓ 10 callersMethodtoString
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1226
↓ 10 callersMethodv8ArrayMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:109
↓ 9 callersMethodbooleanMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:97
↓ 9 callersMethodcheckKey
(final String key)
src/main/java/com/eclipsesource/v8/V8Object.java:657
↓ 9 callersMethodcontainsKey
(final Object key)
src/main/java/com/eclipsesource/v8/utils/V8Map.java:85
↓ 9 callersFunctiongetHandle
jni/com_eclipsesource_v8_V8Impl.cpp:315
↓ 9 callersMethodgetJSMessage
Get the message set by the JavaScript exception. @return The message set by the JavaScript exception.
src/main/java/com/eclipsesource/v8/V8ScriptException.java:128
↓ 9 callersMethodgetScriptBreakPoint
Get the BreakPoint as referenced by the given ID. @param breakPointID The BreakPoint ID. @return The BreakPoint as referenced by the given ID.
src/main/java/com/eclipsesource/v8/debug/DebugHandler.java:226
↓ 9 callersMethodgetType
Returns the type of this scope. @return The type of scope.
src/main/java/com/eclipsesource/v8/debug/mirror/Scope.java:49
↓ 9 callersMethodgetV8ArrayBuffer
Returns the underlying V8ArrayBuffer. @return the underlying V8ArrayBuffer.
src/main/java/com/eclipsesource/v8/utils/ArrayBuffer.java:65
↓ 9 callersMethodgetValue
Returns the Object that this mirror represents. @return The object that this mirror represents.
src/main/java/com/eclipsesource/v8/debug/mirror/ValueMirror.java:31
↓ 9 callersMethodhasLock
Check if the current thread holds this lock. @return Returns true if the current thread holds the lock, false otherwise.
src/main/java/com/eclipsesource/v8/V8Locker.java:109
↓ 9 callersMethodrelease
Release the lock if it's currently held by the calling thread. If the current thread does not hold the lock, and error will be thrown. If no thread ho
src/main/java/com/eclipsesource/v8/V8Locker.java:79
↓ 9 callersMethodrelease
()
src/main/java/com/eclipsesource/v8/debug/ScriptBreakPoint.java:90
↓ 9 callersMethodskipTest
()
src/test/java/com/eclipsesource/v8/PlatformDetectorTest.java:45
↓ 9 callersFunctionthrowV8RuntimeException
jni/com_eclipsesource_v8_V8Impl.cpp:2089
↓ 9 callersMethodvalues
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:171
↓ 8 callersMethodcheckScript
(final String script)
src/main/java/com/eclipsesource/v8/V8.java:855
↓ 8 callersMethodflush
(self)
build_system/tests/runner/output_redirector.py:15
↓ 8 callersMethodgetDouble
Returns the double value associated with this key. If the value associated with this key does not exist, or if it's not a double, then V8ResultUndefin
src/main/java/com/eclipsesource/v8/V8Object.java:168
↓ 8 callersMethodisEmpty
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:76
↓ 8 callersMethodisValue
()
src/main/java/com/eclipsesource/v8/debug/mirror/ValueMirror.java:35
↓ 8 callersMethodsetFlags
Sets the V8 flags on the platform. All runtimes will be created with the same flags. Flags must be set before the runtime is created. @param flags Th
src/main/java/com/eclipsesource/v8/V8.java:103
↓ 8 callersMethodstringMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:101
↓ 8 callersMethodterminateExecution
Terminates any JavaScript executing on this runtime. Once the runtime is released, any executors that were spawned will also be force terminated.
src/main/java/com/eclipsesource/v8/V8.java:383
↓ 7 callersFunctionaddValueWithKey
jni/com_eclipsesource_v8_V8Impl.cpp:361
↓ 7 callersMethodclear
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:149
↓ 7 callersMethoddoubleMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:91
↓ 7 callersMethodexecuteStringFunction
Invoke a JavaScript function and return the result as a String. If the result is not a String, or does not exist, then V8ResultUndefined is thrown. @
src/main/java/com/eclipsesource/v8/V8Object.java:283
↓ 7 callersMethodgetConstructorName
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1388
↓ 7 callersFunctiongetResult
jni/com_eclipsesource_v8_V8Impl.cpp:2123
↓ 7 callersMethodgetResult
Gets the result of the JavaScript that was executed on this executor. @return The result of the JS Script that was executed on this executor.
src/main/java/com/eclipsesource/v8/utils/V8Executor.java:91
↓ 7 callersMethodintMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:83
↓ 7 callersFunctioninvokeFunction
jni/com_eclipsesource_v8_V8Impl.cpp:974
↓ 7 callersMethodlength
Returns the length of the array pointed to by this Array Mirror @return The length of the array.
src/main/java/com/eclipsesource/v8/debug/mirror/ArrayMirror.java:36
↓ 7 callersMethodobjectMethodNoParameter
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:113
↓ 7 callersMethodregisterV8Executor
Registers an executor with this runtime. An executor is another runtime with its own thread. By registering an executor, it can be terminated when thi
src/main/java/com/eclipsesource/v8/V8.java:447
↓ 7 callersMethodrelease
Releases the underlying {@link V8} instance. This method should be invoked once you're done using this object, otherwise a large amount of garbage co
src/main/java/com/eclipsesource/v8/utils/ConcurrentV8.java:81
↓ 7 callersMethodrun
Runs an {@link V8Runnable} on the V8 thread. <b>Note: </b> This method executes synchronously, not asynchronously; it will not return until the passe
src/main/java/com/eclipsesource/v8/utils/ConcurrentV8.java:60
↓ 7 callersMethodtoString
()
src/main/java/com/eclipsesource/v8/V8Object.java:648
↓ 7 callersMethodvoidMethodWithObjectParameter
(final V8Object object)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:75
↓ 6 callersMethodclose
()
src/main/java/com/eclipsesource/v8/debug/mirror/PropertiesArray.java:47
↓ 6 callersFunctioncompileScript
jni/com_eclipsesource_v8_V8Impl.cpp:853
↓ 6 callersMethodcomputeLibraryShortName
Returns the base-name for the native J2V8 library file. @param withLinuxVendor include/exclude the {vendor} part from the returned filename <p>NOTE: V
src/main/java/com/eclipsesource/v8/LibraryLoader.java:38
↓ 6 callersMethodexecuteFunction
Invoke a JavaScript function and return the result as a Java Object. @param name The name of the JS Function to call. @param parameters The paramete
src/main/java/com/eclipsesource/v8/V8Object.java:365
↓ 6 callersMethodgetDouble
(final long v8RuntimePtr, final long objectHandle, final String key)
src/main/java/com/eclipsesource/v8/V8.java:1182
↓ 6 callersFunctiongetIsolate
jni/com_eclipsesource_v8_V8Impl.cpp:1991
↓ 6 callersMethodgetShort
()
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:318
↓ 6 callersMethodgetV8Type
Returns the 'type' of this V8Value. The available types are defined as constants in {@link V8Value}. Only types that inherit from {@link V8Value} can
src/main/java/com/eclipsesource/v8/V8Value.java:182
↓ 6 callersFunctiongetValueWithKey
jni/com_eclipsesource_v8_V8Impl.cpp:355
↓ 6 callersMethodpostMessage
Posts a message to the receiver to be processed by the executor and sent to the V8 runtime via the messageHandler. @param message The message to send
src/main/java/com/eclipsesource/v8/utils/V8Executor.java:101
↓ 6 callersMethodpushUndefined
Pushes undefined to the next available spot in the Array. In particular, this[length] = undefined; @return The receiver.
src/main/java/com/eclipsesource/v8/V8Array.java:606
↓ 6 callersFunctionrunScript
jni/com_eclipsesource_v8_V8Impl.cpp:873
↓ 6 callersMethodsetData
Associates an arbitrary object with this runtime. @param key The key used to reference this object @param value The object to associate with this run
src/main/java/com/eclipsesource/v8/V8.java:216
↓ 6 callersFunctionsetVar
(var, value, type = "STRING")
build_system/cmake_utils.py:4
↓ 6 callersFunctionthrowResultUndefinedException
jni/com_eclipsesource_v8_V8Impl.cpp:2000
↓ 5 callersMethodaddObjectReference
(final long objectHandle)
src/main/java/com/eclipsesource/v8/V8Value.java:73
↓ 5 callersMethodaddReleaseHandler
Adds a handler that will be called when the runtime is being released. The runtime will still be available when the handler is executed. @param handl
src/main/java/com/eclipsesource/v8/V8.java:186
↓ 5 callersMethodbuild
(self, config)
build_system/build_structures.py:80
↓ 5 callersMethodcomplete_test_case
Disconnect output redirection and return buffer. Safe to call multiple times.
build_system/tests/runner/test_result.py:143
↓ 5 callersMethodconstructAnswer
(final V8Object receiver, final V8Array parameters, final Object result)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:1931
↓ 5 callersMethodcreateNodeJS
Creates a NodeJS Runtime @return The NodeJS runtime. May throw an UnsupportedOperationException if node.js integration has not been compiled for you
src/main/java/com/eclipsesource/v8/NodeJS.java:47
← previousnext →101–200 of 2,731, ranked by callers