- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 46 for IF (0.02 seconds)
-
cmd/bucket-stats_gen.go
if err != nil { return } err = en.WriteFloat64(z.CurrentBandwidthInBytesPerSecond) if err != nil { err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond") return } // write "lt" err = en.Append(0xa2, 0x6c, 0x74) if err != nil { return } if z.XferRateLrg == nil { err = en.WriteNil() if err != nil { return } } else {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 57.3K bytes - Click Count (0) -
cmd/batch-handlers.go
} } func (ri *batchJobInfo) countItem(size int64, dmarker, success bool, attempt int) { if ri == nil { return } ri.Attempts++ if success { if dmarker { ri.DeleteMarkers++ } else { ri.Objects++ ri.BytesTransferred += size } if attempt > 1 { if dmarker { ri.DeleteMarkersFailed-- } else { ri.ObjectsFailed-- ri.BytesFailed += size
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1) -
cmd/admin-handlers-users_test.go
} _, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " ")) if err != nil { c.Fatalf("unable to setup Etcd for tests: %v", err) } s.RestartIAMSuite(c) } func (s *TestSuiteIAM) SetUpSuite(c *check) { // If etcd backend is specified and etcd server is not present, the test // is skipped. etcdServer := env.Get(EnvTestEtcdBackend, "") if s.withEtcdBackend && etcdServer == "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 50.6K bytes - Click Count (0) -
tests/query_test.go
DB.Create(&user) var result User if DB.Where("").Where("").First(&result).Error != nil { t.Errorf("Should not raise any error if searching with empty strings") } result = User{} if DB.Where(&User{}).Where("name = ?", user.Name).First(&result).Error != nil { t.Errorf("Should not raise any error if searching with empty struct") } result = User{}
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
cmd/data-usage-cache_gen.go
} // variable map header, size zb0001Len err = en.Append(0x80 | uint8(zb0001Len)) if err != nil { return } // skip if no fields are to be emitted if zb0001Len != 0 { // write "ch" err = en.Append(0xa2, 0x63, 0x68) if err != nil { return } err = z.Children.EncodeMsg(en) if err != nil { err = msgp.WrapError(err, "Children") return } // write "sz"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 85.5K bytes - Click Count (0) -
cmd/admin-handlers-users.go
AccessKey: sts.AccessKey, Expiration: &sts.Expiration, }) } // if only STS keys, skip if user has no STS keys if !listServiceAccounts && len(stsKeys) == 0 { continue } } if listServiceAccounts { serviceAccounts, err := globalIAMSys.ListServiceAccounts(ctx, user) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 90.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
Model model = null; if (result.getEffectiveModel() != null) { model = result.getEffectiveModel(); } else if (result.getRawModel() != null) { model = result.getRawModel(); } else if (result.getFileModel() != null) { model = result.getFileModel(); } if (model != null) { return model.getId(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
} }); } else if (step.status.compareAndSet(CREATED, SKIPPED)) { // Skip the step and provide a specific reason if (!shouldExecute) { if (status.isHalted()) { logger.debug("Skipping step {} because the build is halted", step); } else if (status.isBlackListed(step.project)) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
cmd/storage-datatypes_gen_test.go
v := BaseOptions{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 73.9K bytes - Click Count (0) -
src/bufio/bufio_test.go
// Read n bytes. for i := 0; i < n; i++ { b, err := r.ReadByte() if err != nil { t.Fatalf("n = %d: unexpected error on ReadByte: %v", n, err) } if b != data[i] { t.Fatalf("n = %d: incorrect byte returned from ReadByte: got %q, want %q", n, b, data[i]) } } // Unread one byte if there is one. if n > 0 { if err := r.UnreadByte(); err != nil {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0)