Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,284 for Avoid (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
              // TODO(lukes): in a real implementation we would need to handle overflow conditions
              int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/BiMap.java

      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
       *     bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link
       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @Nullable V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

        @Mock
        private Configuration config;
        @Mock
        private ResourceNameFilter nameFilter;
    
        private SmbFile parent;
    
        @BeforeAll
        static void setupURLHandler() {
            // Register the SMB URL handler to avoid MalformedURLException
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_1x.md

    OkHttpClient instances with the following:
    
    ```java
    okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());
    ```
    
    A simpler solution is to avoid the shared default SSL socket factory. Instead, if you
    need to customize SSL, do so for your specific OkHttpClient instance only.
    
    ##### Synthetic headers have changed
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testMin_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> min());
      }
    
      public void testMin() {
        assertThat(min(LEAST)).isEqualTo(LEAST);
        assertThat(min(GREATEST)).isEqualTo(GREATEST);
        assertThat(min((char) 8, (char) 6, (char) 7, (char) 5, (char) 3, (char) 0, (char) 9))
            .isEqualTo((char) 0);
      }
    
      public void testConstrainToRange() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/BiMap.java

      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
       *     bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link
       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @Nullable V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Hexdump.java

            return toHexString(data, 0, data.length);
        }
    
        /**
         * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, int
         * size)} but provides a more practical form when trying to avoid {@link
         * java.lang.String} concatenation and {@link java.lang.StringBuffer}.
         *
         * @param val the integer value to convert to hexadecimal characters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
      private fun String.asciiToLowercase(): String =
        when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. guava/pom.xml

          <version>1.0.3</version>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>listenablefuture</artifactId>
          <version>9999.0-empty-to-avoid-conflict-with-guava</version>
        </dependency>
        <dependency>
          <groupId>org.jspecify</groupId>
          <artifactId>jspecify</artifactId>
        </dependency>
        <dependency>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 06 21:05:32 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

            : new ImmutableLongArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfLong spliterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top