Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1921 - 1930 of 2,362 for _size (0.02 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) {
            Headers responseHeaders = response.headers();
            for (int i = 0; i < responseHeaders.size(); i++) {
              System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
            }
    
            throw new IOException("Unexpected code " + response);
          }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 9.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

        val interruptingCow =
          Thread {
            sleep(delayMillis)
            toInterrupt.interrupt()
          }
        interruptingCow.start()
      }
    
      companion object {
        // The size of the socket buffers in bytes.
        private const val SOCKET_BUFFER_SIZE = 256 * 1024
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

                version = plugin.getVersion();
    
                workspace = RepositoryUtils.getWorkspace(session);
                localRepo = session.getLocalRepository();
                this.repositories = new ArrayList<>(repositories.size());
                for (RemoteRepository repository : repositories) {
                    if (repository.isRepositoryManager()) {
                        this.repositories.addAll(repository.getMirroredRepositories());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create();
        multimap.put("foo", 1);
        multimap.put("foo", 2);
        multimap.put("bar", 3);
        multimap.trimToSize();
        assertEquals(3, multimap.size());
        assertThat(multimap.get("foo")).containsExactly(1, 2).inOrder();
        assertThat(multimap.get("bar")).contains(3);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        ms.add(Color.BLUE, 3);
        ms.add(Color.YELLOW, 1);
        ms.add(Color.RED, 2);
    
        Set<Object> uniqueEntries = Sets.newIdentityHashSet();
        uniqueEntries.addAll(ms.entrySet());
        assertEquals(3, uniqueEntries.size());
      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/DoubleUtils.java

        // This is an extremely fast implementation of BigInteger.doubleValue(). JDK patch pending.
        BigInteger absX = x.abs();
        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
        }
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. architecture/standards/0008-use-nullaway.md

    However, the Java code we have is not fully annotated, which causes several consequences:
    * IDE warnings can be misleading
    * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers
    * Missing null checks may cause NullPointerException
    * Bridging with Kotlin code is polluted with platform types
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     * classes and the classes they depend on. The classes are not relocated, they all
     * remain in their original namespace. This reduces the final Gradle distribution
     * size and makes us more conscious of which parts of a library we really need.
     *
     * WARNING: if you decide to do the minification by hand, make sure that you cover all paths of loading classes:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 25 16:18:05 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/handling-errors.md

    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    受信したボディを含むデータが無効であることを示すレスポンスが表示されます:
    
    ```JSON hl_lines="12 13 14 15"
    {
      "detail": [
        {
          "loc": [
            "body",
            "size"
          ],
          "msg": "value is not a valid integer",
          "type": "type_error.integer"
        }
      ],
      "body": {
        "title": "towel",
        "size": "XL"
      }
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      @SuppressWarnings("CollectionSizeTruth")
      public void testAsListSize() {
        assertThat(Booleans.asList(EMPTY).size()).isEqualTo(0);
        assertThat(Booleans.asList(ARRAY_FALSE).size()).isEqualTo(1);
        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).size()).isEqualTo(2);
      }
    
      @SuppressWarnings("BooleanArrayIndexOfBoolean")
      public void testAsListIndexOf() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 25.2K bytes
    - Viewed (0)
Back to top