- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 240 for Wrap (0.01 sec)
-
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testExhaust_readable() throws IOException { CharBuffer buf = CharBuffer.wrap(ASCII); assertEquals(ASCII.length(), CharStreams.exhaust(buf)); assertEquals(0, buf.remaining()); assertEquals(0, CharStreams.exhaust(buf)); CharBuffer empty = CharBuffer.wrap(""); assertEquals(0, CharStreams.exhaust(empty)); assertEquals(0, empty.remaining()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testExhaust_readable() throws IOException { CharBuffer buf = CharBuffer.wrap(ASCII); assertEquals(ASCII.length(), CharStreams.exhaust(buf)); assertEquals(0, buf.remaining()); assertEquals(0, CharStreams.exhaust(buf)); CharBuffer empty = CharBuffer.wrap(""); assertEquals(0, CharStreams.exhaust(empty)); assertEquals(0, empty.remaining()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
/** Returns an immutable wrap of this. */ @Suppress("NOTHING_TO_INLINE") internal inline fun <T> List<T>.unmodifiable(): List<T> = Collections.unmodifiableList(this) /** Returns an immutable wrap of this. */ @Suppress("NOTHING_TO_INLINE") internal inline fun <T> Set<T>.unmodifiable(): Set<T> = Collections.unmodifiableSet(this) /** Returns an immutable wrap of this. */ @Suppress("NOTHING_TO_INLINE")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
} @Test void testReadULong() { // Test readULong with various values byte[] data = new byte[8]; ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); // Test with a positive value buffer.putInt(0, 0x12345678); assertEquals(0x12345678, NtlmMessage.readULong(data, 0), "Should read positive ULong correctly.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
* parameter word (the session identifier) is written in little‑endian form * and that the {@code toString} helper contains the expected values. * * <p>The tests also exercise edge cases such as negative (wrap‑around) session * identifiers and confirm that the writer does not alter any internal state. *</p> */ @ExtendWith(MockitoExtension.class) class SmbComFindClose2Test { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
ImmutableMap.of( '\n', "<newline>", '\t', "<tab>", '&', "<and>"); public void testSafeRange() throws IOException { // Basic escaping of unsafe chars (wrap them in {,}'s) CharEscaper wrappingEscaper = new ArrayBasedCharEscaper(NO_REPLACEMENTS, 'A', 'Z') { @Override protected char[] escapeUnsafe(char c) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 15:41:04 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java
/** * Wraps outgoing DCERPC message data for security protection * @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
* simply rethrow an exception (e.getCause()) that may in rare cases have come from another * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new * instance. */ throw new IllegalArgumentException(e.getCause().getMessage(), e.getCause()); } /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
Interceptor { chain: Interceptor.Chain? -> connection.set(chain!!.connection()) chain.proceed(chain.request()) }, ).eventListenerFactory(clientTestRule.wrap(listener1)) .build() val request = Request.Builder().url(sanUrl).build() val call1 = client1.newCall(request) call1.enqueue( object : Callback { @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0)