- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 210 for EXAMPLE (1.19 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java
* * <p>The conversion is performed by iterating through the conversion map and applying * each replacement rule sequentially. The order of the rules in the map is preserved * during the conversion process.</p> * * <p>Example usage:</p> * * <pre>{@code * UrlConvertHelper helper = new UrlConvertHelper(); * helper.add("old-domain.com", "new-domain.com"); * String convertedUrl = helper.convert("http://old-domain.com/path");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractorTest.java
CloseableUtil.closeQuietly(in); final String content = extractData.getContent(); // Code blocks should be converted to plain text assertTrue(content.contains("public class Example") || content.contains("Example")); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
root = root.toLowerCase(); /* The link entries contain maps of referrals by path representing DFS links. * Note that paths are relative to the root like "\" and not "\example.com\root". */ CacheEntry links = (CacheEntry) roots.get(root); if (links != null && now > links.expiration) { roots.remove(root);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java
import org.junit.Test; public class SuggestResponseTest { @Test public void test_constructor() throws Exception { List<String> words = new ArrayList<>(); words.add("test"); words.add("example"); List<SuggestItem> items = new ArrayList<>(); String[][] readings = new String[1][]; readings[0] = new String[] { "test" };Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void constructor_shouldInitializeFieldsAndCallSuper() { // Given int access = 0x01; // Example access value // When MsrpcSamrOpenDomain msrpcSamrOpenDomain = new MsrpcSamrOpenDomain(mockHandle, access, mockSid, mockDomainHandle); // Then // Verify that ptype is set to 0Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
} @Nested @DisplayName("Constructor parameter handling") class ConstructorParameterHandling { static Stream<Arguments> provideParameters() { return Stream.of(Arguments.of("\\\\example\\\\server", 0x000F0000), Arguments.of(null, 0), Arguments.of("\\\\localhost", -1), Arguments.of("\\\\127.0.0.1", Integer.MAX_VALUE), Arguments.of("", 0x00020000),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
} @Test @DisplayName("getHostName should return valid hostname or address") void testGetHostNameContract() { // Given String expectedHostName = "server.example.com"; when(mockAddress.getHostName()).thenReturn(expectedHostName); // When String hostName = mockAddress.getHostName(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that iterates over multiple {@link Iterator}s as if they were a single {@link Iterator}. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.collection.MultiIterator.*; * * List<String> list = ...; * Set<String> set = ...; * Map<String, Object> map = ...;Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/annotation/Secured.java
* Java 5 annotation for describing service layer security attributes. * * <p> * The <code>Secured</code> annotation is used to define a list of security configuration * attributes for business methods. * <p> * For example: * * <pre> * @Secured({ "ROLE_USER" }) * public void create(Contact contact); * * @Secured({ "ROLE_USER", "ROLE_ADMIN" }) * public void update(Contact contact); *
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* The Curl class provides a simple interface for creating HTTP requests using various HTTP methods. * It includes static methods for each HTTP method that return a CurlRequest object. * * <p>Example usage:</p> * <pre> * CurlRequest request = Curl.get("http://example.com"); * </pre> * * <p>Supported HTTP methods:</p> * <ul> * <li>GET</li> * <li>POST</li> * <li>PUT</li> * <li>DELETE</li> * <li>HEAD</li>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0)