Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for affect (0.03 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            // Ensure the AvPair's internal raw array is not affected (defensive copy not made)
            // This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array.
            // If a defensive copy were made, this test would fail, and the behavior would be more robust.
            // Given the current implementation, direct modification of the passed array affects the AvPair.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            // Modify original array - should not affect stored password
            passwordChars[0] = 'X';
            String retrievedPassword2 = authenticator.getPassword();
            assertEquals("charArrayPassword", retrievedPassword2, "Stored password should not be affected by external changes");
        }
    
        @Test
        public void testNullPasswordHandling() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertThat(memoizedSupplier.toString()).isEqualTo("Suppliers.memoize(CountingSupplier)");
        checkMemoize(countingSupplier, memoizedSupplier);
        // Calls to the original memoized supplier shouldn't affect its copy.
        Object unused = memoizedSupplier.get();
        assertThat(memoizedSupplier.toString())
            .isEqualTo("Suppliers.memoize(<supplier that returned 10>)");
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/SuppliersTest.java

        assertThat(memoizedSupplier.toString()).isEqualTo("Suppliers.memoize(CountingSupplier)");
        checkMemoize(countingSupplier, memoizedSupplier);
        // Calls to the original memoized supplier shouldn't affect its copy.
        Object unused = memoizedSupplier.get();
        assertThat(memoizedSupplier.toString())
            .isEqualTo("Suppliers.memoize(<supplier that returned 10>)");
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptIgnoresWildcard() throws Exception {
            // Wildcard shouldn't affect accept logic.
            DosFileFilter customFilter = new DosFileFilter("*.txt", SmbFile.ATTR_DIRECTORY);
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_DIRECTORY);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        }
    
        // Test that changing lmCompatibility at runtime doesn't affect already loaded static value
        @ParameterizedTest
        @ValueSource(strings = { "0", "1", "2", "3", "4", "5" })
        void testLmCompatibilityStaticInitialization(String lmCompatibility) {
            // Attempt to change the property (won't affect static final LM_COMPATIBILITY)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/ACETest.java

            // Test with FLAGS_NO_PROPAGATE (should not affect the result)
            ace.flags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_CONTAINER_INHERIT | ACE.FLAGS_NO_PROPAGATE;
            assertEquals("This folder, subfolders and files", ace.getApplyToText());
    
            // Test with FLAGS_INHERITED (should not affect the result)
            ace.flags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_INHERITED;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Null username should be handled gracefully
            assertTrue(rateLimiter.checkAttempt(null, "192.168.1.8"), "Null username should be allowed");
    
            // Should not affect IP limiting
            rateLimiter.recordFailure(null, "192.168.1.8");
            assertTrue(rateLimiter.checkAttempt("realuser", "192.168.1.8"), "Should still track IP");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns a map containing the mappings in {@code unfiltered} whose keys satisfy a predicate. The
       * returned map is a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting map's {@code keySet()}, {@code entrySet()}, and {@code values()} views have
       * iterators that don't support {@code remove()}, but all other methods are supported by the map
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns a map containing the mappings in {@code unfiltered} whose keys satisfy a predicate. The
       * returned map is a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting map's {@code keySet()}, {@code entrySet()}, and {@code values()} views have
       * iterators that don't support {@code remove()}, but all other methods are supported by the map
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
Back to top