Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for forbid (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

         * Apply inbound settings and send an acknowledgement to the peer that provided them.
         *
         * We need to apply the settings and ack them atomically. This is because some HTTP/2
         * implementations (nghttp2) forbid peers from taking advantage of settings before they have
         * acknowledged! In particular, we shouldn't send frames that assume a new `initialWindowSize`
         * until we send the frame that acknowledges this new size.
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        )
        executeSynchronously(Request(server.url("/")))
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      /** We forbid non-ASCII characters in outgoing request headers, but accept UTF-8.  */
      @Test
      fun responseHeaderParsingIsLenient() {
        val headersBuilder = Headers.Builder()
        headersBuilder.add("Content-Length", "0")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            builder.addHeader("WWW-Authenticate: Basic realm=\"protected area\"")
          }
    
          HttpURLConnection.HTTP_NO_CONTENT, HttpURLConnection.HTTP_RESET -> {
            builder.body("") // We forbid bodies for 204 and 205.
          }
        }
        server.enqueue(builder.build())
        if (responseCode == HttpURLConnection.HTTP_CLIENT_TIMEOUT) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .testEquals();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_emptyURLClassLoader_noParent() {
        assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet())
            .isEmpty();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_urlClassLoader_noParent() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Utf8.java

              // Check that we have a well-formed surrogate pair.
              if (Character.codePointAt(sequence, i) == c) {
                throw new IllegalArgumentException(unpairedSurrogateMsg(i));
              }
              i++;
            }
          }
        }
        return utf8Length;
      }
    
      /**
       * Returns {@code true} if {@code bytes} is a <i>well-formed</i> UTF-8 byte sequence according to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

    /**
     * Tests for {@link HostAndPort}
     *
     * @author Paul Marks
     */
    @GwtCompatible
    @NullUnmarked
    public class HostAndPortTest extends TestCase {
    
      public void testFromStringWellFormed() {
        // Well-formed inputs.
        checkFromStringCase("google.com", 80, "google.com", 80, false);
        checkFromStringCase("google.com", 80, "google.com", 80, false);
        checkFromStringCase("192.0.2.1", 82, "192.0.2.1", 82, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/HostAndPortTest.java

    /**
     * Tests for {@link HostAndPort}
     *
     * @author Paul Marks
     */
    @GwtCompatible
    @NullUnmarked
    public class HostAndPortTest extends TestCase {
    
      public void testFromStringWellFormed() {
        // Well-formed inputs.
        checkFromStringCase("google.com", 80, "google.com", 80, false);
        checkFromStringCase("google.com", 80, "google.com", 80, false);
        checkFromStringCase("192.0.2.1", 82, "192.0.2.1", 82, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            }
    
            long listSize = MemoryUtil.sizeOf(testData);
            assertTrue(listSize > 0);
    
            String memoryLog2 = MemoryUtil.getMemoryUsageLog();
    
            // Both logs should be well-formed
            assertNotNull(memoryLog1);
            assertNotNull(memoryLog2);
            assertTrue(memoryLog1.contains("Mem:"));
            assertTrue(memoryLog2.contains("Mem:"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         * were added by default.
         */
        public fun clearHeaders(): Builder =
          apply {
            headers_ = Headers.Builder()
          }
    
        /**
         * Adds [header] as an HTTP header. For well-formed HTTP [header] should contain a name followed
         * by a colon and a value.
         */
        public fun addHeader(header: String): Builder =
          apply {
            headers_.add(header)
          }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

              return rest[index - 2];
          }
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * lists in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the lists. For example:
       *
       * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
Back to top