Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Both (0.81 sec)

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

            Subject second = auth.getSubject();
            if (first == null && second == null) {
                // Both null - caching is working
                assertNull(second, "Second getSubject should return same result as first (both null)");
            } else if (first != null && second != null) {
                // Both non-null - should be same instance
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            return newArray;
        }
    
        /**
         * Returns an array that is the concatenation of two arrays.
         * <p>
         * If either or both arrays are {@literal null}, the other array is returned as is.
         * If either or both arrays have a length of {@literal 0}, the other array is returned as is.
         * In any case, the returned array is the same instance as the argument array and is not copied.
         * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.QUERY);
    
            // Both Document and Query (simulated by setting both frequencies)
            String[][] readings3 = new String[1][];
            readings3[0] = new String[] { "both" };
            items[2] = new SuggestItem(new String[] { "両方" }, readings3, new String[] { "content" }, 1L, 1L, -1.0f, new String[] { "tag1" },
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                // Both should have same properties
                assertEquals(request1.getCommand(), request2.getCommand());
                assertEquals(request1.size(), request2.size());
    
                // But be different objects
                assertNotSame(request1, request2);
    
                // Both should create valid responses
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            // Base size 120 + 50 = 170, aligned to 8 = 176
            assertEquals(176, size);
            verify(mockOutputData).size();
        }
    
        @Test
        @DisplayName("Test size calculation with both input and output data")
        void testSizeWithBothData() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
            when(mockInputData.size()).thenReturn(100);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile2.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile2.lastAccess()).thenReturn(System.currentTimeMillis() - 900000);
    
            // Request leases for both directories
            Smb2LeaseKey key1 = directoryLeaseManager.requestDirectoryLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            Smb2LeaseKey key2 =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            d.readBytesWireFormat(buf, 0);
    
            // After a full read both flags should be set and hasMore should be false
            assertTrue(d.getParametersDone(), "parametersDone should be true after reading");
            assertTrue(d.getDataDone(), "dataDone should be true after reading");
            assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            assertEquals(FileInformation.FILE_INTERNAL_INFO, internalInfo.getFileInformationLevel());
        }
    
        /**
         * Test that FileInformation can be used as both Decodable and Encodable
         */
        @Test
        @DisplayName("Test FileInformation as both Decodable and Encodable")
        void testFileInformationAsDecodableAndEncodable() throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNotNull(exception3);
            assertEquals(message3, exception3.getMessage());
    
            // Test with both disabled
            String message4 = "Test with both disabled";
            CrawlerSystemException exception4 = constructor.newInstance(message4, false, false);
            assertNotNull(exception4);
            assertEquals(message4, exception4.getMessage());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

            /**
             * Checks if the given path is allowed according to this directive.
             * According to RFC 9309:
             * 1. Find the longest matching pattern (by priority length)
             * 2. If both Allow and Disallow patterns match with the same length, Allow takes precedence
             * 3. If no pattern matches, the path is allowed by default
             *
             * @param path the path to check
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top