Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 4,969 for new2 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                return new Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new Date(((Calendar) src).getTimeInMillis());
            }
            final String str = src.toString();
            if (isEmpty(str)) {
                return null;
            }
            if (isNotEmpty(pattern)) {
                final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass");
            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        testSort(new int[] {}, 0, 0, new int[] {});
        testSort(new int[] {2}, 0, 1, new int[] {2});
        testSort(new int[] {2, 1, 0}, 0, 2, new int[] {1, 2, 0});
        testSort(new int[] {2, GREATEST, 1, LEAST}, 1, 4, new int[] {2, LEAST, 1, GREATEST});
      }
    
      public void testSortDescending() {
        testSortDescending(new int[] {}, new int[] {});
        testSortDescending(new int[] {1}, new int[] {1});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Test various file ID sizes
            byte[] shortFileId = new byte[8];
            byte[] standardFileId = new byte[16];
            byte[] longFileId = new byte[32];
    
            new SecureRandom().nextBytes(shortFileId);
            new SecureRandom().nextBytes(standardFileId);
            new SecureRandom().nextBytes(longFileId);
    
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            final List<Map<String, Object>> documents = new ArrayList<>();
            final Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Doc 1");
            doc1.put("content", "<h1>Title</h1><p>Content 1</p>");
            documents.add(doc1);
    
            final Map<String, Object> doc2 = new HashMap<>();
            doc2.put("title", "Doc 2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
    
            System.arraycopy(firstData, 0, buffer1, 0, firstData.length);
            System.arraycopy(secondData, 0, buffer2, 0, secondData.length);
    
            // First read
            response.readDataWireFormat(buffer1, 0, firstData.length);
            byte[] firstResult = new byte[firstData.length];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

                new HandleGuid(new byte[8]); // Wrong length
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                new HandleGuid(new byte[20]); // Wrong length
            });
        }
    
        @Test
        public void testHandleGuidEqualsAndHashCode() {
            UUID uuid = UUID.randomUUID();
            HandleGuid guid1 = new HandleGuid(uuid);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

        public void test_isAvailable() {
            // Test default implementation
            generator = new TestThumbnailGenerator();
            assertTrue(generator.isAvailable());
        }
    
        @Test
        public void test_isTarget() {
            // Test isTarget method
            generator = new TestThumbnailGenerator();
            Map<String, Object> docMap = new HashMap<>();
    
            // Note: isTarget requires FessConfig which needs container
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        @BeforeEach
        void setUp() {
            response = new SrvRequestResumeKeyResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with valid resume key")
        void testDecodeValidResumeKey() throws SMBProtocolDecodingException {
            // Prepare test data - 24 bytes for resume key + 4 bytes for context length
            byte[] buffer = new byte[28];
    
            // Fill resume key with test pattern
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.7K bytes
    - Click Count (0)
Back to Top