- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,461 for Case (0.04 sec)
-
guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
this.network = createNetwork(edgeType); } private static MutableNetwork<Integer, String> createNetwork(EdgeType edgeType) { switch (edgeType) { case UNDIRECTED: return NetworkBuilder.undirected().allowsSelfLoops(true).build(); case DIRECTED: return NetworkBuilder.directed().allowsSelfLoops(true).build(); } throw new IllegalStateException("Unexpected edge type: " + edgeType); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/asm/internal/arch/s390x.go
} func s390xRegisterNumber(name string, n int16) (int16, bool) { switch name { case "AR": if 0 <= n && n <= 15 { return s390x.REG_AR0 + n, true } case "F": if 0 <= n && n <= 15 { return s390x.REG_F0 + n, true } case "R": if 0 <= n && n <= 15 { return s390x.REG_R0 + n, true } case "V": if 0 <= n && n <= 31 { return s390x.REG_V0 + n, true } } return 0, false
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 17 14:55:25 UTC 2019 - 1.2K bytes - Viewed (0) -
internal/http/server_test.go
}) } if server == nil { t.Fatalf("Case %v: server: expected: <non-nil>, got: <nil>", (i + 1)) } else if !reflect.DeepEqual(server.Addrs, testCase.addrs) { t.Fatalf("Case %v: server.Addrs: expected: %v, got: %v", (i + 1), testCase.addrs, server.Addrs) } if testCase.certFn == nil { if server.TLSConfig != nil { t.Fatalf("Case %v: server.TLSConfig: expected: <nil>, got: %v", (i + 1), server.TLSConfig)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
switch (messageType) { case 'D': return new LogMessage(LogLevel.DEBUG, message); case 'I': return new LogMessage(LogLevel.INFO, message); case 'W': return new LogMessage(LogLevel.WARN, message); case 'E': return new LogMessage(LogLevel.ERROR, message); case 'F': return new LogMessage(LogLevel.FATAL, message);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.2K bytes - Viewed (0) -
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) -
cni/pkg/install/install_test.go
go func(ctx context.Context) { errChan <- in.sleepWatchInstall(ctx, sets.String{}) }(ctx) select { case <-readyChan: assert.Equal(t, isReady.Load(), true) case err := <-errChan: if err == nil { t.Fatal("invalid configuration detected") } t.Fatal(err) case <-time.After(5 * time.Second): t.Fatal("timed out waiting for isReady to be set to true") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 11.1K bytes - Viewed (0) -
internal/grid/msg_gen.go
return } switch msgp.UnsafeString(field) { case "ID": err = dc.ReadExactBytes((z.ID)[:]) if err != nil { err = msgp.WrapError(err, "ID") return } case "Host": z.Host, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Host") return } case "Time": z.Time, err = dc.ReadTime() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 22.4K bytes - Viewed (0) -
cmd/os-reliable.go
return err } if err = reliableRemoveAll(dirPath); err != nil { switch { case isSysErrNotDir(err): // File path cannot be verified since one of // the parents is a file. return errFileAccessDenied case isSysErrPathNotFound(err): // This is a special case should be handled only for // windows, because windows API does not return "not a
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
secretKey string expectedRespStatus int }{ // Test case - 1. // Validate a good case request succeeds. { bucketName: bucketName, accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusOK, }, // Test case - 2. // Test case with invalid accessKey to produce and validate Signature Mismatch error. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
switch (edgeType) { case UNDIRECTED: return GraphBuilder.undirected().allowsSelfLoops(true).build(); case DIRECTED: return GraphBuilder.directed().allowsSelfLoops(true).build(); } throw new IllegalStateException("Unexpected edge type: " + edgeType); } private static EdgeType oppositeType(EdgeType edgeType) { switch (edgeType) { case UNDIRECTED: return EdgeType.DIRECTED;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4.6K bytes - Viewed (0)