Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fixedLength (0.07 sec)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(letters).containsExactly("a", "b", "c", "d").inOrder();
      }
    
      public void testFixedLengthSplitZeroChunkLen() {
        assertThrows(IllegalArgumentException.class, () -> Splitter.fixedLength(0));
      }
    
      public void testFixedLengthSplitNegativeChunkLen() {
        assertThrows(IllegalArgumentException.class, () -> Splitter.fixedLength(-1));
      }
    
      public void testLimitLarge() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
                Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
          }
        }
      }
    
      private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) {
        testEncodes(encoding, decoded, encoded);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
                Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
          }
        }
      }
    
      private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) {
        testEncodes(encoding, decoded, encoded);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun fixedLengthUpload_byteByByte() {
        doUpload(TransferKind.FIXED_LENGTH, WriteKind.BYTE_BY_BYTE)
      }
    
      @Test
      fun fixedLengthUpload_smallBuffers() {
        doUpload(TransferKind.FIXED_LENGTH, WriteKind.SMALL_BUFFERS)
      }
    
      @Test
      fun fixedLengthUpload_largeBuffers() {
        doUpload(TransferKind.FIXED_LENGTH, WriteKind.LARGE_BUFFERS)
      }
    
      private fun doUpload(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        server.close() // tearDown() isn't sufficient; this test starts multiple servers
      }
    
      @Test
      fun responseCachingAndInputStreamSkipWithFixedLength() {
        testResponseCaching(TransferKind.FIXED_LENGTH)
      }
    
      @Test
      fun responseCachingAndInputStreamSkipWithChunkedEncoding() {
        testResponseCaching(TransferKind.CHUNKED)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top