Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 210 for EXAMPLE (2.25 sec)

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

            when(mockCtx.getConfig()).thenReturn(mockCfg);
            when(mockCfg.isTraceResourceUsage()).thenReturn(false);
    
            Handler handler = newHandlerWith(mockCtx);
            URL url = new URL(null, "smb://example-host/share/", new Handler());
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            return super.toString() + "[" + address + ":" + port + "]";
        }
    
        /* DFS */
    
        /* Split DFS path like \fs1.example.com\root5\link2\foo\bar.txt into at
         * most 3 components (not including the first index which is always empty):
         * result[0] = ""
         * result[1] = "fs1.example.com"
         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

         * preventing access to files outside the intended directory through path traversal
         * techniques like "../../../etc/passwd".
         * </p>
         * <p>
         * Example usage:
         * </p>
         * <pre>
         * Path baseDir = Paths.get("/var/app/data");
         * Path userPath = Paths.get(userInput);
         * if (!FileUtil.isPathSafe(userPath, baseDir)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

            lenient().when(gssManager.createContext(any(), any(), any(), anyInt())).thenReturn(gssContext);
    
            // Create Kerb5Context with mocked dependencies
            ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null);
        }
    
        @AfterEach
        void tearDown() {
            if (mockedStatic != null) {
                mockedStatic.close();
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

         * created and what is required of it. The second degree of state is the
         * most common. This is the state information that would be retrieved from
         * WINS for example. Natrually it is not practical for every NbtAddress
         * to be populated will all state requiring a Node Status on every host
         * encountered. The below methods allow state to be populated when requested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Parses a valid buffer and exposes fields")
        void parseValidBuffer() {
            // Arrange
            String name = "user@EXAMPLE.COM";
            byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII));
    
            // Act
            MIEName parsed = new MIEName(buf);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * and well as their responses for each type however the actuall implementations
         * of the readXxxWireFormat and writeXxxWireFormat methods may not be in
         * place. For example at the time of this writing the readXxxWireFormat
         * for requests and the writeXxxWireFormat for responses are not implemented
         * and simply return 0. These would need to be completed for a server
         * implementation.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

     * and elevate word settings.</p>
     *
     * <p>It also includes a nested TimeoutSettings class to manage various timeout configurations.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
     * Client client = ...;
     * Map<String, Object> initialSettings = ...;
     * SuggestSettings.TimeoutSettings timeoutSettings = new SuggestSettings.TimeoutSettings();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. CLAUDE.md

    ```
    
    3. **Add test with sample file** in `src/test/resources/`
    
    ### Configuring URL Filtering
    
    ```java
    // Include patterns (must match)
    crawler.urlFilter.addInclude("https://example.com/.*");
    
    // Exclude patterns (must not match)
    crawler.urlFilter.addExclude(".*\\.(css|js|png|jpg)$");
    ```
    
    ### Setting Crawl Limits
    
    ```java
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

     *   <li>{@link #getDataMap(AccessResultData)}: Parses XML content from {@link AccessResultData} and returns a map of the data.</li>
     * </ul>
     *
     * <h2>Usage Example:</h2>
     * <pre>
     * {@code
     * String escapedXml = XmlUtil.escapeXml("<tag>value</tag>");
     * Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData);
     * }
     * </pre>
     *
     * <h2>Thread Safety:</h2>
     * <p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top