- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 1,145 for noen (0.01 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
// Test with zero time SMBUtil.writeTime(0L, dst, 0); long writtenValue = SMBUtil.readInt8(dst, 0); assertEquals(0L, writtenValue); // Test with non-zero time long testTime = 1500000000000L; // Unix timestamp in milliseconds SMBUtil.writeTime(testTime, dst, 8); long writtenTime = SMBUtil.readInt8(dst, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
}); } @Test @DisplayName("Test PacUnicodeString check method with valid pointer") void testPacUnicodeStringCheckWithValidPointer() throws Exception { // When pointer is non-zero, validate string length String testString = "TEST"; short length = (short) (testString.length() * 2); // Unicode length PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
if (successThreshold < 1) { throw new IllegalArgumentException("Success threshold must be at least 1"); } if (timeoutMillis < 0) { throw new IllegalArgumentException("Timeout must be non-negative"); } } /** * Execute a callable through the circuit breaker * * @param <T> return type * @param callable the callable to execute * @return the result
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/signature-v4.go
newSignature := getSignature(signingKey, stringToSign) // Verify if signature match. if !compareSignatureV4(newSignature, signV4Values.Signature) { return ErrSignatureDoesNotMatch } // Return error none. return ErrNone
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
/* * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry * instances, in which case it is safe to cast it from an array of nullable entries to an array * of non-null entries. */ @SuppressWarnings("nullness") Entry<K, V>[] entries = (n == entryArray.length) ? (Entry<K, V>[]) entryArray : createEntryArray(n);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
assertTrue(e.getMessage().contains("does not exist") || e instanceof ThemeException); } } public void test_closeQuietly_nonExistentDirectory() { Path nonExistentDir = tempDir.resolve("non-existent"); themeHelper.closeQuietly(nonExistentDir); // Should not throw exception assertTrue(true); } public void test_closeQuietly_existingDirectory() throws IOException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
import org.junit.jupiter.api.Test @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://. open class HttpUrlJvmTest { val platform = PlatformRule() /** This one's ugly: the HttpUrl's host is non-empty, but the URI's host is null. */ @Test fun hostContainsOnlyStrippedCharacters() { val url = "http://>/".toHttpUrl() assertThat(url.host).isEqualTo(">") assertThat(url.toUri().host).isNull() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* map.put(new Object(), Boolean.TRUE); * GcFinalization.awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return map.isEmpty(); * } * }); * } * * <p>Even if your non-test code does not use finalization, you can use this class to test for * leaks, by ensuring that objects are no longer strongly referenced: * * {@snippet : * // Helper function keeps victim stack-unreachable.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
throw new IllegalArgumentException("Arrays cannot be null"); } if (srcOffset < 0 || dstOffset < 0 || length < 0) { throw new IllegalArgumentException("Offsets and length must be non-negative"); } if (srcOffset + length > src.length) { throw new IllegalArgumentException(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
.build(), ) val response = getResponse(newRequest("/")) assertThat(response.code).isEqualTo(200) assertThat(response.message).isEqualTo("OK") assertContent( "STR;FFMJ2;Frankfurt;RTCM 2.1;1(1),3(19),16(59);0;GPS;GREF;DEU;50.12;8.68;0;1;GPSNet V2.10;none;N;N;560;Demo\nENDSOURCETABLE", response, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)