Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2101 - 2110 of 2,143 for ELSE (0.02 sec)

  1. guava/src/com/google/common/cache/CacheBuilder.java

      private void checkWeightWithWeigher() {
        if (weigher == null) {
          checkState(maximumWeight == UNSET_INT, "maximumWeight requires weigher");
        } else {
          if (strictParsing) {
            checkState(maximumWeight != UNSET_INT, "weigher requires maximumWeight");
          } else {
            if (maximumWeight == UNSET_INT) {
              LoggerHolder.logger.log(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	}
    
    	var volInfos []VolInfo
    	// TestXLStorage empty list vols.
    	if volInfos, err = xlStorage.ListVols(context.Background()); err != nil {
    		t.Fatalf("expected: <nil>, got: %s", err)
    	} else if len(volInfos) != 1 {
    		t.Fatalf("expected: one entry, got: %s", volInfos)
    	}
    
    	// TestXLStorage non-empty list vols.
    	if err = xlStorage.MakeVol(context.Background(), "success-vol"); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/CharMatcherTest.java

       */
      private void assertEqualsSame(String expected, String in, String out) {
        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
      }
    
      // Test collapse() a little differently than the rest, as we really want to
      // cover lots of different configurations of input text
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
            }
          }
          fail("FLOATING_POINT_PATTERN should have matched valid input <" + escapedInput + ">");
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          OkHttpClient.Builder()
            .addNetworkInterceptor(
              Interceptor { chain ->
                when {
                  extraNetworkInterceptor != null -> extraNetworkInterceptor!!.intercept(chain)
                  else -> chain.proceed(chain.request())
                }
              },
            )
            .addNetworkInterceptor(networkInterceptor)
            .addInterceptor(applicationInterceptor)
            .sslSocketFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-rebalance.go

    	r := &rebalanceMeta{}
    	if err := r.load(ctx, z.serverPools[0]); err == nil {
    		z.rebalMu.Lock()
    		z.rebalMeta = r
    		z.updateRebalanceStats(ctx)
    		z.rebalMu.Unlock()
    	} else if !errors.Is(err, errConfigNotFound) {
    		rebalanceLogIf(ctx, fmt.Errorf("failed to load rebalance metadata, continue to restart rebalance as needed: %w", err))
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	case dns.ErrBucketConflict:
    		apiErr = ErrBucketAlreadyExists
    	default:
    		if strings.Contains(err.Error(), "request declared a Content-Length") {
    			apiErr = ErrIncompleteBody
    		} else {
    			apiErr = ErrInternalError
    		}
    	}
    
    	return apiErr
    }
    
    var noError = APIError{}
    
    // toAPIError - Converts embedded errors. Convenience
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

          }
        }
    
        // read MAX_ARRAY_LEN bytes without seeing end of stream
        if (in.read() == -1) {
          // oh, there's the end of the stream
          return combineBuffers(bufs, MAX_ARRAY_LEN);
        } else {
          throw new OutOfMemoryError("input is too large to fit in a byte array");
        }
      }
    
      private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) {
        if (bufs.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // - '/' escapes to '__slash__'
      // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
      // 	  "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
      // 	  "import", "let", "loop", "package", "namespace", "return".
      // Examples:
      //   - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

              // JDK 11 response to the FAIL_HANDSHAKE
              val jvmVersion = System.getProperty("java.specification.version")
              assertThat(jvmVersion).isEqualTo("11")
            }
            else -> throw expected
          }
        }
      }
    
      @Test
      fun tlsHostnameVerificationFailure() {
        assumeNotWindows()
        platform.assumeNotBouncyCastle()
    
        server.enqueue(MockResponse())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top