Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Comments (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            int entrySize = 26; // 16 + 2 + 4 + 4
            int totalEntrySize = entrySize * numServers;
            int totalCommentSize = 0;
            for (String comment : comments) {
                totalCommentSize += comment.length() + 1;
            }
    
            byte[] buffer = new byte[totalEntrySize + totalCommentSize + 100];
            int bufferIndex = 0;
            int commentOffset = totalEntrySize;
    
            // Write all entries
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ACETest.java

            }
    
            @Test
            @DisplayName("Should validate documented bit comment consistency")
            void shouldValidateDocumentedBitComments() {
                // Verify that comments in source match actual constant values (not bit positions)
                assertEquals(1, ACE.FILE_READ_DATA, "FILE_READ_DATA constant value");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertEquals(1, result.size());
            assertEquals("f", result.get(0).getOutput());
        }
    
        // Test reload with comments and empty lines
        public void test_reload_withCommentsAndEmptyLines() throws Exception {
            writeTestFile("# This is a comment\n\na,b => c\n\n# Another comment\nd,e => f\n");
    
            PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
            assertEquals(2, result.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

    /*
     * Tests for Smb2IoctlResponse.
     *
     * Notes:
     * - Comments are in English as requested.
     * - JUnit 5 is used; Mockito is not required here.
     */
    package jcifs.internal.smb2.ioctl;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

        }
    
        @Test
        void testPopulateWithComments() throws Exception {
            // Create a temporary lmhosts file with comments
            File lmhostsFile = tempDir.resolve("lmhosts_comments").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("# This is a comment\n");
                writer.write("192.168.1.100 HOST1\n");
                writer.write("#192.168.1.101 COMMENTED_HOST\n");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_reload_withEmptyLines() throws Exception {
            // Create content with empty lines and comments
            String content = "# Comment line\n" + "\n" + // empty line
                    "word1\n" + "  \n" + // whitespace line (may be treated as content)
                    "# Another comment\n" + "word2\n";
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload and verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/bigger-applications.md

    * And the file `app/internal/admin.py` is another submodule: `app.internal.admin`.
    
    <img src="/img/tutorial/bigger-applications/package.drawio.svg">
    
    The same file structure with comments:
    
    ```
    .
    ├── app                  # "app" is a Python package
    │   ├── __init__.py      # this file makes "app" a "Python package"
    │   ├── main.py          # "main" module, e.g. import app.main
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            }
            name.srcHashCode = svr != null ? svr.hashCode() : 0;
            addr = getCachedAddress(name);
    
            /*
             * This is almost exactly like InetAddress.java. See the
             * comments there for a description of how the LOOKUP_TABLE prevents
             * redundant queries from going out on the wire.
             */
            if ((addr == null) && ((addr = (NbtAddress) checkLookupTable(name)) == null)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  9. docs/en/docs/help-fastapi.md

    So, it's really important that you actually read and run the code, and let me know in the comments that you did. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            addr = getCachedAddress(name);
    
            if (addr == null) {
                addr = (NbtAddress) checkLookupTable(name);
                /* This is almost exactly like InetAddress.java. See the
                 * comments there for a description of how the LOOKUP_TABLE prevents
                 * redundant queries from going out on the wire.
                 */
                if (addr == null) {
                    try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top