Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,644 for gots (0.06 sec)

  1. 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)
  2. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelectionTest.groovy

            when:
            select('more.than.two.dots')
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "'more.than.two.dots' is an invalid pattern. Patterns should have one or two dots."
        }
    
        def "can use filters with two dots or fewer"() {
            when:
            select('one.dot', 'has.two.dots', 'ModuleName')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/net/timeout_test.go

    	{1 * time.Millisecond, 0},
    	{0, 1 * time.Millisecond},
    	{1 * time.Millisecond, 5 * time.Second}, // timeout over deadline
    }
    
    func TestDialTimeout(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9":
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    
    	t.Parallel()
    
    	ln := newLocalListener(t, "tcp")
    	defer func() {
    		if err := ln.Close(); err != nil {
    			t.Error(err)
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. src/runtime/crash_cgo_test.go

    	if want := "OK\n"; string(got) != want {
    		t.Errorf("expected %q, but got:\n%s", want, got)
    	}
    }
    
    func TestEnsureBindM(t *testing.T) {
    	t.Parallel()
    	switch runtime.GOOS {
    	case "windows", "plan9":
    		t.Skipf("skipping bindm test on %s", runtime.GOOS)
    	}
    	got := runTestProg(t, "testprogcgo", "EnsureBindM")
    	want := "OK\n"
    	if got != want {
    		t.Errorf("expected %q, got %v", want, got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. pkg/kubelet/cm/dra/manager.go

    			}
    
    			// Add a reference to the current pod in the claim info.
    			claimInfo.addPodReference(pod.UID)
    
    			// Checkpoint to ensure all claims we plan to prepare are tracked.
    			// If something goes wrong and the newly referenced pod gets
    			// deleted without a successful prepare call, we will catch
    			// that in the reconcile loop and take the appropriate action.
    			if err := m.cache.syncToCheckpoint(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tutorial/gradleProperties/groovy/settings.gradle

    println settings['gradlePropertiesProp']
    // end::gradle-properties[]
    
    // tag::properties-with-dots[]
    // In Groovy scripts, both the API and dynamic array notation work
    println providers.gradleProperty('gradleProperties.with.dots').get()
    println settings['gradleProperties.with.dots']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 642 bytes
    - Viewed (0)
  9. src/debug/buildinfo/buildinfo_test.go

    	cleanOutputForComparison := func(got string) string {
    		// Remove or replace anything that might depend on the test's environment
    		// so we can check the output afterward with a string comparison.
    		// We'll remove all build lines except the compiler, just to make sure
    		// build lines are included.
    		got = goVersionRe.ReplaceAllString(got, "go\tGOVERSION\n")
    		got = buildRe.ReplaceAllStringFunc(got, func(match string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/env_cross_build.txt

    env GOOS=
    env GOARCH=
    env GOEXPERIMENT=
    
    env GOENV=windows-amd64
    go build internal/abi
    
    env GOENV=ios-arm64
    go build internal/abi
    
    env GOENV=linux-mips
    go build internal/abi
    
    -- windows-amd64 --
    GOOS=windows
    GOARCH=amd64
    
    -- ios-arm64 --
    GOOS=ios
    GOARCH=arm64
    
    -- linux-mips --
    GOOS=linux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 537 bytes
    - Viewed (0)
Back to top