- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,449 for CASE (0.03 sec)
-
android/guava/src/com/google/common/collect/Cut.java
return BoundType.OPEN; } @Override Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) { switch (boundType) { case CLOSED: return this; case OPEN: C previous = domain.previous(endpoint); return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous); } throw new AssertionError(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 12.2K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 1.5K bytes - Viewed (0) -
cmd/site-replication-utils.go
sm.Unlock() } sTimer.Reset(siteResyncSaveInterval) case <-ctx.Done(): return } } } // update overall site resync state func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error { if !globalSiteReplicationSys.isEnabled() { return nil } sm.Lock() defer sm.Unlock() switch s.Status { case ResyncStarted:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 8.9K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/s3select/json/record.go
for _, kv := range r.KVS { var columnValue string switch val := kv.Value.(type) { case float64: columnValue = jsonFloat(val) case string: columnValue = val case bool, int64: columnValue = fmt.Sprintf("%v", val) case nil: columnValue = "" case RawJSON: columnValue = string([]byte(val)) case []interface{}: b, err := json.Marshal(val) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
switch (type) { case INITIATED: delegate.transferInitiated(transferEvent); break; case STARTED: delegate.transferStarted(transferEvent); break; case PROGRESSED:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/iam.go
defer cancel() switch { case usersPrefix: accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigUsersPrefix)) err = sys.store.UserNotificationHandler(ctx, accessKey, regUser) case stsPrefix: accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigSTSPrefix)) err = sys.store.UserNotificationHandler(ctx, accessKey, stsUser) case svcPrefix:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/net_test.go
} for _, testCase := range testCases { ipList, err := getHostIP(testCase.host) switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } case err == nil: t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
tests/scanner_valuer_test.go
// prepend asterisks return append([]byte("***"), data...), nil } type Num int64 func (i *Num) Scan(src interface{}) error { switch s := src.(type) { case []byte: n, _ := strconv.Atoi(string(s)) *i = Num(n) case int64: *i = Num(s) default: return errors.New("Cannot scan NamedInt from " + reflect.ValueOf(src).String()) } return nil } type StringsSlice []string
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0)