- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 2,461 for Case (0.04 sec)
-
cmd/metrics-v3-types.go
func (mt MetricType) String() string { switch mt { case CounterMT: return "counter" case GaugeMT: return "gauge" case HistogramMT: return "histogram" default: return "*unknown*" } } func (mt MetricType) toProm() prometheus.ValueType { switch mt { case CounterMT: return prometheus.CounterValue case GaugeMT: return prometheus.GaugeValue case HistogramMT: return prometheus.CounterValue
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbShareInfo.java
} public int getType() { /* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end */ switch (type & 0xFFFF) { case 1: return SmbFile.TYPE_PRINTER; case 3: return SmbFile.TYPE_NAMED_PIPE; } return SmbFile.TYPE_SHARE; } public int getAttributes() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
} } private static int mapArcfourMD5KeyUsage ( int keyusage ) { int ms_usage = keyusage; switch ( ms_usage ) { case 3: ms_usage = 8; case 9: ms_usage = 8; case 23: ms_usage = 13; } return ms_usage; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } resultCases := []ObjectInfo{ // ObjectInfo -1. // ObjectName set to a existing object in the test case (Test case 14). {Bucket: "test-getobjectinfo", Name: "Asia/asiapics.jpg", ContentType: "image/jpeg", IsDir: false}, {Bucket: "test-getobjectinfo", Name: "Asia/empty-dir/", ContentType: "application/octet-stream", IsDir: true}, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
internal/grid/handlers.go
for { select { case <-ctx.Done(): return case v, ok := <-in: if !ok { return } input := h.NewRequest() _, err := input.UnmarshalMsg(v) if err != nil { gridLogOnceIf(ctx, err, err.Error()) } PutByteBuffer(v) // Send input select { case <-ctx.Done(): return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
* using DefaultRepositoryLayout requires us to enforce usage of the artifact's base version. This * transformation however contradicts the other use case of precisely obeying the repository's layout. The below * flag tries to detect which use case applies to make both plugins happy. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> { static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) { switch (map.size()) { case 0: return ImmutableMap.of(); case 1: Entry<K, V> entry = getOnlyElement(map.entrySet()); return ImmutableMap.of(entry.getKey(), entry.getValue()); default: return new ImmutableEnumMap<>(map); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphConnections.java
/** * Add {@code node} as a predecessor to the origin node. In the case of an undirected graph, it * also becomes a successor. Associates {@code value} with the edge connecting the two nodes. */ void addPredecessor(N node, V value); /** * Add {@code node} as a successor to the origin node. In the case of an undirected graph, it also
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.4K bytes - Viewed (0) -
cmd/endpoint_test.go
} for i, test := range testCases { t.Run(fmt.Sprint("case-", i), func(t *testing.T) { endpoint, err := NewEndpoint(test.arg) if err == nil { err = endpoint.UpdateIsLocal() } switch { case test.expectedErr == nil: if err != nil { t.Errorf("error: expected = <nil>, got = %v", err) } case err == nil: t.Errorf("error: expected = %v, got = <nil>", test.expectedErr)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:53:03 UTC 2024 - 18.9K bytes - Viewed (0) -
cmd/batch-replicate.go
type BatchJobReplicateResourceType string // Validate validates if the replicate resource type is recognized and supported func (t BatchJobReplicateResourceType) Validate() error { switch t { case BatchJobReplicateResourceMinIO: case BatchJobReplicateResourceS3: default: return errInvalidArgument } return nil } func (t BatchJobReplicateResourceType) isMinio() bool { return t == BatchJobReplicateResourceMinIO }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0)