Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for exhausted (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       *
       * Will only be invoked for requests having a response body e.g. won't be invoked for a web socket
       * upgrade.
       *
       * If the response body is closed before the response body is exhausted, this is invoked at the
       * time it is closed. In such calls [byteCount] is the number of bytes returned to the
       * application. This may be smaller than the resource's byte count if were read to completion.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

      /**
       * Returns the least of the specified values according to this ordering. If there are multiple
       * least values, the first of those is returned. The iterator will be left exhausted: its {@code
       * hasNext()} method will return {@code false}.
       *
       * <p><b>Java 8+ users:</b> Use {@code Streams.stream(iterator).min(thisComparator).get()} instead
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        limiter.acquire(1); // R0.00, from capacity
        limiter.acquire(3); // R0.00, from capacity
        limiter.acquire(1); // R0.00, concluding a burst of 5 permits
    
        limiter.acquire(); // R0.20, capacity exhausted
        assertEvents(
            "U1.00", "U1.00", "R0.00", "R0.00", "R0.00", "R0.00", // first request and burst
            "R0.20");
      }
    
      public void testCreateWarmupParameterValidation() {
        RateLimiter unused;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

              val peerCertificates = readCertificateList(source)
              val localCertificates = readCertificateList(source)
              val tlsVersion =
                if (!source.exhausted()) {
                  TlsVersion.forJavaName(source.readUtf8LineStrict())
                } else {
                  TlsVersion.SSL_3_0
                }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

                  cancel()
                }
              }
            } else if (messageOrClose == null) {
              return false // The queue is exhausted.
            }
          }
        }
    
        try {
          if (pong != null) {
            writer!!.writePong(pong)
          } else if (messageOrClose is Message) {
            val message = messageOrClose as Message
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        limiter.acquire(1); // R0.00, from capacity
        limiter.acquire(3); // R0.00, from capacity
        limiter.acquire(1); // R0.00, concluding a burst of 5 permits
    
        limiter.acquire(); // R0.20, capacity exhausted
        assertEvents(
            "U1.00", "U1.00", "R0.00", "R0.00", "R0.00", "R0.00", // first request and burst
            "R0.20");
      }
    
      public void testCreateWarmupParameterValidation() {
        RateLimiter unused;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // those subtasks to finish.
                // This ensures the number of running workers is no more than
                // the defined parallism, while making sure the pool will not
                // be exhausted
                //
                return new ThreadPoolExecutor(
                        parallelism, Integer.MAX_VALUE, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

              break // End of journal.
            }
          }
    
          redundantOpCount = lineCount - lruEntries.size
    
          // If we ended on a truncated line, rebuild the journal before appending to it.
          if (!exhausted()) {
            rebuildJournal()
          } else {
            journalWriter?.closeQuietly()
            journalWriter = newJournalWriter()
          }
        }
      }
    
      @Throws(FileNotFoundException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(response.header("h2")).isEqualTo("v2")
        assertThat(source.readUtf8(5)).isEqualTo("Hello")
        assertThat(source.readUtf8(7)).isEqualTo("Bonjour")
        assertThat(source.exhausted()).isTrue()
        assertThat(response.trailers()).isEqualTo(headersOf("trailers", "boom"))
      }
    
      @Test
      fun clientReadsHeadersDataTrailersHttp2() {
        platform.assumeHttp2Support()
        server.enqueue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    		if tr < sr {
    			tr, sr = sr, tr
    		}
    		// ASCII only, sr/tr must be upper/lower case
    		if 'A' <= sr && sr <= 'Z' && tr == sr+'a'-'A' {
    			continue
    		}
    		return false
    	}
    	// Check if we've exhausted both strings.
    	return len(s) == len(t)
    
    hasUnicode:
    	s = s[i:]
    	t = t[i:]
    	for len(s) != 0 && len(t) != 0 {
    		// Extract first rune from each.
    		var sr, tr rune
    		if s[0] < utf8.RuneSelf {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top