- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 3,004 for IF (0.01 seconds)
-
cmd/metacache-set.go
if vnf > 0 && vnf >= len(readers)-opts.minDisks { return errVolumeNotFound } // Since minDisks is set to quorum, we return if we have enough. if fnf > 0 && fnf >= len(readers)-opts.minDisks { return errFileNotFound } // Stop if we exceed number of bad disks. if hasErr > 0 && hasErr+fnf > len(disks)-opts.minDisks { if opts.finished != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 30.7K bytes - Click Count (0) -
tests/transaction_test.go
tx.Create(&user2) if err := tx.First(&User{}, "name = ?", user2.Name).Error; err != nil { t.Fatalf("Should find saved record") } if err := tx.Commit().Error; err != nil { t.Fatalf("Failed to commit, got error %v", err) } if err := DB.First(&User{}, "name = ?", user.Name).Error; err != nil { t.Fatalf("Should find saved record") }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 13.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationProperty property = activation.getProperty(); if (property == null) { return false; } String name = property.getName(); boolean reverseName = false; if (name != null && name.startsWith("!")) { reverseName = true;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.8K bytes - Click Count (0) -
cmd/lock-rest-server-common_test.go
func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) { obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) } if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil { t.Fatalf("unable initialize config file, %s", err) } locker := &lockRESTServer{ ll: &localLocker{ mutex: sync.Mutex{}, lockMap: make(map[string][]lockRequesterInfo), },
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.2K bytes - Click Count (0) -
cmd/bucket-replication.go
rcfg, err := getReplicationConfig(ctx, bucket) if err != nil || rcfg == nil { replLogOnceIf(ctx, err, bucket) return dsc } // If incoming request is a replication request, it does not need to be re-replicated. if delOpts.ReplicationRequest { return dsc } // Skip replication if this object's prefix is excluded from being // versioned. if !delOpts.Versioned { return dsc }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 118.2K bytes - Click Count (0) -
cmd/bucket-replication-handlers.go
objectAPI := api.ObjectAPI() if objectAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } if s3Error := checkRequestAuthType(ctx, r, policy.PutReplicationConfigurationAction, bucket, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } // Check if bucket exists.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 23.3K bytes - Click Count (0) -
internal/store/queuestore_test.go
if err != nil { t.Fatal("Failed to create a queue store ", err) } for range 10 { if _, err := store.Put(testItem); err != nil { t.Fatal("Failed to put to queue store ", err) } } // Should return all the item keys in the store. keys := store.List() if len(keys) != 10 { t.Fatalf("List() Expected: 10, got %d", len(keys)) } // re-open store, err = setUpQueueStore(queueDir, 10)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/server-startup-msg.go
banner := strings.Repeat("-", len(MinioBannerName)) if globalIsDistErasure { logger.Startup(color.Bold(banner)) } logger.Startup(color.Bold(MinioBannerName)) if err != nil { if globalConsoleSys != nil { globalConsoleSys.Send(GlobalContext, fmt.Sprintf("Server startup failed with '%v', some features may be missing", err)) } } if !globalSubnetConfig.Registered() { var builder strings.Builder
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 6.2K bytes - Click Count (0) -
fastapi/openapi/utils.py
if path_definitions: definitions.update(path_definitions) if definitions: components["schemas"] = {k: definitions[k] for k in sorted(definitions)} if components: output["components"] = components output["paths"] = paths if webhook_paths: output["webhooks"] = webhook_paths if tags: output["tags"] = tags if external_docs:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 23.2K bytes - Click Count (0) -
tensorflow/c/c_api_function.cc
input_tensors->emplace_back(node, idx); const auto& iter = input_nodes->find(node); if (iter == input_nodes->end()) { input_nodes->insert({node, {idx}}); } else { auto& indices = iter->second; if (std::find(indices.begin(), indices.end(), idx) != indices.end()) { return InvalidArgument("TF_Output ", node->name(), ":", idx,Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 12 16:27:48 GMT 2024 - 13.7K bytes - Click Count (0)