- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for mellom (0.15 sec)
-
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
public class CachedCipherTest { @Test public void testEncryptDecryptBytes() { final CachedCipher cipher = new CachedCipher(); cipher.setKey("mySecretKey"); final byte[] original = "Hello World".getBytes(); final byte[] encrypted = cipher.encrypt(original); final byte[] decrypted = cipher.decrypt(encrypted); assertThat(encrypted, is(not(original)));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
public void tearDown() { if (tempFile != null && tempFile.exists()) { tempFile.delete(); } } @Test public void testMemoryBasedCacheConstructor() { byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); assertNotNull(cache); } @Test public void testMemoryBasedCacheConstructorWithNull() { try {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
void testJoinSingleElement() { String result = StringUtil.join(",", "hello"); assertEquals("hello", result); } @Test @DisplayName("Should join two elements with delimiter") void testJoinTwoElements() { String result = StringUtil.join(",", "hello", "world"); assertEquals("hello,world", result); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
} assertEquals(0, unicodeStringTrue.buffer[testStringTrue.length()], "Last character should be zero"); // Test with a non-empty string and zterm = false String testStringFalse = "Hello"; UnicodeString unicodeStringFalse = new UnicodeString(testStringFalse, false); assertFalse(unicodeStringFalse.zterm, "zterm should be false");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testGetContentAsStringWithCache() throws IOException { CurlResponse response = new CurlResponse(); response.setEncoding("UTF-8"); String testContent = "Hello, World!"; byte[] data = testContent.getBytes("UTF-8"); ContentCache cache = new ContentCache(data); response.setContentCache(cache); String content = response.getContentAsString();Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
settingsBuilder.put("http.cors.allow-origin", "*"); settingsBuilder.put("discovery.type", "single-node"); }).build(newConfigs().clusterName(clusterName).numOfNode(1)); // wait for yellow status runner.ensureYellow(); System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201")); super.setUp(); // logging
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
byte[] data = "Hello World".getBytes(); InputStream underlyingStream = new ByteArrayInputStream(data); IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream); byte[] buffer = new byte[5]; int bytesRead = stream.read(buffer); assertEquals(5, bytesRead); assertEquals("Hello", new String(buffer)); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/markdown/test.md
- Lists and other formatting ### Code Examples Here is some inline `code` and a code block: ```java public class Example { public static void main(String[] args) { System.out.println("Hello, World!"); } } ``` ## Links Check out [Fess Crawler](https://github.com/codelibs/fess-crawler) for more information. ## ConclusionRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 03:46:53 UTC 2025 - 767 bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
when(mockFileHandle.acquire()).thenReturn(mockFileHandle); when(mockFile.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(mockFileHandle); byte[] data = "Hello World".getBytes(); when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse); when(mockWriteResponse.getCount()).thenReturn(data.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
String text = "Hello, world! How are you? I'm fine."; String field = "content"; String lang = "en"; List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang); assertNotNull(tokens); assertEquals(8, tokens.size()); // "I'm" is split into "I" and "m" by our simple tokenizer assertEquals("Hello", tokens.get(0).getTerm());Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0)