Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,085 for instances (0.04 sec)

  1. src/test/java/jcifs/smb1/https/HandlerTest.java

                // When
                Handler testHandler = new Handler();
    
                // Then
                assertTrue(testHandler instanceof jcifs.smb1.http.Handler);
                assertEquals(443, testHandler.getDefaultPort());
            }
    
            @Test
            @DisplayName("Should handle multiple instances")
            void testMultipleInstances() {
                // When
                Handler handler1 = new Handler();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_1x.md

    Applications that want to use the global SSL context with OkHttp should configure their
    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)
  3. guava/src/com/google/common/collect/ImmutableSet.java

      }
    
      private static final class EmptySetBuilderImpl<E> extends SetBuilderImpl<E> {
        private static final EmptySetBuilderImpl<Object> INSTANCE = new EmptySetBuilderImpl<>();
    
        @SuppressWarnings("unchecked")
        static <E> SetBuilderImpl<E> instance() {
          return (SetBuilderImpl<E>) INSTANCE;
        }
    
        private EmptySetBuilderImpl() {
          super(0);
        }
    
        @Override
        SetBuilderImpl<E> add(E e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

        assertThat(response.body.byteString()).isEqualTo(EMPTY)
      }
    
      /**
       * Returns a new response body that refuses to be read once it has been closed. This is true of
       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Functions.java

       */
      public static Function<Object, String> toStringFunction() {
        return ToStringFunction.INSTANCE;
      }
    
      // enum singleton pattern
      private enum ToStringFunction implements Function<Object, String> {
        INSTANCE;
    
        @Override
        public String apply(Object o) {
          checkNotNull(o); // eager for GWT.
          return o.toString();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

          this.forward = original;
          this.backward = original.inverse();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume that the inverse will be the same
       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        public void test_multipleInstances() {
            // Test creating multiple instances
            ResultOffsetExceededException exception1 = new ResultOffsetExceededException("First instance");
            ResultOffsetExceededException exception2 = new ResultOffsetExceededException("Second instance");
            ResultOffsetExceededException exception3 = new ResultOffsetExceededException("Third instance");
    
            assertNotSame(exception1, exception2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might
       * be declared as a {@code List}.
       *
       * <p>Note also that serialization is not in general required to return an object that is
       * {@linkplain Object#equals equal} to the original, nor is it required to return even an object
       * of the same class. For example, if sublists of {@code MyList} instances were serializable,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        /**
         * Creates a new empty DataStoreParams instance.
         * Initializes the internal parameter map with a ParamMap wrapper.
         */
        public DataStoreParams() {
            params = new ParamMap<>(new HashMap<>());
        }
    
        /**
         * Creates a new DataStoreParams instance with a copy of the provided parameters.
         * This protected constructor is used for creating new instances from existing parameter maps.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumBiMap.java

        this.valueTypeOrObjectUnderJ2cl = valueTypeOrObjectUnderJ2cl;
      }
    
      static <K extends Enum<K>> Class<K> inferKeyTypeOrObjectUnderJ2cl(Map<K, ?> map) {
        if (map instanceof EnumBiMap) {
          return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl;
        }
        if (map instanceof EnumHashBiMap) {
          return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl;
        }
        checkArgument(!map.isEmpty());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top