Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3491 - 3500 of 4,989 for STRING (0.31 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
    
          assertThat(response.body.string()).contains("h=cloudflare-dns.com")
        }
      }
    
      @Test
      fun getWithDns() {
        client =
          client
            .newBuilder()
            .dns {
              Dns.SYSTEM.lookup("sni.cloudflaressl.com")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

          }
        };
    
        abstract Appendable get(int sz);
      }
    
      @Param CopyStrategy strategy;
      @Param TargetSupplier target;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      String data;
    
      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/Progress.java

        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new Progress().run();
      }
    
      private static class ProgressResponseBody extends ResponseBody {
    
        private final ResponseBody responseBody;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

        /**
         * Default constructor for TestLocking
         */
        public TestLocking() {
            // Default constructor
        }
    
        int numThreads = 1;
        int numIter = 1;
        long delay = 100;
        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
        @Override
        public void run() {
            try {
                final SmbFile f = new SmbFile(url);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            response.fileType = 6;
            response.deviceState = 7;
            response.action = 8;
            response.serverFid = 9;
    
            // Call toString method
            String result = response.toString();
    
            // Assert that the output string contains the expected field values
            assertNotNull(result);
            assertTrue(result.contains("SmbComOpenAndXResponse"));
            assertTrue(result.contains("fid=1"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/SearchBody.java

        /**
         * Default constructor.
         */
        public SearchBody() {
            super();
        }
    
        /** Search term for related queries */
        public String term;
    
        /** Related queries text */
        public String queries;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/net/UuidUtilTest.java

    public class UuidUtilTest extends TestCase {
    
        /**
         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
            System.out.println(uuid);
            final String uuid2 = UuidUtil.create();
            System.out.println(uuid2);
            assertFalse(uuid.equals(uuid2));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     *
     * ```java
     * if (response.request().header("Authorization") != null) {
     *   return null; // Give up, we've already failed to authenticate.
     * }
     *
     * String credential = Credentials.basic(...)
     * return response.request().newBuilder()
     *     .header("Authorization", credential)
     *     .build();
     * ```
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/SipHashFunction.java

        return 64;
      }
    
      @Override
      public Hasher newHasher() {
        return new SipHasher(c, d, k0, k1);
      }
    
      // TODO(kak): Implement and benchmark the hashFoo() shortcuts.
    
      @Override
      public String toString() {
        return "Hashing.sipHash" + c + "" + d + "(" + k0 + ", " + k1 + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof SipHashFunction) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractTable.java

        return Tables.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return cellSet().hashCode();
      }
    
      /** Returns the string representation {@code rowMap().toString()}. */
      @Override
      public String toString() {
        return rowMap().toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top