Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 232 for sizing (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      /**
       * Don't call through to the proxy selector if we don't have a host name.
       * https://github.com/square/okhttp/issues/5770
       */
      @Test fun proxySelectorNotCalledForNullHost() {
        // The string '>' is okay in a hostname in HttpUrl, which does very light hostname validation.
        // It is not okay in URI, and so it's stripped and we get a URI with a null host.
        val bogusHostname = ">"
        val address =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

         * interrupted, we can't just poll whether it's time to end the wait because our "end the wait"
         * notification has been lost. (This is in contrast to how we can poll with, say, a
         * CountDownLatch.) In order to avoid hiding the requested notification from the caller, we need
         * to return. Fortunately, a wait on a Condition is allowed to return early on account of a
         * "spurious wakeup," so we're allowed to convert interruptions into such wakeups.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

             */
            private static final String RELEASE_VERSION_INDEX = String.valueOf(QUALIFIERS.indexOf(""));
    
            private final String value;
    
            StringItem(String value, boolean followedByDigit) {
                if (followedByDigit && value.length() == 1) {
                    // a1 = alpha-1, b1 = beta-1, m1 = milestone-1
                    switch (value.charAt(0)) {
                        case 'a':
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  4. CONTRIBUTING.md

        to the core.
    *   As every PR requires several CPU/GPU hours of CI testing, we discourage
        submitting PRs to fix one typo, one warning,etc. We recommend fixing the
        same issue at the file level at least (e.g.: fix all typos in a file, fix
        all compiler warnings in a file, etc.)
    *   Tests should follow the
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

          hash *= 31;
          hash += Double.hashCode(array[i]);
        }
        return hash;
      }
    
      /**
       * Returns a string representation of this array in the same form as {@link
       * Arrays#toString(double[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

          hash *= 31;
          hash += Integer.hashCode(array[i]);
        }
        return hash;
      }
    
      /**
       * Returns a string representation of this array in the same form as {@link
       * Arrays#toString(int[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactHashSet} with enough capacity to hold {@code expectedSize}
       *     elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      public static <E extends @Nullable Object> CompactHashSet<E> createWithExpectedSize(
          int expectedSize) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        internal lateinit var connectionName: String
        internal var listener = Listener.REFUSE_INCOMING_STREAMS
        internal var pushObserver = PushObserver.CANCEL
        internal var pingIntervalMillis: Int = 0
        internal var flowControlListener: FlowControlListener = FlowControlListener.None
    
        @Throws(IOException::class)
        fun socket(
          socket: BufferedSocket,
          peerName: String,
        ) = apply {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  9. cmd/batch-expire.go

    	}
    
    	return nil
    }
    
    //msgp:ignore batchExpireJobError
    type batchExpireJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    func (e batchExpireJobError) Error() string {
    	return e.Description
    }
    
    // maxBatchRules maximum number of rules a batch-expiry job supports
    const maxBatchRules = 50
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      private enum TrimStringFunction implements Function<String, String> {
        INSTANCE;
    
        @Override
        public String apply(String string) {
          return whitespace().trimFrom(string);
        }
      }
    
      public void testCompose() {
        Function<String, String> trim = TrimStringFunction.INSTANCE;
        Predicate<String> equalsFoo = Predicates.equalTo("Foo");
        Predicate<String> equalsBar = Predicates.equalTo("Bar");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
Back to Top