Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 702 for Both (0.04 sec)

  1. guava/src/com/google/common/collect/ForwardingMap.java

     * invoke methods, they invoke methods on the {@code ForwardingMap}.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equals} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as a {@code SortedMap} whose comparator is
     * not consistent with {@code equals}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     *
     * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as
     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
     * from {@link Double#equals}, as if implemented by:
     *
     * {@snippet :
     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            URL url = new URL("gcs://mybucket/object.txt");
            Handler handler = new Handler();
            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // Both should return the same value
            long date = conn.getDate();
            long lastModified = conn.getLastModified();
            assertEquals(lastModified, date);
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                } else {
                    oldValues = new Object[] { oldValue };
                }
                if (value.getClass().isArray()) {
                    // Handle both Object[] and primitive arrays safely
                    final int newLength = Array.getLength(value);
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newLength);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertTrue(context instanceof NegotiateContextResponse);
            }
    
            @Test
            @DisplayName("Should be usable as both request and response")
            void testDualInterfaceUsage() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    
                NegotiateContextRequest request = context;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

    We want to get the `current_user` *only* if this user is active.
    
    So, we create an additional dependency `get_current_active_user` that in turn uses `get_current_user` as a dependency.
    
    Both of these dependencies will just return an HTTP error if the user doesn't exist, or if is inactive.
    
    So, in our endpoint, we will only get a user if the user exists, was correctly authenticated, and is active:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. internal/dsync/dsync_test.go

    		t.Errorf("expected at least %v time have passed, however %v passed", expect, elapsed)
    	}
    	t.Logf("expected at least %v time have passed, %v passed", expect, elapsed)
    }
    
    // Test two locks for different resources, both succeed
    func TestTwoSimultaneousLocksForDifferentResources(t *testing.T) {
    	dm1 := NewDRWMutex(ds, "aap")
    	dm2 := NewDRWMutex(ds, "noot")
    
    	dm1.Lock(id, source)
    	dm2.Lock(id, source)
    	dm1.Unlock(t.Context())
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * The helper for user activities.
     * This class provides methods to log user actions such as login, logout, and access.
     * It supports both LTSV and ECS log formats.
     *
     */
    public class ActivityHelper {
    
        /**
         * Default constructor.
         */
        public ActivityHelper() {
            // Default constructor
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

         * will fail with a `504 Unsatisfiable Request`.
         */
        @JvmField
        val FORCE_CACHE = commonForceCache()
    
        /**
         * Returns the cache directives of [headers]. This honors both Cache-Control and Pragma headers
         * if they are present.
         */
        @JvmStatic
        fun parse(headers: Headers): CacheControl = commonParse(headers)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ACE.java

     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
     * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access.
     */
    
    public class ACE {
    
        /**
         * Default constructor for ACE
         */
        public ACE() {
            // Default constructor
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top