Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 212 for ONE (1 sec)

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

            stubValidTree(1L, true, true);
    
            byte[] fidBytes = new byte[] { 0x01, 0x02 };
            SmbFileHandleImpl h1 = new SmbFileHandleImpl(cfg, fidBytes, tree, "//u/one", 0x10, 0x20, 0x30, 0x40, 0L);
            String s1 = h1.toString();
            assertTrue(s1.contains("//u/one"));
            assertTrue(s1.contains("0102"), "Expected hex fileId in string");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. README.md

        $ mvn package
        $ mvn rpm:rpm   # .rpm package
        $ mvn jdeb:jdeb # .deb package
    
    ### Generate Source Code
    
        $ mvn dbflute:download # (one time command)
        $ mvn dbflute:freegen
        $ mvn license:format
    
    ### Integration Tests
    
    Integration tests require a running Fess server with OpenSearch. Follow these steps:
    
    #### 1. Build Fess
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 00:28:33 UTC 2025
    - 7.8K bytes
    - Viewed (2)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            // Calculate expected size: 1 byte for command + string bytes + 1 null terminator
            byte[] expectedString = "testfile.txt".getBytes("windows-1252");
            assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator");
            assertEquals(0x04, buffer[0] & 0xFF, "First byte must be SMB_COM_QUERY_INFORMATION type 0x04");
            // Verify that the string part ends with the null terminator
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            }
            assertEquals(10000, urlSet.size());
    
            // Add one more should maintain size at 10000 (LRU eviction)
            urlSet.add("http://overflow.com/robots.txt");
            assertEquals(10000, urlSet.size());
            assertTrue(urlSet.contains("http://overflow.com/robots.txt"));
            assertFalse(urlSet.contains("http://example0.com/robots.txt")); // First one should be evicted
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

            return fileConfigBhv.selectByPK(id);
        }
    
        /**
         * Retrieves a file configuration by its name.
         * If multiple configurations exist with the same name, returns the first one
         * ordered by sort order.
         *
         * @param name the name of the file configuration to retrieve
         * @return an OptionalEntity containing the file configuration if found, empty otherwise
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            buf[13] = 0; // high
            buf[14] = 8; // dataOffset low
            buf[15] = 0; // high
            buf[16] = 9; // dataDisplacement low
            buf[17] = 0; // high
            buf[18] = 1; // setupCount (only one byte)
    
            // Call the method under test
            d.readParameterWordsWireFormat(buf, 0);
    
            assertEquals(5, d.getTotalParameterCount(), "totalParameterCount parsed correctly");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertEquals("3", tokens.get(3).getTerm());
        }
    
        @Test
        public void testAnalyzeTokenPositions() {
            // Test that token positions are correct
            String text = "one two three";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

            CIFSContext ctx = mock(CIFSContext.class);
            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
            // Prepare SIDs, two need resolution, one already resolved
            SID s1 = sid("S-1-5-21-10-11-12-1001");
            SID s2 = sid("S-1-5-21-10-11-12-1002");
            SID s3 = sid("S-1-5-21-10-11-12-1003");
            jcifs.SID[] arr = new jcifs.SID[] { s1, s2, s3 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void release_invokedOnce() throws Exception {
            // Arrange: no setup needed; we verify interaction only
    
            // Act: call release
            handle.release();
    
            // Assert: verify one invocation and no more
            verify(handle, times(1)).release();
            verifyNoMoreInteractions(handle);
        }
    
        @Test
        @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

         * not want to create a new NbtAddress object for this particular
         * address from which the query is constructed, we want to populate
         * the data of the existing address that should be one of several
         * returned by the node status.
         */
    
        NodeStatusResponse(final NbtAddress queryAddress) {
            this.queryAddress = queryAddress;
            recordName = new Name();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top