- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 234 for Wrap (0.01 sec)
-
guava-tests/test/com/google/common/base/EquivalenceTest.java
.addEqualityGroup( LENGTH_EQUIVALENCE.wrap("hello"), LENGTH_EQUIVALENCE.wrap("hello"), LENGTH_EQUIVALENCE.wrap("world")) .addEqualityGroup(LENGTH_EQUIVALENCE.wrap("hi"), LENGTH_EQUIVALENCE.wrap("yo")) .addEqualityGroup( LENGTH_EQUIVALENCE.<@Nullable String>wrap(null), LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
HashMap<String, String> map = new HashMap<>(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return wrap(map); } abstract Map<String, String> wrap(HashMap<String, String> map); } private static TestSuite wrappedHashMapTests( WrappedHashMapGenerator generator, String name, Feature<?>... features) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
assertTrue(okSource.wasStreamClosed()); } public void testConcat() throws IOException { CharSource c1 = CharSource.wrap("abc"); CharSource c2 = CharSource.wrap(""); CharSource c3 = CharSource.wrap("de"); String expected = "abcde"; assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
} // MS-SMB2 specifies little-endian byte ordering for GUID components // Convert from little-endian wire format to Java UUID ByteBuffer bb = ByteBuffer.wrap(bytes).order(java.nio.ByteOrder.LITTLE_ENDIAN); // Read GUID components in little-endian order int data1 = bb.getInt(); // first 4 bytes (little-endian)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingDequeTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java
@Override public ListIterator<?> apply(ListIterator delegate) { return wrap((ListIterator<?>) delegate); } }); } private static <T> ListIterator<T> wrap(ListIterator<T> delegate) { return new ForwardingListIterator<T>() { @Override protected ListIterator<T> delegate() { return delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
assertEquals( hashFunction.hashBytes(ByteBuffer.wrap(bytes)), hashFunction.newHasher(size).putBytes(ByteBuffer.wrap(bytes)).hash()); int off = random.nextInt(size); int len = random.nextInt(size - off); assertEquals( hashFunction.hashBytes(ByteBuffer.wrap(bytes, off, len)), hashFunction.newHasher(size).putBytes(ByteBuffer.wrap(bytes, off, len)).hash()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
testBuffer = new byte[512]; } // Version 3 Referral Tests @Test public void testDecodeVersion3WithoutNameList() { // Prepare test data ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); // Header bb.putShort((short) 3); // version bb.putShort((short) 100); // size (large enough for all strings) bb.putShort((short) 1); // serverType
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java
*/ package org.codelibs.fess.exception; import jakarta.servlet.ServletException; /** * Runtime exception wrapper for ServletException. * * This exception is used to wrap checked ServletExceptions and convert them * into unchecked RuntimeExceptions, allowing them to be thrown from methods * that don't declare ServletException in their throws clause. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt
fun enqueueResponse(response: MockResponse) { delegate.enqueue(response.wrap()) } override fun shutdown() { delegate.close() } fun setFailFast(failFast: Boolean) { delegate.setFailFast(failFast) } fun setFailFast(failFastResponse: MockResponse?) { delegate.setFailFast(failFastResponse?.wrap()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 14 16:09:26 UTC 2025 - 1.3K bytes - Viewed (0)