Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 271 for has_value (0.21 sec)

  1. guava/src/com/google/common/collect/ContiguousSet.java

       * <p>Note that this method will return ranges with unbounded endpoints if {@link BoundType#OPEN}
       * is requested for a domain minimum or maximum. For example, if {@code set} was created from the
       * range {@code [1..Integer.MAX_VALUE]} then {@code set.range(CLOSED, OPEN)} must return {@code
       * [1..∞)}.
       *
       * @throws NoSuchElementException if this set is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedLong.java

      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
      public static final UnsignedLong MAX_VALUE = new UnsignedLong(-1L);
    
      private final long value;
    
      private UnsignedLong(long value) {
        this.value = value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          super(key, hash, next);
        }
    
        // The code below is exactly the same for each access entry type.
    
        volatile long accessTime = Long.MAX_VALUE;
    
        @Override
        public long getAccessTime() {
          return accessTime;
        }
    
        @Override
        public void setAccessTime(long time) {
          this.accessTime = time;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       */
      fun skipConnectBody(response: Response) {
        val contentLength = response.headersContentLength()
        if (contentLength == -1L) return
        val body = newFixedLengthSource(contentLength)
        body.skipAll(Int.MAX_VALUE, MILLISECONDS)
        body.close()
      }
    
      /** An HTTP request body. */
      private inner class KnownLengthSink : Sink {
        private val timeout = ForwardingTimeout(sink.timeout())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/SuppliersTest.java

            new Function<Supplier<Boolean>, Supplier<Boolean>>() {
              @Override
              public Supplier<Boolean> apply(Supplier<Boolean> supplier) {
                return Suppliers.memoizeWithExpiration(supplier, Long.MAX_VALUE, NANOSECONDS);
              }
            };
        testSupplierThreadSafe(memoizer);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      public void testMemoizedSupplierThreadSafe() throws Throwable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/SuppliersTest.java

            new Function<Supplier<Boolean>, Supplier<Boolean>>() {
              @Override
              public Supplier<Boolean> apply(Supplier<Boolean> supplier) {
                return Suppliers.memoizeWithExpiration(supplier, Long.MAX_VALUE, NANOSECONDS);
              }
            };
        testSupplierThreadSafe(memoizer);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      public void testMemoizedSupplierThreadSafe() throws Throwable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          this.webSocketListenerVar = null
          this.headers =
            Headers.Builder()
              .add("Content-Length", "0")
          this.trailers = Headers.Builder()
          this.throttleBytesPerPeriod = Long.MAX_VALUE
          this.throttlePeriodNanos = 0L
          this.socketPolicy = KeepOpen
          this.bodyDelayNanos = 0L
          this.headersDelayNanos = 0L
          this.pushPromises = mutableListOf()
          this.settings = Settings()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
       *
       * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes.
       *
       * @param file the file to map
       * @return a read-only buffer reflecting {@code file}
       * @throws FileNotFoundException if the {@code file} does not exist
       * @throws IOException if an I/O error occurs
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

      ) {
        this.server = server
        this.server2 = server2
        platform.assumeNotOpenJSSE()
        server.protocolNegotiationEnabled = false
        fileSystem.emulateUnix()
        cache = Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE)
        client =
          clientTestRule.newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        // before its keepAliveDurationNs is reached.
        var earliestOldIdleAtNs = (now - keepAliveDurationNs) + 1
        var earliestOldConnection: RealConnection? = null
        var earliestEvictableIdleAtNs = Long.MAX_VALUE
        var earliestEvictableConnection: RealConnection? = null
        var inUseConnectionCount = 0
        var evictableConnectionCount = 0
        for (connection in connections) {
          connection.withLock {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top