Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,015 for gojs (0.05 sec)

  1. src/cmd/go/testdata/script/env_unset.txt

    env GOENV=badenv
    env GOOS=
    env GOARCH=
    env GOEXPERIMENT=
    
    ! go env
    stderr '^go(\.exe)?: unknown GOEXPERIMENT badexp$'
    
    go env -u GOEXPERIMENT
    
    ! go env
    stderr '^go: unsupported GOOS/GOARCH pair bados/badarch$'
    
    ! go env -u GOOS
    stderr '^go: unsupported GOOS/GOARCH pair \w+/badarch$'
    
    ! go env -u GOARCH
    stderr '^go: unsupported GOOS/GOARCH pair bados/\w+$'
    
    go env -u GOOS GOARCH
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 553 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/mkall.sh

    #
    # * syscall_${GOOS}.go
    #
    # This hand-written Go file implements system calls that need
    # special handling and lists "//sys" comments giving prototypes
    # for ones that can be auto-generated.  Mksyscall reads those
    # comments to generate the stubs.
    #
    # * syscall_${GOOS}_${GOARCH}.go
    #
    # Same as syscall_${GOOS}.go except that it contains code specific
    # to ${GOOS} on one particular architecture.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. src/runtime/crash_cgo_test.go

    func TestCgoCallbackGC(t *testing.T) {
    	t.Parallel()
    	switch runtime.GOOS {
    	case "plan9", "windows":
    		t.Skipf("no pthreads on %s", runtime.GOOS)
    	}
    	if testing.Short() {
    		switch {
    		case runtime.GOOS == "dragonfly":
    			t.Skip("see golang.org/issue/11990")
    		case runtime.GOOS == "linux" && runtime.GOARCH == "arm":
    			t.Skip("too slow for arm builders")
    		case runtime.GOOS == "linux" && (runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le"):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper.go

    	//
    	// The CloseNotifier interface is implemented by ResponseWriters which allow detecting
    	// when the underlying connection has gone away.
    	// Deprecated: the CloseNotifier interface predates Go's context package.
    	// New code should use Request.Context instead.
    	inner := decorator.Unwrap()
    	if innerNotifierFlusher, ok := inner.(CloseNotifierFlusher); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/asan_test.go

    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	goos, err := goEnv("GOOS")
    	if err != nil {
    		t.Fatal(err)
    	}
    	goarch, err := goEnv("GOARCH")
    	if err != nil {
    		t.Fatal(err)
    	}
    	// The asan tests require support for the -asan option.
    	if !platform.ASanSupported(goos, goarch) {
    		t.Skipf("skipping on %s/%s; -asan option is not supported.", goos, goarch)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/cshared_test.go

    		if tc.sanitizer == "memory" && !platform.MSanSupported(GOOS, GOARCH) {
    			t.Logf("skipping %s test on %s/%s; -msan option is not supported.", name, GOOS, GOARCH)
    			continue
    		}
    		if tc.sanitizer == "thread" && !compilerRequiredTsanVersion(GOOS, GOARCH) {
    			t.Logf("skipping %s test on %s/%s; compiler version too old for -tsan.", name, GOOS, GOARCH)
    			continue
    		}
    
    		t.Run(name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/term/term_unsupported.go

    	return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func getState(fd int) (*State, error) {
    	return nil, fmt.Errorf("terminal: GetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func restore(fd int, state *State) error {
    	return fmt.Errorf("terminal: Restore not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func getSize(fd int) (width, height int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/covdata/argsmerge.go

    type argvalues struct {
    	osargs []string
    	goos   string
    	goarch string
    }
    
    type argstate struct {
    	state       argvalues
    	initialized bool
    }
    
    func (a *argstate) Merge(state argvalues) {
    	if !a.initialized {
    		a.state = state
    		a.initialized = true
    		return
    	}
    	if !slices.Equal(a.state.osargs, state.osargs) {
    		a.state.osargs = nil
    	}
    	if state.goos != a.state.goos {
    		a.state.goos = ""
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 10:18:37 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. pkg/volume/util/util_test.go

    	}
    }
    
    func TestIsWindowsUNCPath(t *testing.T) {
    	tests := []struct {
    		goos      string
    		path      string
    		isUNCPath bool
    	}{
    		{
    			goos:      "linux",
    			path:      `/usr/bin`,
    			isUNCPath: false,
    		},
    		{
    			goos:      "linux",
    			path:      `\\.\pipe\foo`,
    			isUNCPath: false,
    		},
    		{
    			goos:      "windows",
    			path:      `C:\foo`,
    			isUNCPath: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    0)
    	;;
    *)
    	echo 'usage: mkall.sh [-n]' 1>&2
    	exit 2
    esac
    
    if [[ "$GOOS" = "linux" ]]; then
    	# Use the Docker-based build system
    	# Files generated through docker (use $cmd so you can Ctl-C the build or run)
    	$cmd docker build --tag generate:$GOOS $GOOS
    	$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && pwd):/build generate:$GOOS
    	exit
    fi
    
    GOOSARCH_in=syscall_$GOOSARCH.go
    case "$GOOSARCH" in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top