Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 370 for binder (0.17 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

        assertThat(response.code).isEqualTo(0)
      }
    
      @Test fun defaultResponseBodyIsEmpty() {
        val response =
          Response
            .Builder()
            .request(
              Request
                .Builder()
                .url("https://example.com/")
                .build(),
            ).protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
    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. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec
        .Builder(true)
        .cipherSuites(*TLS13_CIPHER_SUITES.toTypedArray())
        .tlsVersions(TlsVersion.TLS_1_3)
        .build()
    
    private val TLS_12 =
      ConnectionSpec
        .Builder(ConnectionSpec.RESTRICTED_TLS)
        .tlsVersions(TlsVersion.TLS_1_2)
        .build()
    
    private fun testClient(
      urls: List<String>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/InternersTest.java

      public void testConcurrencyLevel_zero() {
        Interners.InternerBuilder builder = Interners.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0));
      }
    
      public void testConcurrencyLevel_negative() {
        Interners.InternerBuilder builder = Interners.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      public void testMaximumWeight_withWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

    /*
     * Copyright (C) 2015 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

    @ExtendWith(MockitoExtension.class)
    class MIENameTest {
    
        // Helper to build a valid buffer according to the expected layout.
        private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) {
            byte[] tokId = new byte[] { 0x04, 0x01 };
            int oidLen = oidDer.length;
            int nameLen = nameBytes.length;
    
            byte[] buf = new byte[2 + 2 + oidLen + 4 + nameLen];
            int i = 0;
            // TOK_ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                SearchResultBuilder builder = SearchResult.create();
                for (int i = start; i < start + size && i < allRecordCount; i++) {
                    Map<String, Object> doc = new HashMap<>();
                    doc.put(ID_FIELD, Integer.toString(i));
                    doc.put("score", 1.0f / (i + 1));
                    builder.addDocument(doc);
                }
                builder.allRecordCount(allRecordCount);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    /*
     * Copyright (c) 2022 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .request(
            Request
              .Builder()
              .url("https://example.com/")
              .build(),
          ).protocol(Protocol.HTTP_1_1)
          .code(code)
          .message("OK")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

    /*
     * Copyright (C) 2016 Google Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top