Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 345 (0.01 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
        getAll(cache, asList(10, 11, 12));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(6, 7, 8, 9, 0, 1, 2, 10, 11, 12);
    
        // re-order
        getAll(cache, asList(6, 7, 8));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            @Test
            @DisplayName("Should handle boundary values for structure size")
            void testBoundaryValuesForStructureSize() {
                // Test boundary values around 4
                int[] boundaryValues = { 3, 4, 5 };
    
                for (int value : boundaryValues) {
                    byte[] buffer = new byte[10];
                    SMBUtil.writeInt2(value, buffer, 0);
    
                    if (value == 4) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        void multipleMessagesAreReadSequentially() throws IOException {
            // Create two messages
            byte[] data1 = new byte[] { 1, 2 };
            byte[] data2 = new byte[] { 3, 4, 5 };
            byte[] fullData = concat(messageHeader(2), data1, messageHeader(3), data2);
            InputStream in = new ByteArrayInputStream(fullData);
            SocketInputStream sis = new SocketInputStream(in);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                log.warn("NTLMv1 NTLM response is deprecated and insecure. Consider using NTLMv2.");
                yield NtlmUtil.getNTLMResponse(getPasswordAsCharArray(), chlng);
            }
            case 3, 4, 5 -> {
                // NTLMv2 - returns empty for unicode hash as NTLMv2 doesn't use it
                yield new byte[0];
            }
            default -> {
                // Default to NTLMv2 behavior (empty response)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            if (hashesExternal) {
                return unicodeHash;
            }
            return switch (LM_COMPATIBILITY) {
            case 0, 1, 2 -> getNTLMResponse(password, challenge);
            case 3, 4, 5 -> /*
                            if( clientChallenge == null ) {
                            clientChallenge = new byte[8];
                            RANDOM.nextBytes( clientChallenge );
                            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
        // Changes to a sublist also write through to the original list
        first.set(1, 6);
        assertEquals(asList(3, 6, 5), list);
      }
    
      public void testPartitionSize_1() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
Back to top