Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 651 for Boos (0.1 sec)

  1. pkg/config/schema/resource/schema_test.go

    				Proto:        "google.protobuf.Empty",
    			},
    			expectError: true,
    		},
    		{
    			name: "invalid proto",
    			b: Builder{
    				Kind:         "Boo",
    				Plural:       "Boos",
    				ProtoPackage: "github.com/gogo/protobuf/types",
    				Proto:        "boo",
    			},
    			expectError: true,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			g := NewWithT(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/status_test.go

    			Status:  metav1.StatusFailure,
    			Code:    http.StatusConflict,
    			Reason:  "AlreadyExists",
    			Message: "foos \"bar\" already exists",
    			Details: &metav1.StatusDetails{
    				Group: "",
    				Kind:  "foos",
    				Name:  "bar",
    			},
    		},
    		errors.NewConflict(schema.GroupResource{Resource: "foos"}, "bar", stderrs.New("failure")): {
    			Status:  metav1.StatusFailure,
    			Code:    http.StatusConflict,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 05 13:03:34 UTC 2019
    - 2.4K bytes
    - Viewed (0)
Back to top