Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ functions
Functions
4,701 in github.com/dop251/goja
⨍
Functions
4,701
◇
Types & classes
735
↓ 1 callers
Method
setOwnStr
(name unistring.String, value Value, throw bool)
regexp.go:702
↓ 1 callers
Method
setPrototypeOf
(target *Object, proto *Object)
proxy.go:114
↓ 1 callers
Method
setRaw
(idx int, raw uint64)
typedarrays.go:52
↓ 1 callers
Method
setStr
(name unistring.String, val, receiver Value, throw bool)
object.go:1474
↓ 1 callers
Method
setSym
(name *Symbol, val, receiver Value, throw bool)
object.go:1568
↓ 1 callers
Method
setUint64
(idx int, val uint64, byteOrder byteOrder)
typedarrays.go:1109
↓ 1 callers
Method
setValues
(values []Value, objCount int)
array_sparse.go:275
↓ 1 callers
Method
setValuesFromSparse
(items []sparseArrayItem, newMaxIdx int)
array.go:552
↓ 1 callers
Method
shrink
(size int)
object_goslice.go:120
↓ 1 callers
Method
shrink
(size int)
object_goslice_reflect.go:53
↓ 1 callers
Function
shrinkCap
(newSize, oldCap int)
runtime.go:2897
↓ 1 callers
Method
size
()
object.go:1844
↓ 1 callers
Method
skipMultiLineComment
()
parser/lexer.go:561
↓ 1 callers
Method
skipWhiteSpace
()
parser/lexer.go:613
↓ 1 callers
Method
skipWhiteSpaceCheckLineTerminator
()
parser/lexer.go:588
↓ 1 callers
Method
sortCompare
(x, y Value)
builtin_array.go:1763
↓ 1 callers
Method
source
()
func.go:56
↓ 1 callers
Method
speciesConstructor
(o, defaultConstructor *Object)
runtime.go:2635
↓ 1 callers
Method
start
()
profiler.go:246
↓ 1 callers
Method
step
()
runtime.go:2759
↓ 1 callers
Function
stringFromRune
(r rune)
string.go:100
↓ 1 callers
Method
stringKeys
(all bool, _ []Value)
proxy.go:1017
↓ 1 callers
Method
stringKeys
(all bool, keys []Value)
object_template.go:285
↓ 1 callers
Method
stringKeys
(all bool, keys []Value)
object.go:1351
↓ 1 callers
Method
stringKeys
(all bool, accum []Value)
object_dynamic.go:526
↓ 1 callers
Method
stringKeys
(all bool, accum []Value)
object_dynamic.go:772
↓ 1 callers
Function
submatchesToRegexpResults
(submatches [][]int, groups []string)
regexp.go:81
↓ 1 callers
Method
subtract
f =- o. The exponents of both numbers must be the same and the significand of this must be bigger than the significand of other. The result will not b
ftoa/internal/fast/diyfp.go:30
↓ 1 callers
Method
suspend
(ectx *execCtx, tryStackLen, iterStackLen, refStackLen uint32)
vm.go:68
↓ 1 callers
Method
switch6
(tkn0, tkn1 token.Token, chr2 rune, tkn2, tkn3 token.Token, chr3 rune, tkn4, tkn5 token.Token)
parser/lexer.go:503
↓ 1 callers
Method
symbols
(all bool, accum []Value)
proxy.go:1028
↓ 1 callers
Method
symbols
(all bool, accum []Value)
object_template.go:294
↓ 1 callers
Method
symbols
(all bool, accum []Value)
object.go:1369
↓ 1 callers
Method
test
(target String)
regexp.go:648
↓ 1 callers
Function
testAsyncFuncWithTestLib
(src string, expectedResult Value, t *testing.T)
compiler_test.go:296
↓ 1 callers
Method
testAsyncFuncWithTestLib
(src string, expectedResult Value, t *testing.T)
compiler_test.go:269
↓ 1 callers
Function
testAsyncFuncWithTestLibX
(src string, expectedResult Value, t *testing.T)
compiler_test.go:300
↓ 1 callers
Method
testAsyncFuncWithTestLibX
(src string, expectedResult Value, t *testing.T)
compiler_test.go:278
↓ 1 callers
Function
testMarshal
(node interface{})
parser/marshal_test.go:188
↓ 1 callers
Method
thisSymbolValue
(v Value)
builtin_symbol.go:90
↓ 1 callers
Method
throw
(v Value)
func.go:1004
↓ 1 callers
Method
toCallee
(v Value)
vm.go:939
↓ 1 callers
Method
toDiyFp
()
ftoa/internal/fast/diyfp.go:137
↓ 1 callers
Function
toInt
(v Value)
runtime.go:1168
↓ 1 callers
Function
toInt64
(v Value)
runtime.go:1138
↓ 1 callers
Function
toPrimitive
(v Value)
vm.go:4484
↓ 1 callers
Method
toProto
(proto Value)
builtin_object.go:543
↓ 1 callers
Method
toTrimmedUTF8
()
string_unicode.go:389
↓ 1 callers
Method
toTrimmedUTF8
()
string_ascii.go:387
↓ 1 callers
Function
toUint
(v Value)
runtime.go:1183
↓ 1 callers
Function
toUint64
(v Value)
runtime.go:1153
↓ 1 callers
Method
toValue
(val Value, throw bool)
object_gomap_reflect.go:98
↓ 1 callers
Method
toValue
(i interface{}, origValue reflect.Value)
runtime.go:1794
↓ 1 callers
Method
toValueProp
(v Value)
builtin_object.go:114
↓ 1 callers
Method
typedArrayFrom
(ctor, items *Object, mapFn, thisValue Value, taCtor typedArrayObjectCtor, proto *Object)
builtin_typedarrays.go:1399
↓ 1 callers
Method
vmCall
(vm *vm, n int)
func.go:566
↓ 1 callers
Method
wrapJSFunc
(fn Callable, typ reflect.Type)
runtime.go:2251
↓ 1 callers
Method
wrapReflectFunc
(value reflect.Value)
runtime.go:1985
Method
Argument
(idx int)
object.go:265
Function
BenchmarkASCIIConcat
(b *testing.B)
string_test.go:236
Function
BenchmarkAdd
(b *testing.B)
object_test.go:636
Function
BenchmarkAddString
(b *testing.B)
object_test.go:650
Function
BenchmarkAppendFloatBig
(b *testing.B)
ftoa/ftostr_test.go:78
Function
BenchmarkAppendFloatSmall
(b *testing.B)
ftoa/ftostr_test.go:86
Function
BenchmarkArrayGet
(b *testing.B)
array_test.go:68
Function
BenchmarkArrayGetStr
(b *testing.B)
array_test.go:44
Function
BenchmarkArrayPut
(b *testing.B)
array_test.go:95
Function
BenchmarkArraySetEmpty
(b *testing.B)
array_test.go:123
Function
BenchmarkAsciiStringMapGet
(b *testing.B)
runtime_test.go:3249
Function
BenchmarkAssertInt
(b *testing.B)
vm_test.go:270
Function
BenchmarkCallJS
(b *testing.B)
runtime_test.go:3186
Function
BenchmarkCallNative
(b *testing.B)
runtime_test.go:3172
Function
BenchmarkCallReflect
* func TestArrayConcatSparse(t *testing.T) { function foo(a,b,c) { arguments[0] = 1; arguments[1] = 'str'; arguments[2] = 2.1; if(1 === a &&
runtime_test.go:3158
Function
BenchmarkCompile
* func TestBabel(t *testing.T) { src, err := os.ReadFile("babel7.js") if err != nil { t.Fatal(err) } vm := New() _, err = vm.RunString(string(s
compiler_test.go:6103
Function
BenchmarkConv
(b *testing.B)
object_test.go:619
Function
BenchmarkDtostrBig
(b *testing.B)
ftoa/ftostr_test.go:70
Function
BenchmarkDtostrFixed
(b *testing.B)
ftoa/ftostr_test.go:62
Function
BenchmarkDtostrShort
(b *testing.B)
ftoa/ftostr_test.go:54
Function
BenchmarkDtostrSmall
(b *testing.B)
ftoa/ftostr_test.go:46
Function
BenchmarkEmptyLoop
(b *testing.B)
vm_test.go:214
Function
BenchmarkFib
(b *testing.B)
vm_test.go:173
Function
BenchmarkFuncCall
(b *testing.B)
vm_test.go:248
Function
BenchmarkGet
(b *testing.B)
object_test.go:559
Function
BenchmarkGetStr
(b *testing.B)
object_test.go:578
Function
BenchmarkGoReflectGet
(b *testing.B)
object_goreflect_test.go:906
Function
BenchmarkGoSliceReflectSet
(b *testing.B)
object_goslice_reflect_test.go:512
Function
BenchmarkJSONStringify
(b *testing.B)
builtin_json_test.go:117
Function
BenchmarkLoadVal
(b *testing.B)
vm_test.go:279
Function
BenchmarkMainLoop
(b *testing.B)
runtime_test.go:3206
Function
BenchmarkMapDelete
(b *testing.B)
builtin_map_test.go:207
Function
BenchmarkMapDeleteJS
(b *testing.B)
builtin_map_test.go:222
Function
BenchmarkNew
(b *testing.B)
runtime_test.go:3263
Function
BenchmarkPut
(b *testing.B)
object_test.go:521
Function
BenchmarkPutStr
(b *testing.B)
object_test.go:540
Function
BenchmarkRegexpMatch
(b *testing.B)
regexp_test.go:825
Function
BenchmarkRegexpMatchAll
(b *testing.B)
regexp_test.go:912
Function
BenchmarkRegexpMatchCache
(b *testing.B)
regexp_test.go:851
Function
BenchmarkRegexpSingleExec
(b *testing.B)
regexp_test.go:973
Function
BenchmarkRegexpSplitWithBackRef
(b *testing.B)
regexp_test.go:809
Function
BenchmarkStringMapGet
(b *testing.B)
runtime_test.go:3222
← previous
next →
1,601–1,700 of 4,701, ranked by callers