Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 185 for wasip1 (0.18 sec)

  1. src/cmd/internal/objabi/head.go

    	case "linux", "android":
    		*h = Hlinux
    	case "netbsd":
    		*h = Hnetbsd
    	case "openbsd":
    		*h = Hopenbsd
    	case "plan9":
    		*h = Hplan9
    	case "illumos", "solaris":
    		*h = Hsolaris
    	case "wasip1":
    		*h = Hwasip1
    	case "windows":
    		*h = Hwindows
    	default:
    		return fmt.Errorf("invalid headtype: %q", s)
    	}
    	return nil
    }
    
    func (h HeadType) String() string {
    	switch h {
    	case Haix:
    		return "aix"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. src/runtime/mem_wasip1.go

    // Copyright 2023 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 wasip1
    
    package runtime
    
    func resetMemoryDataView() {
    	// This function is a no-op on WASI, it is only used to notify the browser
    	// that its view of the WASM memory needs to be updated when compiling for
    	// GOOS=js.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 392 bytes
    - Viewed (0)
  3. src/runtime/internal/wasitest/tcpecho_test.go

    	subProcess.Env = append(os.Environ(), "GOOS=wasip1", "GOARCH=wasm")
    
    	switch os.Getenv("GOWASIRUNTIME") {
    	case "wazero":
    		subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--listen="+host)
    	case "wasmtime", "":
    		subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--tcplisten="+host)
    	default:
    		t.Skip("WASI runtime does not support sockets")
    	}
    
    	var b bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/lockedfile/transform_test.go

    // Copyright 2019 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.
    
    // js and wasip1 do not support inter-process file locking.
    //
    //go:build !js && !wasip1
    
    package lockedfile_test
    
    import (
    	"bytes"
    	"encoding/binary"
    	"math/rand"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"cmd/go/internal/lockedfile"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 22:37:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/net/unixsock_readmsg_other.go

    // Copyright 2021 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 js || wasip1 || windows
    
    package net
    
    const readMsgFlags = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 275 bytes
    - Viewed (0)
  6. src/net/main_wasm_test.go

    // Copyright 2023 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 wasip1 || js
    
    package net
    
    func installTestHooks() {}
    
    func uninstallTestHooks() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 284 bytes
    - Viewed (0)
  7. src/runtime/stubs3.go

    // Copyright 2018 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 !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)
  8. src/runtime/timestub2.go

    // Copyright 2018 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 !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)
  9. src/syscall/export_wasip1_test.go

    // Copyright 2023 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 wasip1
    
    package syscall
    
    func JoinPath(dir, file string) string {
    	return joinPath(dir, file)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 267 bytes
    - Viewed (0)
  10. src/net/http/transport_default_wasm.go

    // Copyright 2021 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 (js && wasm) || wasip1
    
    package http
    
    import (
    	"context"
    	"net"
    )
    
    func defaultTransportDialContext(dialer *net.Dialer) func(context.Context, string, string) (net.Conn, error) {
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:10 UTC 2023
    - 364 bytes
    - Viewed (0)
Back to top