- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,561 for case (0.73 sec)
-
internal/store/batch.go
defer b.Unlock() return len(b.items) } func (b *Batch[_]) isFull() bool { return len(b.items) >= int(b.limit) } func (b *Batch[I]) commit() error { switch len(b.items) { case 0: return nil case 1: _, err := b.store.Put(b.items[0]) return err default: } if _, err := b.store.PutMultiple(b.items); err != nil { return err } b.items = make([]I, 0, b.limit) return nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
maven-tests/mvnw
while IFS="=" read -r key value; do case "${key-}" in distributionUrl) distributionUrl=$(trim "${value-}") ;; distributionSha256Sum) distributionSha256Sum=$(trim "${value-}") ;; esac done <"${0%/*}/.mvn/wrapper/maven-wrapper.properties" [ -n "${distributionUrl-}" ] || die "cannot read distributionUrl property in ${0%/*}/.mvn/wrapper/maven-wrapper.properties" case "${distributionUrl##*/}" in maven-mvnd-*bin.*)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 10.4K bytes - Viewed (0) -
tests/tests_test.go
} func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) { dbDSN := os.Getenv("GORM_DSN") switch os.Getenv("GORM_DIALECT") { case "mysql": log.Println("testing mysql...") if dbDSN == "" { dbDSN = mysqlDSN } db, err = gorm.Open(mysql.Open(dbDSN), cfg) case "postgres": log.Println("testing postgres...") if dbDSN == "" { dbDSN = postgresDSN }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.7K bytes - Viewed (0) -
.gitmodules
[submodule "okhttp-hpacktests/src/test/resources/hpack-test-case"] path = okhttp-hpacktests/src/test/resources/hpack-test-case
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Dec 10 09:33:37 UTC 2022 - 182 bytes - Viewed (0) -
cmd/setup-type.go
DistErasureSetupType ) func (setupType SetupType) String() string { switch setupType { case FSSetupType: return globalMinioModeFS case ErasureSDSetupType: return globalMinioModeErasureSD case ErasureSetupType: return globalMinioModeErasure case DistErasureSetupType: return globalMinioModeDistErasure } return "unknown"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 1.5K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 26.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
private int rep; @Override public @Nullable Integer computeNext() { switch (rep++) { case 0: return 0; case 1: return 1; case 2: return endOfData(); default: throw new AssertionError("Should not have been invoked again"); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_enhancement_request.yaml
that it's for a use case that actually comes up in the real world. We want to hear the real-world use case so the community can discuss and debate whether this feature is actually the *best* way to address the real use case, or whether or not a different approach might be more appropriate. It's okay if you can't provide complete context on a use case. We understand if you are not
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.9K bytes - Viewed (0) -
cmd/object-api-errors.go
apiErr.Bucket = params[0] } return apiErr case errVolumeNotEmpty.Error(): apiErr := BucketNotEmpty{} if len(params) >= 1 { apiErr.Bucket = params[0] } return apiErr case errVolumeExists.Error(): apiErr := BucketExists{} if len(params) >= 1 { apiErr.Bucket = params[0] } return apiErr case errDiskFull.Error(): return StorageFull{} case errTooManyOpenFiles.Error(): return SlowDown{}
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0) -
src/archive/tar/format.go
// Set the magic values. switch { case format.has(formatV7): // Do nothing. case format.has(FormatGNU): copy(b.toGNU().magic(), magicGNU) copy(b.toGNU().version(), versionGNU) case format.has(formatSTAR): copy(b.toSTAR().magic(), magicUSTAR) copy(b.toSTAR().version(), versionUSTAR) copy(b.toSTAR().trailer(), trailerSTAR) case format.has(FormatUSTAR | FormatPAX):Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0)