Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 816 for Ensure (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertTrue(type1Token.length > 0);
    
            // Decode the token to verify its properties
            Type1Message type1Message = new Type1Message(type1Token);
            // Type1Message ORs default flags with provided flags; ensure expected bits are present
            assertTrue((type1Message.getFlags() & context.ntlmsspFlags) == context.ntlmsspFlags);
            assertEquals(domain, type1Message.getSuppliedDomain());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

      public void runTest() throws Exception {
        /*
         * Note that we do not run this test under Android at the moment. For Android testing, see
         * AbstractFutureDefaultAtomicHelperTest.
         */
    
        // First, ensure that our classloaders are initializing the correct helper versions:
    
        if (isJava8()) {
          checkHelperVersion(getClass().getClassLoader(), "UnsafeAtomicHelper");
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

      }
    
      /**
       * ReadWriteLock implementation whose read and write locks retain a reference back to this lock.
       * Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure
       * the {@code ReadWriteLock} is retained.
       */
      private static final class WeakSafeReadWriteLock implements ReadWriteLock {
        private final ReadWriteLock delegate;
    
        WeakSafeReadWriteLock() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        // The choice of the size() method to call here is arbitrary.  We assume that if any of the Set
        // methods executes the validation check, they all will, and thus we only need to test one of
        // them to ensure that the validation check happens and has the expected behavior.
        assertNodeRemovedFromGraphErrorMessage(
            assertThrows(IllegalStateException.class, n1AdjacentNodes::size));
        assertNodeRemovedFromGraphErrorMessage(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    				part.Number,
    				NewPutObjReader(hr),
    				ObjectOptions{
    					PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata.
    					IndexCB: func() []byte {
    						return part.Index // Preserve part Index to ensure decompression works.
    					},
    					NoAuditLog: true,
    				})
    			if err != nil {
    				return fmt.Errorf("decommissionObject: PutObjectPart() %w", err)
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  7. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                auth3.close();
                auth4.close();
            } finally {
                auth1.close();
                auth2.close();
            }
        }
    
        /**
         * Test concurrent password comparisons to ensure thread safety and consistent timing.
         */
        @Test
        public void testConcurrentTimingConsistency() throws Exception {
            final char[] password = "concurrenttestpassword".toCharArray();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. cmd/bucket-policy.go

    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    		if grpsIs, ok := grpsVal.([]any); ok {
    			grps := []string{}
    			for _, gI := range grpsIs {
    				if g, ok := gI.(string); ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

        protected static final String JAVABIN = "javabin";
    
        /** Constant for Kryo serializer type. */
        protected static final String KRYO = "kryo";
    
        /** ThreadLocal container for Kryo instances to ensure thread safety. */
        protected final ThreadLocal<Kryo> kryoThreadLocal;
    
        /**
         * Constructs a new DataSerializer.
         * <p>
         * Initializes the ThreadLocal Kryo instances with appropriate configuration.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top