Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isCall (0.17 sec)

  1. cmd/site-replication.go

    	for id, rl := range rMap {
    		if !rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull() {
    			if _, ok := newRMap[id]; !ok {
    				// if rule getting removed was pure expiry rule (may be got to this site
    				// as part of replication of expiry rules), remove it. Otherwise remove
    				// only the expiry part of it
    				if rl.Transition.IsNull() && rl.NoncurrentVersionTransition.IsNull() {
    					delete(rMap, id)
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/object-handlers_test.go

    	// downloading is done. Data bytes are from DummyDataGen.
    	objectInputs := []ObjectInput{
    		// // cases 0-3: small single part objects
    		{"nothing", []int64{0}, make(map[string]string)},
    		{"small-0", []int64{11}, make(map[string]string)},
    		{"small-1", []int64{509}, make(map[string]string)},
    		{"small-2", []int64{5 * oneMiB}, make(map[string]string)},
    		// // // cases 4-7: multipart part objects
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback.go

    		}
    	}()
    	C.callPanic()
    }
    
    // Test that C code can return a value if it calls a Go function that
    // causes a stack copy.
    func testReturnAfterGrow(t *testing.T) {
    	// Use a new goroutine so that we get a small stack.
    	c := make(chan int)
    	go func() {
    		c <- int(C.returnAfterGrow())
    	}()
    	if got, want := <-c, 123456; got != want {
    		t.Errorf("got %d want %d", got, want)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top