- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 198 for parsers (0.12 sec)
-
src/main/java/jcifs/util/SecureKeyManager.java
* * @param array the array to wipe */ public static void secureWipe(byte[] array) { if (array != null) { Arrays.fill(array, (byte) 0); // Additional passes with different patterns for enhanced security Arrays.fill(array, (byte) 0xFF); Arrays.fill(array, (byte) 0xAA); Arrays.fill(array, (byte) 0x55); Arrays.fill(array, (byte) 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
} catch (_: NumberFormatException) { defaultValue } /** * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too * large, or [defaultValue] if it cannot be parsed. */ internal fun String?.toNonNegativeInt(defaultValue: Int): Int { try { val value = this?.toLong() ?: return defaultValue return when { value > Int.MAX_VALUE -> Int.MAX_VALUE
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
FessTimeResourceProvider tempProvider = new FessTimeResourceProvider(mockConfig); assertNotNull(tempProvider); } // If this completes without OutOfMemoryError, test passes assertTrue(true); } // Test equals and hashCode if implemented public void test_equalsAndHashCode() { FessTimeResourceProvider provider1 = new FessTimeResourceProvider(mockConfig);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
assumeNetwork() val request = Request.Builder().url("https://example_underscore_123.s3.amazonaws.com/").build() try { client.newCall(request).execute().close() // Hopefully this passes } catch (ioe: IOException) { // https://github.com/square/okhttp/issues/5840 when (ioe.cause) { is IllegalArgumentException -> { assertEquals("Android internal error", ioe.message)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
final QueryContext queryContext = new QueryContext(text, false); final Query query = ComponentUtil.getQueryParser().parse(queryContext.getQueryString()); QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f); if (text.startsWith("sort:")) { assertNull(builder); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
Thread.sleep(2000); // Clean up the thread indexUpdater.setFinishCrawling(true); indexUpdater.interrupt(); indexUpdater.join(2000); // Test passes if no exception is thrown and thread terminates properly assertFalse("Thread should have terminated", indexUpdater.isAlive()); } // Test run with component not available
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
depends on JUnit, though it continues to work with all testing frameworks. * Fix: `FormEncodingBuilder` is now consistent with browsers in which characters it escapes. Previously we weren’t percent-encoding commas, parens, and other characters. * Fix: Relax `FormEncodingBuilder` to support building empty forms. * Fix: Timeouts throw `SocketTimeoutException`, not `InterruptedIOException`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
int result = response.readSetupWireFormat(buffer, bufferIndex, len); // Assert assertEquals(0, result); } @Test @DisplayName("readParametersWireFormat should parse available bytes and status correctly") void testReadParametersWireFormat() { // Arrange byte[] buffer = new byte[10]; int bufferIndex = 0; int len = 6;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
writeTestFile("invalid => "); // Invalid format try { charMappingFile.reload(null); // If no exception, the file might have been parsed with warnings assertTrue(true); } catch (Exception e) { // Expected for invalid format assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
if (input.startsWith(":", startIndex = i)) { i++ } else if (input.startsWith(".", startIndex = i)) { // If we see a '.', rewind to the beginning of the previous group and parse as IPv4. if (!decodeIpv4Suffix(input, groupOffset, limit, address, b - 2)) return null b += 2 // We rewound two bytes and then added four. break } else {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0)