Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Undo (0.07 sec)

  1. src/time/time_test.go

    			}
    		}(i)
    		go func(i int) {
    			defer wg.Done()
    			timer.Stop()
    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestTimeIsDST(t *testing.T) {
    	undo := DisablePlatformSources()
    	defer undo()
    
    	tzWithDST, err := LoadLocation("Australia/Sydney")
    	if err != nil {
    		t.Fatalf("could not load tz 'Australia/Sydney': %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    	for i := len(dirs) - 1; i >= 0; i-- {
    		err := os.Chmod(dirs[i].path, dirs[i].mode&^0222)
    		if err != nil {
    			dirs = dirs[i:] // Only undo what we did so far.
    			undo()
    			fatalf("failed to make GOROOT read-only: %v", err)
    		}
    	}
    
    	return undo
    }
    
    // raceDetectorSupported is a copy of the function
    // internal/platform.RaceDetectorSupported, which can't be used here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    	}
    	return bucketInfo, nil
    }
    
    // DeleteBucket - deletes a bucket on all serverPools simultaneously,
    // even if one of the serverPools fail to delete buckets, we proceed to
    // undo a successful operation.
    func (z *erasureServerPools) DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error {
    	if isMinioMetaBucketName(bucket) {
    		return BucketNameInvalid{Bucket: bucket}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    	if t.DisableKeepAlives {
    		return false
    	}
    
    	t.idleMu.Lock()
    	defer t.idleMu.Unlock()
    
    	// Stop closing connections that become idle - we might want one.
    	// (That is, undo the effect of t.CloseIdleConnections.)
    	t.closeIdle = false
    
    	if w == nil {
    		// Happens in test hook.
    		return false
    	}
    
    	// If IdleConnTimeout is set, calculate the oldest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    			switch a := a.(type) {
    			case *Typed:
    				// Remove the template added in skip.
    				if _, ok := a.Name.(*Template); ok {
    					popTemplate()
    				}
    				return nil
    			case *Closure:
    				// Undo the save in skip.
    				st.lambdaTemplateLevel = oldLambdaTemplateLevel[len(oldLambdaTemplateLevel)-1]
    				oldLambdaTemplateLevel = oldLambdaTemplateLevel[:len(oldLambdaTemplateLevel)-1]
    				return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top