- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Undo (0.11 sec)
-
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) -
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) -
src/go/printer/nodes.go
case *ast.IndexExpr: // TODO(gri): should treat[] like parentheses and undo one level of depth p.expr1(x.X, token.HighestPrec, 1) p.setPos(x.Lbrack) p.print(token.LBRACK) p.expr0(x.Index, depth+1) p.setPos(x.Rbrack) p.print(token.RBRACK) case *ast.IndexListExpr: // TODO(gri): as for IndexExpr, should treat [] like parentheses and undo // one level of depth p.expr1(x.X, token.HighestPrec, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/prove.go
if old.vid == 0 { // checkpointBound break } if old.limit == noLimit { delete(ft.limits, old.vid) } else { ft.limits[old.vid] = old.limit } } ft.orderS.Undo() ft.orderU.Undo() } func lessByID(v, w *Value) bool { if v == nil && w == nil { // Should not happen, but just in case. return false } if v == nil { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
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) -
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) -
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)