Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 482 for gojs (0.04 sec)

  1. src/runtime/os_js.go

    	if fd > 2 {
    		throw("runtime.write to fd > 2 is unsupported")
    	}
    	wasmWrite(fd, p, n)
    	return n
    }
    
    //go:wasmimport gojs runtime.wasmWrite
    //go:noescape
    func wasmWrite(fd uintptr, p unsafe.Pointer, n int32)
    
    func usleep(usec uint32) {
    	// TODO(neelance): implement usleep
    }
    
    //go:wasmimport gojs runtime.getRandomData
    //go:noescape
    func getRandomData(r []byte)
    
    func readRandom(r []byte) int {
    	getRandomData(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 767 bytes
    - Viewed (0)
  2. src/runtime/sys_wasm.go

    	"unsafe"
    )
    
    type m0Stack struct {
    	_ [8192 * sys.StackGuardMultiplier]byte
    }
    
    var wasmStack m0Stack
    
    func wasmDiv()
    
    func wasmTruncS()
    func wasmTruncU()
    
    //go:wasmimport gojs runtime.wasmExit
    func wasmExit(code int32)
    
    // adjust Gobuf as it if executed a call to fn with context ctxt
    // and then stopped before the first instruction in fn.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 758 bytes
    - Viewed (0)
  3. src/runtime/mem_js.go

    package runtime
    
    // resetMemoryDataView signals the JS front-end that WebAssembly's memory.grow instruction has been used.
    // This allows the front-end to replace the old DataView object with a new one.
    //
    //go:wasmimport gojs runtime.resetMemoryDataView
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 457 bytes
    - Viewed (0)
  4. src/runtime/stubs3.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !aix && !darwin && !freebsd && !openbsd && !plan9 && !solaris && !wasip1
    
    package runtime
    
    //go:wasmimport gojs runtime.nanotime1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 324 bytes
    - Viewed (0)
  5. src/runtime/timestub2.go

    // license that can be found in the LICENSE file.
    
    //go:build !aix && !darwin && !freebsd && !openbsd && !solaris && !wasip1 && !windows && !(linux && amd64)
    
    package runtime
    
    //go:wasmimport gojs runtime.walltime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 363 bytes
    - Viewed (0)
  6. src/runtime/lock_js.go

    	idleTimeout = nil
    }
    
    // pause sets SP to newsp and pauses the execution of Go's WebAssembly code until an event is triggered.
    func pause(newsp uintptr)
    
    // scheduleTimeoutEvent tells the WebAssembly environment to trigger an event after ms milliseconds.
    // It returns a timer id that can be used with clearTimeoutEvent.
    //
    //go:wasmimport gojs runtime.scheduleTimeoutEvent
    func scheduleTimeoutEvent(ms int64) int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. src/internal/goos/goos.go

    // license that can be found in the LICENSE file.
    
    // package goos contains GOOS-specific constants.
    package goos
    
    // The next line makes 'go generate' write the zgoos*.go files with
    // per-OS information, including constants named Is$GOOS for every
    // known GOOS. The constant is 1 on the current system, 0 otherwise;
    // multiplying by them is useful for defining GOOS-specific constants.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 534 bytes
    - Viewed (0)
  8. src/make.bash

    # Default is "gcc". Also supported: "clang".
    #
    # CC_FOR_TARGET: Command line to run to compile C code for GOARCH.
    # This is used by cgo. Default is CC.
    #
    # CC_FOR_${GOOS}_${GOARCH}: Command line to run to compile C code for specified ${GOOS} and ${GOARCH}.
    # (for example, CC_FOR_linux_arm)
    # If this is not set, the build will use CC_FOR_TARGET if appropriate, or CC.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting_test.go

    	grc.Add(1)
    	go func() {
    		defer grc.Add(-1)
    		gots <- wr.Get()
    	}()
    	clk.Run(nil)
    	expectGotValue(t, gots, expected)
    }
    
    func expectGotValue(t *testing.T, gots <-chan interface{}, expected interface{}) {
    	select {
    	case gotVal := <-gots:
    		t.Logf("Got %v", gotVal)
    		if gotVal != expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 10 14:37:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  10. src/internal/goos/gengoos.go

    		if strings.HasPrefix(line, goosPrefix) {
    			inGOOS = true
    		} else if inGOOS && strings.HasPrefix(line, "}") {
    			break
    		} else if inGOOS {
    			goos := strings.Fields(line)[0]
    			goos = strings.TrimPrefix(goos, `"`)
    			goos = strings.TrimSuffix(goos, `":`)
    			gooses = append(gooses, goos)
    		}
    	}
    
    	for _, target := range gooses {
    		if target == "nacl" {
    			continue
    		}
    		var tags []string
    		if target == "linux" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 15 21:31:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top