Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 706 for gots (0.06 sec)

  1. 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)
  2. cmd/data-scanner_test.go

    	for i, fi := range fivs[:2] {
    		wants[i] = fi.ToObjectInfo(bucket, obj, versioned)
    	}
    	gots, err := item.applyNewerNoncurrentVersionLimit(context.TODO(), objAPI, fivs, es)
    	if err != nil {
    		t.Fatalf("Failed with err: %v", err)
    	}
    	if len(gots) != len(wants) {
    		t.Fatalf("Expected %d objects but got %d", len(wants), len(gots))
    	}
    
    	// Close expiry state's channel to inspect object versions enqueued for expiration
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/gotos.go

    L:
    }
    
    // goto into outer block okay
    func _() {
    	{
    		goto L
    	}
    L:
    }
    
    func _() {
    	{
    		goto L
    		goto L1
    	}
    L: L1:
    }
    
    // goto backward into outer block okay
    func _() {
    L:
    	{
    		goto L
    	}
    }
    
    func _() {
    L: L1:
    	{
    		goto L
    		goto L1
    	}
    }
    
    // goto into inner block not okay
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. src/runtime/lock_js.go

    	idleTimeout = nil
    }
    
    // pause sets SP to newsp and pauses the execution of Go's WebAssembly code until an event is triggered.
    func pause(newsp uintptr)
    
    // scheduleTimeoutEvent tells the WebAssembly environment to trigger an event after ms milliseconds.
    // It returns a timer id that can be used with clearTimeoutEvent.
    //
    //go:wasmimport gojs runtime.scheduleTimeoutEvent
    func scheduleTimeoutEvent(ms int64) int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. docs/distributed/README.md

    > **NOTE:** `{1...n}` shown have 3 dots! Using only 2 dots `{1..n}` will be interpreted by your shell and won't be passed to MinIO server, affecting the erasure coding order, which would impact performance and high availability. **Always use ellipses syntax `{1...n}` (3 dots!) for optimal erasure-code distribution**
    
    ### Expanding existing distributed setup
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.8K 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/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)
  10. 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)
Back to top