Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 346 for consistently (0.05 sec)

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

                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
                assertFalse(auth2.equals(auth3));
    
                // These operations should complete quickly and consistently
                long startTime = System.nanoTime();
                for (int i = 0; i < 1000; i++) {
                    auth1.equals(auth2);
                    auth1.equals(auth3);
                    auth2.equals(auth3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hasher.java

     * is not equivalent to the concatenation of their encoded form. Therefore, {@link
     * #putString(CharSequence, Charset)} should only be used consistently with <i>complete</i>
     * sequences and not broken into chunks.
     *
     * @author Kevin Bourrillion
     * @since 11.0
     */
    @Beta
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. cmd/erasure-sets_test.go

    	}
    	if _, err := newErasureSets(ctx, ep, storageDisks, format, parity, 0); err != nil {
    		t.Fatalf("Unable to initialize erasure")
    	}
    }
    
    // TestHashedLayer - tests the hashed layer which will be returned
    // consistently for a given object name.
    func TestHashedLayer(t *testing.T) {
    	// Test distribution with 16 sets.
    	var objs [16]*erasureObjects
    	for i := range objs {
    		objs[i] = &erasureObjects{}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    public class UnsignedIntegerTest extends TestCase {
      private static final ImmutableSet<Integer> TEST_INTS;
      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    
      static {
        ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Call readBytesWireFormat multiple times
            for (int i = 0; i < 5; i++) {
                int result = response.readBytesWireFormat(buffer, bufferIndex);
                assertEquals(2, result, "Should consistently return 2 on call " + (i + 1));
            }
        }
    
        @Test
        @DisplayName("Test edge case with maximum buffer index")
        void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. README.md

    - **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()`
    - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            @Test
            @DisplayName("Should always force unicode")
            void testIsForceUnicode() {
                assertTrue(response.isForceUnicode());
            }
    
            @Test
            @DisplayName("Should consistently return true for unicode")
            void testIsForceUnicodeMultipleCalls() {
                for (int i = 0; i < 5; i++) {
                    assertTrue(response.isForceUnicode());
                }
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInteger.java

      public static final UnsignedInteger ONE = fromIntBits(1);
      public static final UnsignedInteger MAX_VALUE = fromIntBits(-1);
    
      private final int value;
    
      private UnsignedInteger(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        this.value = value & 0xffffffff;
      }
    
      /**
       * Returns an {@code UnsignedInteger} corresponding to a given bit representation. The argument is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTest {
    
            @Test
            @DisplayName("Should handle repeated method calls consistently")
            void shouldHandleRepeatedMethodCallsConsistently() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertNotSame(response1, response2);
            assertEquals(100, response1.getAvailable());
            assertEquals(0, response2.getAvailable());
        }
    
        @Test
        @DisplayName("All write methods should consistently return 0")
        void testAllWriteMethodsReturnZero() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
            assertEquals(0, response.writeSetupWireFormat(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top