Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for caboose (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

      }
    
      private fun serverTruncatesRequestButTrailersCanStillBeRead(http2: Boolean) {
        val mockResponse =
          MockResponse
            .Builder()
            .doNotReadRequestBody()
            .trailers(headersOf("caboose", "xyz"))
    
        // Trailers always work for HTTP/2, but only for chunked bodies in HTTP/1.
        if (http2) {
          mockResponse.body("abc")
        } else {
          mockResponse.chunkedBody("abc", 1)
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. android/guava/pom.xml

              <!-- We add the link ourselves so that we can choose Java 25 over the version that -source suggests. -->
              <detectJavaApiLink>false</detectJavaApiLink>
              <offlineLinks>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          if (nextThrewException) {
            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchJdkBug6529795InTargetIterator() {
        try {
          /* Choose 4 steps to get sequence [next, next, next, remove] */
          new IteratorTester<Integer>(
              4, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
            @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

       * unspecified amount of padding; **don't do this**. Instead, use {@code new }{@link
       * ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly and choose an explicit padding
       * amount.
       *
       * @param estimatedSize an estimate of the eventual {@link List#size()} of the new list
       * @return a new, empty {@code ArrayList}, sized appropriately to hold the estimated number of
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

       */
      private static int chooseNextSelection(
          int[] allRequired, int requiredFrom, int requiredTo, int from, int to) {
        if (requiredFrom == requiredTo) {
          return requiredFrom; // only one thing to choose, so choose it
        }
    
        // Find the center and round down. The true center is either centerFloor or halfway between
        // centerFloor and centerFloor + 1.
        int centerFloor = (from + to) >>> 1;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
              synchronized (queue) {
                // Choose whether this thread will run or not after acquiring the lock on the first
                // iteration
                if (!hasSetRunning) {
                  if (workerRunningState == RUNNING) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
              synchronized (queue) {
                // Choose whether this thread will run or not after acquiring the lock on the first
                // iteration
                if (!hasSetRunning) {
                  if (workerRunningState == RUNNING) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

            TlsVersion.TLS_1_2,
            reversed,
          )
    
        makeRequest(client)
    
        val expectedConnectionCipherSuites = expectedConnectionCipherSuites(client)
        // Will choose a poor cipher suite but not plaintext.
    //    assertThat(handshake.cipherSuite).isEqualTo("TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256")
        assertThat(handshakeEnabledCipherSuites).containsExactly(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Sep 16 07:21:43 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RangeSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain
     * Range#isConnected(Range) disconnected} ranges of type {@code C}.
     *
     * <p>Implementations that choose to support the {@link #add(Range)} operation are required to
     * ignore empty ranges and coalesce connected ranges. For example:
     *
     * {@snippet :
     * RangeSet<Integer> rangeSet = TreeRangeSet.create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                ArgumentCaptor<jcifs.internal.smb1.com.SmbComReadAndX> cap =
                        ArgumentCaptor.forClass(jcifs.internal.smb1.com.SmbComReadAndX.class);
    
                // Act: choose len so upper/lower 16-bit parts are exercised
                byte[] buf = new byte[0x30000];
                try {
                    in.readDirect(buf, 0, 0x12345);
                    fail("Expected IOException due to short-circuit");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top