Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 120 for Fabc (0.02 sec)

  1. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      }
    
      @SuppressWarnings("unchecked") // functor classes have no type parameters
      public void testGet_functors() {
        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
        assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
        assertTrue(ArbitraryInstances.get(Equivalence.class).equivalent(1, 1));
        assertFalse(ArbitraryInstances.get(Equivalence.class).equivalent(1, 2));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

        // TODO test jdk.tls.client.enableSessionTicketExtension
        // TODO check debugging information
    
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          if (PlatformVersion.majorVersion > 11) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

        }
      }
    
      @Test
      fun writeBounds() {
        val operator =
          FileOperator(
            randomAccessFile!!.getChannel(),
          )
        val buffer = Buffer().writeUtf8("abc")
        assertFailsWith<IndexOutOfBoundsException> {
          operator.write(0, buffer, -1L)
        }
        assertFailsWith<IndexOutOfBoundsException> {
          operator.write(0, buffer, 4L)
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        String msg = "Alphanumeric characters are always 'safe' and should not be explicitly specified";
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false));
        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

          override fun contentType(): MediaType? = "text/plain".toMediaTypeOrNull()
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            try {
              sink.writeUtf8("abc")
              sink.flush()
              Thread.sleep(sleepMillis.toLong())
              sink.writeUtf8("def")
            } catch (e: InterruptedException) {
              throw InterruptedIOException()
            }
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

              } else if (socketMode == Channel) {
                socketFactory(ChannelSocketFactory())
              }
            }.build()
    
        server.enqueue(MockResponse(body = "abc"))
    
        @Suppress("HttpUrlsUsage")
        val url =
          if (socketMode is TlsInstance) {
            "https://$hostname:${server.port}/get"
          } else {
            "http://$hostname:${server.port}/get"
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
      public void testReadsStringsCorrectly() throws IOException {
        assertReadsCorrectly("abc");
        assertReadsCorrectly("abcde");
        assertReadsCorrectly("abcdefghijkl");
        assertReadsCorrectly(
            ""
                + "abcdefghijklmnopqrstuvwxyz\n"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ\r"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBUtil.writeInt4(1, buffer, notifyOffset + 4);
            SMBUtil.writeInt4(6, buffer, notifyOffset + 8); // 6 bytes filename
            System.arraycopy("abc".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 6);
    
            // Second notification starts at aligned offset
            notifyOffset = 108; // 80 + 28
            SMBUtil.writeInt4(0, buffer, notifyOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. cmd/signature-v4-utils_test.go

    func TestSignV4TrimAll(t *testing.T) {
    	testCases := []struct {
    		// Input.
    		inputStr string
    		// Expected result.
    		result string
    	}{
    		{"本語", "本語"},
    		{" abc ", "abc"},
    		{" a b ", "a b"},
    		{"a b ", "a b"},
    		{"a  b", "a b"},
    		{"a   b", "a b"},
    		{"   a   b  c   ", "a b c"},
    		{"a \t b  c   ", "a b c"},
    		{"\"a \t b  c   ", "\"a b c"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> VALID_NAME =
          ImmutableSet.of(
              // keep-sorted start
              "123.cn",
              "8server.shop",
              "a" + DELTA + "b.com",
              "abc.a23",
              "biz.com.ua",
              "f--1.com",
              "f--o",
              "f-_-o.cOM",
              "f11-1.com",
              "fOo",
              "f_a",
              "foo.com",
              "foo.net.us\uFF61ocm",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top