Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 595 for _max (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private var lastModified: Date? = null
        private var lastModifiedString: String? = null
    
        /**
         * The expiration date of the cached response, if known. If both this field and the max age are
         * set, the max age is preferred.
         */
        private var expires: Date? = null
    
        /**
         * Extension header set by OkHttp specifying the timestamp when the cached HTTP request was
         * first initiated.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/bufio/export_test.go

    // Exported for testing only.
    import (
    	"unicode/utf8"
    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    	s.maxTokenSize = n
    }
    
    // ErrOrEOF is like Err, but returns EOF. Used to test a corner case.
    func (s *Scanner) ErrOrEOF() error {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 02 17:17:44 UTC 2017
    - 597 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringMapGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum TimeoutsToUse {
        ANY(Timeout.values()),
        PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO),
        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
        FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL),
        INFINITE(Timeout.LARGE, Timeout.MAX);
    
        final ImmutableList<Timeout> timeouts;
    
        TimeoutsToUse(Timeout... timeouts) {
          this.timeouts = ImmutableList.copyOf(timeouts);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(8.0f, 6.0f, 7.0f, 5.0f, 3.0f, 0.0f, 9.0f)).isEqualTo(9.0f);
    
        assertThat(max(-0f, 0f)).isEqualTo(0f);
        assertThat(max(0f, -0f)).isEqualTo(0f);
        assertThat(max(NUMBERS)).isEqualTo(GREATEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(8.0f, 6.0f, 7.0f, 5.0f, 3.0f, 0.0f, 9.0f)).isEqualTo(9.0f);
    
        assertThat(max(-0f, 0f)).isEqualTo(0f);
        assertThat(max(0f, -0f)).isEqualTo(0f);
        assertThat(max(NUMBERS)).isEqualTo(GREATEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        // simple string tests
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      /** Tests the various ways that the space character can be handled */
      public void testPlusForSpace() {
        UnicodeEscaper basicEscaper = new PercentEscaper("", false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/DoubleUtils.java

    import static java.lang.Double.doubleToRawLongBits;
    import static java.lang.Double.isNaN;
    import static java.lang.Double.longBitsToDouble;
    import static java.lang.Math.getExponent;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.math.BigInteger;
    
    /**
     * Utilities for {@code double} primitives.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
      static void assertBasicUrlEscaper(UnicodeEscaper e) {
        assertBasicUrlEscaperExceptPercent(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/server-rlimit.go

    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    func setMaxResources(ctx serverCtxt) (err error) {
    	// Set the Go runtime max threads threshold to 90% of kernel setting.
    	sysMaxThreads, err := sys.GetMaxThreads()
    	if err == nil {
    		minioMaxThreads := (sysMaxThreads * 90) / 100
    		// Only set max threads if it is greater than the default one
    		if minioMaxThreads > 10000 {
    			debug.SetMaxThreads(minioMaxThreads)
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top