- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 1,315 for range (0.19 sec)
-
cmd/config-encrypted_test.go
} tests := []struct { edata []byte cred auth.Credentials success bool }{ {edata1, cred1, true}, {edata2, cred2, true}, {data, cred1, false}, } for _, test := range tests { t.Run("", func(t *testing.T) { ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata)) if err != nil && test.success { t.Errorf("Expected success, saw failure %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/http/check_port_test.go
}{ {"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)}, {"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)}, } for _, testCase := range testCases { err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{}) switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/http/server_test.go
{[]string{"127.0.0.1:9000"}, handler, getCert}, {[]string{nonLoopBackIP + ":9000"}, handler, getCert}, {[]string{"127.0.0.1:9000", nonLoopBackIP + ":9000"}, handler, getCert}, } for i, testCase := range testCases { server := NewServer(testCase.addrs). UseHandler(testCase.handler) if testCase.certFn != nil { server = server.UseTLSConfig(&tls.Config{ PreferServerCipherSuites: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 2.5K bytes - Viewed (0) -
misc/go_android_exec/exitcode_test.go
} } wantErr = regexp.MustCompile("^no exit code") check("abc") check("exitcode") check("exitcode=") check("exitcode=123\n") wantErr = regexp.MustCompile("^bad exit code: .* value out of range") check("exitcode=999999999999999999999999")
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed May 03 14:54:58 UTC 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
return err } } else { if podNames, podNamespace, err = getPodNames(ctx, args[0], ctx.Namespace()); err != nil { return err } } for _, pod := range podNames { err := printStatus(c, kubeClient, statsType, pod, podNamespace) if err != nil { return err } } return nil }, ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
/** The HTTP {@code Proxy-Authorization} header field name. */ public static final String PROXY_AUTHORIZATION = "Proxy-Authorization"; /** The HTTP {@code Range} header field name. */ public static final String RANGE = "Range"; /** The HTTP {@code Referer} header field name. */ public static final String REFERER = "Referer"; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 19:08:38 UTC 2024 - 35.3K bytes - Viewed (0) -
internal/config/identity/openid/jwks_test.go
if err := json.Unmarshal([]byte(jsonkey), &jk); err != nil { t.Fatal("Unmarshal: ", err) } else if len(jk.Keys) != 3 { t.Fatalf("Expected 3 keys, got %d", len(jk.Keys)) } var kids []string for ii, jks := range jk.Keys { _, err := jks.DecodePublicKey() if err != nil { t.Fatalf("Failed to decode key %d: %v", ii, err) } kids = append(kids, jks.Kid) } if len(kids) != 3 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 9.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return string; } }; } @Empty static <C extends Comparable<?>> Range<C> generateRange() { return Range.all(); } @Generates static <C extends Comparable<?>> Range<C> generateRange(C freshElement) { return Range.singleton(freshElement); } @Generates static <E> Iterable<E> generateIterable(@Nullable E freshElement) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
} /** * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of * the result is chosen uniformly at random in [0, numBits), and then the result is chosen in that * range uniformly at random. Zero is treated as having log2 == 0. */ static BigInteger randomNonNegativeBigInteger(int numBits) { int digits = RANDOM_SOURCE.nextInt(numBits); if (digits == 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
if err != nil { return nil, fmt.Errorf("watcher create: %v", err) } fileModified, errChan := make(chan struct{}), make(chan error) go watchFiles(watcher, fileModified, errChan) for _, path := range paths { if !file.Exists(path) { log.Infof("file watcher skipping watch on non-existent path: %v", path) continue } if err := watcher.Add(path); err != nil { if closeErr := watcher.Close(); closeErr != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0)