- Sort Score
- Result 10 results
- Languages All
Results 91 - 99 of 99 for wasmv3 (2.12 sec)
-
src/encoding/xml/read.go
// Unmarshal a single XML element into val. func (d *Decoder) unmarshal(val reflect.Value, start *StartElement, depth int) error { if depth >= maxUnmarshalDepth || runtime.GOARCH == "wasm" && depth >= maxUnmarshalDepthWasm { return errUnmarshalDepth } // Find start element if we need it. if start == nil { for { tok, err := d.Token() if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 22.4K bytes - Viewed (0) -
src/runtime/netpoll.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix || (js && wasm) || wasip1 || windows package runtime import ( "internal/runtime/atomic" "runtime/internal/sys" "unsafe" ) // Integrated network poller (platform-independent part). // A particular implementation (epoll/kqueue/port/AIX/Windows)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
// WASI does not support unix-like permissions, but Go programs are likely // to expect the permission bits to not be zero so we set defaults to help // avoid breaking applications that are migrating to WASM. if st.Filetype == FILETYPE_DIRECTORY { st.Mode = 0700 } else { st.Mode = 0600 } } func Unlink(path string) error { if path == "" { return EINVAL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0) -
src/encoding/xml/read_test.go
t.Fatalf("Unmarshal unexpected error: got %q, want %q", err, errUnmarshalDepth) } } func TestCVE202230633(t *testing.T) { if testing.Short() || runtime.GOARCH == "wasm" { t.Skip("test requires significant memory") } defer func() { p := recover() if p != nil { t.Fatal("Unmarshal panicked") } }() var example struct { Things []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
deferreturn := uint32(0) lastWasmAddr := uint32(0) relocs := ldr.Relocs(s) for ri := 0; ri < relocs.Count(); ri++ { r := relocs.At(ri) if target.IsWasm() && r.Type() == objabi.R_ADDR { // wasm/ssa.go generates an ARESUMEPOINT just // before the deferreturn call. The "PC" of // the deferreturn call is stored in the // R_ADDR relocation on the ARESUMEPOINT. lastWasmAddr = uint32(r.Add()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
var target *obj.Addr prog := &obj.Prog{ Ctxt: p.ctxt, Pos: p.pos(), As: op, } targetAddr := &prog.To switch len(a) { case 0: if p.arch.Family == sys.Wasm { target = &obj.Addr{Type: obj.TYPE_NONE} break } p.errorf("wrong number of arguments to %s instruction", op) return case 1: target = &a[0] case 2: // Special 2-operand jumps.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/text/template/exec.go
// recursive template invocations. This limit allows us to return // an error instead of triggering a stack overflow. var maxExecDepth = initMaxExecDepth() func initMaxExecDepth() int { if runtime.GOARCH == "wasm" { return 1000 } return 100000 } // state represents the state of an execution. It's not part of the // template so that multiple executions of the same template // can execute in parallel.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/runtime/stack.go
} } if gp.stack.lo == 0 { throw("missing stack in newstack") } sp := gp.sched.sp if goarch.ArchFamily == goarch.AMD64 || goarch.ArchFamily == goarch.I386 || goarch.ArchFamily == goarch.WASM { // The call to morestack cost a word. sp -= goarch.PtrSize } if stackDebug >= 1 || sp < gp.stack.lo { print("runtime: newstack sp=", hex(sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
src/runtime/panic.go
// triggered this panic. func panicCheck1(pc uintptr, msg string) { if goarch.IsWasm == 0 && stringslite.HasPrefix(funcname(findfunc(pc)), "runtime.") { // Note: wasm can't tail call, so we can't get the original caller's pc. throw(msg) } // TODO: is this redundant? How could we be in malloc // but not in the runtime? runtime/internal/*, maybe? gp := getg()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0)