- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 104 for swiftc (0.19 sec)
-
src/archive/tar/writer_test.go
t.Run(path.Base(v.file), func(t *testing.T) { const maxSize = 10 << 10 // 10KiB buf := new(bytes.Buffer) tw := NewWriter(iotest.TruncateWriter(buf, maxSize)) for i, tf := range v.tests { switch tf := tf.(type) { case testHeader: err := tw.WriteHeader(&tf.hdr) if !equalError(err, tf.wantErr) { t.Fatalf("test %d, WriteHeader() = %v, want %v", i, err, tf.wantErr) } case testWrite:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
cmd/storage-rest-client.go
return true } if errors.Is(nerr.Err, rest.ErrClientClosed) { return true } } if errors.Is(err, grid.ErrDisconnected) { return true } // More corner cases suitable for storage REST API switch { // A peer node can be in shut down phase and proactively // return 503 server closed error, consider it as an offline node case strings.Contains(err.Error(), http.ErrServerClosed.Error()): return true
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go
if n < 0 { panic("Counter.Add negative") } if n == 0 { return } c.file.register(c) state := c.state.load() for ; ; state = c.state.load() { switch { case !state.locked() && state.havePtr(): if !c.state.update(&state, state.incReader()) { continue } // Counter unlocked or counter shared; has an initialized count pointer; acquired shared lock.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
ClaimName: "claimA", }, }, }, }, SecurityContext: &v1.PodSecurityContext{ SupplementalGroups: []int64{555}, }, }, } switch podMode { case v1.PersistentVolumeBlock: pod.Spec.Containers[0].VolumeDevices = []v1.VolumeDevice{ { Name: "vol1", DevicePath: "/dev/vol1", }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/prepare-storage.go
format, err = connectLoadInitFormats(verbose, firstDisk, storageDisks, endpoints, poolCount, setCount, setDriveCount, deploymentID) if err == nil { return storageDisks, format, nil } tries++ switch { case errors.Is(err, errNotFirstDisk): // Fresh setup, wait for first server to be up. logger.Info("Waiting for the first server to format the drives (elapsed %s)\n", getElapsedTime())
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 19 08:06:49 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
// floating-point numbers if possible, // 2) if one of them is not constant (possible because // it contains a shift that is yet untyped), convert // both of them to float64 since they must have the // same type to succeed (this will result in an error // because shifts of floats are not permitted) if x.mode == constant_ && y.mode == constant_ { toFloat := func(x *operand) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
cmd/config-current.go
globalServerConfig config.Config globalServerConfigMu sync.RWMutex ) func validateSubSysConfig(ctx context.Context, s config.Config, subSys string, objAPI ObjectLayer) error { switch subSys { case config.SiteSubSys: if _, err := config.LookupSite(s[config.SiteSubSys][config.Default], s[config.RegionSubSys][config.Default]); err != nil { return err } case config.APISubSys:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 08:14:58 UTC 2024 - 30.8K bytes - Viewed (0) -
cmd/common-main.go
ctxt.StrictS3Compat = !(ctx.IsSet("no-compat") || ctx.GlobalIsSet("no-compat")) switch { case ctx.IsSet("config-dir"): ctxt.ConfigDir = ctx.String("config-dir") ctxt.configDirSet = true case ctx.GlobalIsSet("config-dir"): ctxt.ConfigDir = ctx.GlobalString("config-dir") ctxt.configDirSet = true } switch { case ctx.IsSet("certs-dir"): ctxt.CertsDir = ctx.String("certs-dir")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 31.5K bytes - Viewed (0) -
cmd/global-heal.go
return false } versioned := vc != nil && vc.Versioned(object) objInfo := fi.ToObjectInfo(bucket, object, versioned) evt := evalActionFromLifecycle(ctx, *lc, lr, rcfg, objInfo) switch { case evt.Action.DeleteRestored(): // if restored copy has expired,delete it synchronously applyExpiryOnTransitionedObject(ctx, newObjectLayerFn(), objInfo, evt, lcEventSrc_Heal) return false
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:48:50 UTC 2024 - 15.1K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run.go
ext dep.Dependencies ops Ops table string chain string iptV *dep.IptablesVersion ipt6V *dep.IptablesVersion } func (f UDPRuleApplier) RunV4(args ...string) { switch f.ops { case AppendOps: f.iptables.AppendRuleV4(iptableslog.UndefinedCommand, f.chain, f.table, args...) case DeleteOps: deleteArgs := []string{"-t", f.table, opsToString[f.ops], f.chain}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 35.4K bytes - Viewed (0)