Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 228 for wasip1 (0.14 sec)

  1. src/cmd/go/internal/imports/build.go

    	"ios":       true,
    	"js":        true,
    	"linux":     true,
    	"nacl":      true, // legacy; don't remove
    	"netbsd":    true,
    	"openbsd":   true,
    	"plan9":     true,
    	"solaris":   true,
    	"wasip1":    true,
    	"windows":   true,
    	"zos":       true,
    }
    
    // unixOS is the set of GOOS values matched by the "unix" build tag.
    // This is not used for filename matching.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. src/log/syslog/syslog_test.go

    // Copyright 2009 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 !windows && !plan9 && !js && !wasip1
    
    package syslog
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    	"net"
    	"os"
    	"path/filepath"
    	"runtime"
    	"sync"
    	"testing"
    	"time"
    )
    
    func runPktSyslog(c net.PacketConn, done chan<- string) {
    	var buf [4096]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/go/script_test.go

    	runtime.GOOS == "android" || // #60967
    	runtime.GOOS == "illumos" || // #65544
    	// These platforms fundamentally can't be supported:
    	runtime.GOOS == "js" || // #60971
    	runtime.GOOS == "wasip1" || // #60971
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/net/unixsock.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"context"
    	"os"
    	"sync"
    	"syscall"
    	"time"
    )
    
    // BUG(mikio): On JS, WASIP1 and Plan 9, methods and functions related
    // to UnixConn and UnixListener are not implemented.
    
    // BUG(mikio): On Windows, methods and functions related to UnixConn
    // and UnixListener don't work for "unixgram" and "unixpacket".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/net/net_fake.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Fake networking for js/wasm and wasip1/wasm.
    // It is intended to allow tests of other package to pass.
    
    //go:build js || wasip1
    
    package net
    
    import (
    	"context"
    	"errors"
    	"io"
    	"os"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"time"
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. src/runtime/runtime_test.go

    // It deliberately constructs and uses an invalid pointer,
    // so mark it as nocheckptr.
    //
    //go:nocheckptr
    func testSetPanicOnFault(t *testing.T, addr uintptr, nfault *int) {
    	if GOOS == "js" || GOOS == "wasip1" {
    		t.Skip(GOOS + " does not support catching faults")
    	}
    
    	defer func() {
    		if err := recover(); err != nil {
    			*nfault++
    		}
    	}()
    
    	// The read should fault, except that sometimes we hit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. test/nosplit.go

    // run
    
    //go:build !nacl && !js && !aix && !wasip1 && !gcflags_noopt && gc
    
    // Copyright 2014 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.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    )
    
    const debug = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/net/sendfile_test.go

    	for err := range errc {
    		t.Error(err)
    	}
    }
    
    // Test that sendfile doesn't put a pipe into blocking mode.
    func TestSendfilePipe(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9", "windows", "js", "wasip1":
    		// These systems don't support deadlines on pipes.
    		t.Skipf("skipping on %s", runtime.GOOS)
    	}
    
    	t.Parallel()
    
    	ln := newLocalListener(t, "tcp")
    	defer ln.Close()
    
    	r, w, err := os.Pipe()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/os/pipe_test.go

    // Copyright 2015 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.
    
    // Test broken pipes on Unix systems.
    //
    //go:build !plan9 && !js && !wasip1
    
    package os_test
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"os"
    	"os/exec"
    	"os/signal"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    }
    
    // See issue #60276.
    func TestCPUMetricsSleep(t *testing.T) {
    	if runtime.GOOS == "wasip1" {
    		// Since wasip1 busy-waits in the scheduler, there's no meaningful idle
    		// time. This is accurately reflected in the metrics, but it means this
    		// test is basically meaningless on this platform.
    		t.Skip("wasip1 currently busy-waits in idle time; test not applicable")
    	}
    
    	names := []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top