Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for abcdefgh (0.1 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

        //     the smaller of these blocks with the far end of the other one. That leaves us with a
        //     smaller version of the same problem.
        //     Say we are rotating abcdefgh by 5. We start with abcde|fgh. The smaller block is [fgh]:
        //     [abc]de|[fgh] -> [fgh]de|[abc]. Now [fgh] is in the right place, but we need to swap [de]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      @Test
      fun inputStreamAvailableWithNoLengthHeaders() {
        testInputStreamAvailable(TransferKind.END_OF_STREAM)
      }
    
      private fun testInputStreamAvailable(transferKind: TransferKind) {
        val body = "ABCDEFGH"
        val builder = MockResponse.Builder()
        transferKind.setBody(builder, body, 4)
        server.enqueue(builder.build())
        val response = getResponse(newRequest("/"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        sink.writeUtf8("abcdefghi")
        sink.close()
    
        // Verify the peer received what was expected.
        val headers1 = peer.takeFrame()
        assertThat(headers1.type).isEqualTo(Http2.TYPE_HEADERS)
        val data1 = peer.takeFrame()
        assertThat(data1.type).isEqualTo(Http2.TYPE_DATA)
        assertThat(data1.streamId).isEqualTo(3)
        assertArrayEquals("abcdefghi".toByteArray(), data1.data)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // An 8n+{1,3,6} length string is never legal base32.
        assertFailsToDecode(base32(), "A", "Invalid input length 1");
        assertFailsToDecode(base32(), "ABC");
        assertFailsToDecode(base32(), "ABCDEF");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base32(), "AB=C", "Unrecognized character: =");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
        assertEquals("aa", Strings.commonPrefix("aa", "aaaaa"));
        assertEquals("abc", Strings.commonPrefix(new StringBuilder("abcdef"), "abcxyz"));
    
        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.setDoOutput(true)
        connection.getOutputStream().write("ABCDEF".toByteArray(StandardCharsets.UTF_8))
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .build(),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.doOutput = true
        connection.getOutputStream().write("ABCDEF".toByteArray(UTF_8))
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // An 8n+{1,3,6} length string is never legal base32.
        assertFailsToDecode(base32(), "A", "Invalid input length 1");
        assertFailsToDecode(base32(), "ABC");
        assertFailsToDecode(base32(), "ABCDEF");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base32(), "AB=C", "Unrecognized character: =");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/SplitterTest.java

        Iterable<String> letters = Splitter.fixedLength(2).split(simple);
        assertThat(letters).containsExactly("ab", "cd", "e").inOrder();
      }
    
      public void testFixedLengthSplitEqualChunkLength() {
        String simple = "abcdef";
        Iterable<String> letters = Splitter.fixedLength(2).split(simple);
        assertThat(letters).containsExactly("ab", "cd", "ef").inOrder();
      }
    
      public void testFixedLengthSplitOnlyOneChunk() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun connectionReuse(protocol: Protocol) {
        setUp(protocol)
        server.enqueue(MockResponse(body = "ABCDEF"))
        server.enqueue(MockResponse(body = "GHIJKL"))
        val call1 = client.newCall(Request(server.url("/r1")))
        val call2 = client.newCall(Request(server.url("/r1")))
        val response1 = call1.execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top