- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 251 for world (0.56 sec)
-
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
// Read remaining bytes byte[] remaining = new byte[20]; int remainingBytes = stream.read(remaining); assertEquals(8, remainingBytes); // ", World!" assertEquals(", World!", new String(remaining, 0, remainingBytes, "UTF-8")); } }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/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) -
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/core/lang/FieldUtilTest.java
/** */ public int intField; /** */ public String stringField; /** */ public static final int INT_DATA = 987654321; /** */ public static final String STRING_DATA = "Hello World!"; /** * @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField");Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
} @Test @DisplayName("Should join two elements with delimiter") void testJoinTwoElements() { String result = StringUtil.join(",", "hello", "world"); assertEquals("hello,world", result); } @Test @DisplayName("Should join multiple elements with delimiter") void testJoinMultipleElements() {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/smb/SmbFileOutputStreamTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K 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/util/CryptoTest.java
@DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4(); byte[] hash = md4.digest(data); // Then assertNotNull(hash);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
TimeZone.setDefault(original); } } @Test void testStringReadWriteASCII() throws UnsupportedEncodingException { smb.useUnicode = false; String testString = "Hello World"; byte[] buffer = new byte[testString.length() + 1]; int len = smb.writeString(testString, buffer, 0); assertEquals(testString.length() + 1, len); String readString = smb.readString(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
// Test toString with buffer containing non-printable characters or special unicode String unicodeChars = "你好世界"; // "Hello World" in Chinese UnicodeString unicodeStringChinese = new UnicodeString(unicodeChars, false); assertEquals(unicodeChars, unicodeStringChinese.toString(), "toString should handle unicode characters correctly");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)