Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 562 for Both (0.03 sec)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            Subject second = auth.getSubject();
            if (first == null && second == null) {
                // Both null - caching is working
                assertNull(second, "Second getSubject should return same result as first (both null)");
            } else if (first != null && second != null) {
                // Both non-null - should be same instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            return newArray;
        }
    
        /**
         * Returns an array that is the concatenation of two arrays.
         * <p>
         * If either or both arrays are {@literal null}, the other array is returned as is.
         * If either or both arrays have a length of {@literal 0}, the other array is returned as is.
         * In any case, the returned array is the same instance as the argument array and is not copied.
         * </p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    }
    
    func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, nil
    }
    
    // Wrapper for calling testMakeBucket for both Erasure and FS.
    func TestMakeBucket(t *testing.T) {
    	ExecObjectLayerTest(t, testMakeBucket)
    }
    
    // Tests validate bucket creation.
    func testMakeBucket(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/TransportExceptionTest.java

        public void testConstructorWithMessageAndCause() {
            // Create exception with both message and cause
            String message = "Transport error occurred";
            IllegalStateException rootCause = new IllegalStateException("State error");
            TransportException exception = new TransportException(message, rootCause);
    
            // Verify both message and cause are set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapDifference.java

       */
      Map<K, V> entriesOnlyOnRight();
    
      /**
       * Returns an unmodifiable map containing the entries that appear in both maps; that is, the
       * intersection of the two maps.
       */
      Map<K, V> entriesInCommon();
    
      /**
       * Returns an unmodifiable map describing keys that appear in both maps, but with different
       * values.
       */
      Map<K, ValueDifference<V>> entriesDiffering();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ObjectUtil.java

        /**
         * Do not instantiate.
         */
        protected ObjectUtil() {
        }
    
        /**
         * Returns true if the two objects are equal, or both are null.
         *
         * @param object1 the first object
         * @param object2 the second object
         * @return true if equal or both null, false otherwise
         */
        public static boolean equals(final Object object1, final Object object2) {
            if (object1 == object2) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

        }
    
        /**
         * Test the constructor with both a message and a cause.
         */
        @Test
        void testMessageAndCauseConstructor() {
            String errorMessage = "This is a test error message.";
            Throwable cause = new RuntimeException("Root cause");
            PACDecodingException e = new PACDecodingException(errorMessage, cause);
            // Expect both the message and the cause to be set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

       *   <li>{@code equivalent(x, y)} and {@code equivalent(y, x)} each return the same result
       *       (<i>symmetric</i> property)
       *   <li>If {@code equivalent(x, y)} and {@code equivalent(y, z)} are both true, then {@code
       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt

       */
      open fun onClosing(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
      }
    
      /**
       * Invoked when both peers have indicated that no more messages will be transmitted and the
       * connection has been successfully released. No further calls to this listener will be made.
       */
      open fun onClosed(
        webSocket: WebSocket,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        }
    
        /**
         * Registers a data store instance with the factory using the specified name.
         * The data store will be accessible by both the provided name and its class simple name,
         * both converted to lowercase for case-insensitive lookup.
         *
         * @param name the name to register the data store under, must not be null
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top