Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,644 for gots (0.04 sec)

  1. src/cmd/dist/build_test.go

    func TestMustLinkExternal(t *testing.T) {
    	for _, goos := range okgoos {
    		for _, goarch := range okgoarch {
    			for _, cgoEnabled := range []bool{true, false} {
    				got := mustLinkExternal(goos, goarch, cgoEnabled)
    				want := platform.MustLinkExternal(goos, goarch, cgoEnabled)
    				if got != want {
    					t.Errorf("mustLinkExternal(%q, %q, %v) = %v; want %v", goos, goarch, cgoEnabled, got, want)
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 16:34:21 UTC 2023
    - 757 bytes
    - Viewed (0)
  2. src/cmd/go/internal/telemetrystats/version_unix.go

    		telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-uname-error", runtime.GOOS))
    		return
    	}
    	major, minor, ok := majorMinor(convert(v.Release[:]))
    	if runtime.GOOS == "aix" {
    		major, minor, ok = convert(v.Version[:]), convert(v.Release[:]), true
    	}
    	if !ok {
    		telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-bad-format", runtime.GOOS))
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DependencyResolutionResult.java

     *
     */
    public interface DependencyResolutionResult {
    
        /**
         * Gets the dependency graph of the project.
         *
         * @return The dependency graph or {@code null} if not available.
         */
        DependencyNode getDependencyGraph();
    
        /**
         * Gets the transitive dependencies of the project that were not excluded by
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/syscall/mkasm.go

    	"bytes"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    )
    
    func main() {
    	if len(os.Args) != 3 {
    		log.Fatalf("Usage: %s <goos> <arch>", os.Args[0])
    	}
    	goos, arch := os.Args[1], os.Args[2]
    
    	syscallFilename := fmt.Sprintf("syscall_%s.go", goos)
    	syscallArchFilename := fmt.Sprintf("syscall_%s_%s.go", goos, arch)
    
    	in1, err := os.ReadFile(syscallFilename)
    	if err != nil {
    		log.Fatalf("can't open syscall file: %s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/dist_list_missing.txt

    mkdir $WORK/goroot/pkg/tool/${GOOS}_${GOARCH}
    env GOROOT=$WORK/goroot
    
    ! go tool -n dist
    stderr 'go: no such tool "dist"'
    
    go tool dist list
    stdout linux/amd64
    cp stdout tool.txt
    
    go tool dist list -v
    stdout linux/amd64
    cp stdout tool-v.txt
    
    go tool dist list -broken
    stdout $GOOS/$GOARCH
    cp stdout tool-broken.txt
    
    go tool dist list -json
    stdout '"GOOS": "linux",\n\s*"GOARCH": "amd64",\n'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:52:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/internal/testenv/testenv_test.go

    	}
    }
    
    func TestHasGoBuild(t *testing.T) {
    	if !testenv.HasGoBuild() {
    		switch runtime.GOOS {
    		case "js", "wasip1":
    			// No exec syscall, so these shouldn't be able to 'go build'.
    			t.Logf("HasGoBuild is false on %s", runtime.GOOS)
    			return
    		}
    
    		b := testenv.Builder()
    		if b == "" {
    			// We shouldn't make assumptions about what kind of sandbox or build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/list_all_gobuild.txt

    # go list all should work with GOOS=linux because all packages build on Linux
    env GOOS=linux
    env GOARCH=amd64
    go list all
    
    # go list all should work with GOOS=darwin, but it used to fail because
    # in the absence of //go:build support, p looked like it needed q
    # (p_test.go was not properly excluded), and q was Linux-only.
    #
    # Also testing with r and s that +build lines keep working.
    env GOOS=darwin
    go list all
    
    -- go.mod --
    go 1.17
    module m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 17:26:46 UTC 2023
    - 674 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go

    				),
    				// new name gets preserved from versioned object, type gets set explicitly
    				VersionedObject: &examplev1.Pod{TypeMeta: metav1.TypeMeta{APIVersion: "example.apiserver.k8s.io/v1", Kind: "Pod"}, ObjectMeta: metav1.ObjectMeta{Name: "newpodversioned"}},
    				// old name gets overwritten from converted attributes, type gets set explicitly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

            CharSequence someOverriddenCovariantMethod(Object param)
        }
    
        def "gets overridden methods from single type"() {
            expect:
            ModelSchemaUtils.getCandidateMethods(TypeWithOverloadedMethods).overriddenMethodsNamed("someOverloadedMethod").isEmpty()
        }
    
        def "gets overloaded methods from a single type"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/apiclient/wait.go

    	WaitForControlPlaneComponents(cfg *kubeadmapi.ClusterConfiguration) error
    	// WaitForAPI waits for the API Server's /healthz endpoint to become "ok"
    	// TODO: remove WaitForAPI once WaitForAllControlPlaneComponents goes GA:
    	// https://github.com/kubernetes/kubeadm/issues/2907
    	WaitForAPI() error
    	// WaitForPodsWithLabel waits for Pods in the kube-system namespace to become Ready
    	WaitForPodsWithLabel(kvLabel string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top