- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,015 for gojs (0.07 sec)
-
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) -
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) -
src/internal/platform/supported.go
} // CgoSupported reports whether goos/goarch supports cgo. func CgoSupported(goos, goarch string) bool { return distInfo[OSArch{goos, goarch}].CgoSupported } // FirstClass reports whether goos/goarch is considered a “first class” port. // (See https://go.dev/wiki/PortingPolicy#first-class-ports.) func FirstClass(goos, goarch string) bool { return distInfo[OSArch{goos, goarch}].FirstClass }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/promise/promise_test.go
later := time.Now() bval := &later if wr.Set(bval) { t.Error("Set of initialized promise returned true") } goGetAndExpect(t, wr, gots, aval) cancel() time.Sleep(time.Second) // give it a chance to misbehave goGetAndExpect(t, wr, gots, aval) } func goGetExpectNotYet(t *testing.T, wr WriteOnce, gots chan interface{}, trigger string) { go func() { gots <- wr.Get() }() select { case <-gots:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 19:19:31 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/distpack/test.go
{name: "go/bin/go", goos: "linux"}, {name: "go/bin/go", goos: "darwin"}, {name: "go/bin/go", goos: "windows", exclude: true}, {name: "go/bin/go.exe", goos: "windows"}, {name: "go/bin/gofmt", goos: "linux"}, {name: "go/bin/gofmt", goos: "darwin"}, {name: "go/bin/gofmt", goos: "windows", exclude: true}, {name: "go/bin/gofmt.exe", goos: "windows"}, {name: "go/pkg/tool/*/compile", goos: "linux"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 22:29:19 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/util/procfs/procfs_linux_test.go
} func TestPidOf(t *testing.T) { if runtime.GOOS == "darwin" || runtime.GOOS == "windows" { t.Skipf("not supported on GOOS=%s", runtime.GOOS) } pids, err := PidOf(filepath.Base(os.Args[0])) assert.Empty(t, err) assert.NotZero(t, pids) assert.Contains(t, pids, os.Getpid()) } func TestPKill(t *testing.T) { if runtime.GOOS == "darwin" || runtime.GOOS == "windows" { t.Skipf("not supported on GOOS=%s", runtime.GOOS)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 07:13:28 UTC 2022 - 3.1K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
if CC != "" { return CC == want, nil } GOOS, _ := s.LookupEnv("GOOS") GOARCH, _ := s.LookupEnv("GOARCH") return cfg.DefaultCC(GOOS, GOARCH) == want, nil } func sysCondition(flag string, f func(goos, goarch string) bool, needsCgo bool) script.Cond { return script.Condition( "GOOS/GOARCH supports "+flag, func(s *script.State) (bool, error) { GOOS, _ := s.LookupEnv("GOOS") GOARCH, _ := s.LookupEnv("GOARCH")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_changed.txt
stdout '"GO111MODULE": "auto"' stdout '"CGO_CFLAGS": "nodefault"' stdout '"CGO_CPPFLAGS": "nodefault"' [GOOS:windows] env GOOS=linux [!GOOS:windows] env GOOS=windows [GOARCH:amd64] env GOARCH=arm64 [!GOARCH:amd64] env GOARCH=amd64 go env -changed GOOS [GOOS:windows] stdout 'set GOOS=linux' [!GOOS:windows] stdout 'GOOS=''windows''' go env -changed GOARCH [GOARCH:amd64] stdout 'set GOARCH=arm64|GOARCH=''arm64'''
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:49:03 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/README.md
The OS specific files for the new build system are located in the `${GOOS}` directory, and the build is coordinated by the `${GOOS}/mkall.go` program. When the kernel or system library updates, modify the Dockerfile at `${GOOS}/Dockerfile` to checkout the new release of the source. To build all the files under the new build system, you must be on an amd64/Linux system and have your GOOS and GOARCH set accordingly. Running `mkall.sh` will
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 06 14:32:58 UTC 2021 - 8.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_write.txt
# go env -w/-u checks validity of GOOS/ARCH combinations env GOOS= env GOARCH= # check -w doesn't allow invalid GOOS ! go env -w GOOS=linuxx stderr 'unsupported GOOS/GOARCH pair linuxx' # check -w doesn't allow invalid GOARCH ! go env -w GOARCH=amd644 stderr 'unsupported GOOS/GOARCH.*/amd644$' # check -w doesn't allow invalid GOOS with valid GOARCH ! go env -w GOOS=linuxx GOARCH=amd64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 18:42:31 UTC 2024 - 5.9K bytes - Viewed (0)