Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for 2007 (3.28 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals("http://192.168.1.1/path/file", HcHttpClient.constructRedirectLocation("http://192.168.1.1/path/", "file"));
            assertEquals("http://[2001:db8::1]/path/file", HcHttpClient.constructRedirectLocation("http://[2001:db8::1]/path/", "file"));
            assertEquals("http://example.com:8080/path/file", HcHttpClient.constructRedirectLocation("http://example.com:8080/path/", "file"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            byte[] payload = new byte[] { 1, 2, 3, 4 };
    
            w.start();
    
            // Wait until writer thread signals readiness
            synchronized (w) {
                long deadline = System.currentTimeMillis() + 2000;
                while (!w.isReady() && System.currentTimeMillis() < deadline) {
                    w.wait(10);
                }
                assertTrue(w.isReady(), "WriterThread should be ready to accept work");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            long delay2 = policy.getDelayMs(2);
            long delay3 = policy.getDelayMs(3);
    
            // Then - All delays should be the same
            assertEquals(2000, delay1);
            assertEquals(2000, delay2);
            assertEquals(2000, delay3);
        }
    
        @Test
        @DisplayName("Should provide meaningful toString output")
        void testToString() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                byte[] smallBuffer = new byte[24];
                lock = new Smb2Lock(100L, 200L, 1);
    
                int encoded = lock.encode(smallBuffer, 0);
    
                assertEquals(24, encoded);
                assertEquals(100L, SMBUtil.readInt8(smallBuffer, 0));
                assertEquals(200L, SMBUtil.readInt8(smallBuffer, 8));
                assertEquals(1, SMBUtil.readInt4(smallBuffer, 16));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

        @Test
        public void test_parseDocumentWithLargeText() throws Exception {
            // Test with text larger than maxAnalyzedContentLength
            StringBuilder largeText = new StringBuilder();
            for (int i = 0; i < 2000; i++) {
                largeText.append("ใƒ†ใ‚นใƒˆ ");
            }
    
            Map<String, Object> document = new HashMap<>();
            document.put("content", largeText.toString());
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.lastModified()).thenReturn(currentTime);
                when(mockResource.lastAccess()).thenReturn(currentTime - 1000);
                when(mockResource.createTime()).thenReturn(currentTime - 2000);
    
                // When
                long lastModified = mockResource.lastModified();
                long lastAccess = mockResource.lastAccess();
                long createTime = mockResource.createTime();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

                    responseData.setHttpStatusCode(200);
                    return responseData;
                }
            };
    
            // Test with timeout set
            client.setAccessTimeout(10);
            try {
                ResponseData result = client.doGet("s3://test/file.txt");
                assertNotNull("Response should not be null", result);
                assertEquals(200, result.getHttpStatusCode());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            when(mockConnection.getUseCaches()).thenReturn(false);
            when(mockConnection.getReadTimeout()).thenReturn(1000);
            when(mockConnection.getConnectTimeout()).thenReturn(2000);
            when(mockConnection.getInstanceFollowRedirects()).thenReturn(true);
    
            Map<String, List<String>> properties = new HashMap<>();
            properties.put("Accept", Collections.singletonList("application/json"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt8(2000, buffer2, 40);
                SMBUtil.writeInt8(1500, buffer2, 48);
                SMBUtil.writeInt4(0x02, buffer2, 56);
    
                response.readBytesWireFormat(buffer2, 0);
    
                // Values should be updated
                assertEquals(2, response.getCloseFlags());
                assertEquals(2000, response.getAllocationSize());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenInit.java

    /* jcifs smb client library in Java
     * Copyright (C) 2004  "Michael B. Allen" <jcifs at samba dot org>
     *                   "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top