- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 325 for undelegate (0.15 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
String concurrentPackage = SettableFuture.class.getPackage().getName(); ClassLoader classLoader = AbstractFutureFallbackAtomicHelperTest.class.getClassLoader(); // we delegate to the current classloader so both loaders agree on classes like TestCase return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
@GwtIncompatible public final class LittleEndianDataInputStream extends FilterInputStream implements DataInput { /** * Creates a {@code LittleEndianDataInputStream} that wraps the given stream. * * @param in the stream to delegate to */ public LittleEndianDataInputStream(InputStream in) { super(Preconditions.checkNotNull(in)); } /** This method will throw an {@link UnsupportedOperationException}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
/** A {@link File} that provides a specialized value for {@link File#length()}. */ private static class BadLengthFile extends File { private final long badLength; BadLengthFile(File delegate, long badLength) { super(delegate.getPath()); this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertTrue(blob.equals(blob), "Object should be equal to itself"); assertEquals(blob.get().hashCode(), blob.hashCode(), "hashCode should delegate to internal array"); } // Confirms constructor handles null by producing an empty buffer @Test @DisplayName("Constructor with null sets empty buffer") void constructor_withNull_setsEmpty() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
/** * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not * required to be a {@link BufferedWriter} in order to allow implementations to simply delegate to * {@link #openStream()} when the stream returned by that method does not benefit from additional * buffering. This method returns a new, independent writer each time it is called. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
SmbFileHandleImpl result = stream.ensureOpen(); assertSame(fd, result); verify(handle, times(1)).ensureOpen(); } @Test @DisplayName("close() does nothing (no delegate interactions)") void close_isNoop() throws Exception { // Verify close() is a no-op and does not call handle/tree/fd SmbPipeInputStream stream = newStreamWithInit(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
void decodesErrorStructureThroughReadBytesWireFormat() throws Exception { // For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false, // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9. byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER); byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
private final FessConfig baseConfig = createBaseFessConfig(); @Override public String getQueryDefaultQueryType() { return queryType; } // Delegate all other methods to base config @Override public String get(String key) { return baseConfig.get(key); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
source: Source, ) : ForwardingSource(source) { var bytesRead = 0L override fun read( sink: Buffer, byteCount: Long, ): Long { val result = delegate.read(sink, byteCount) if (result == -1L) return -1L bytesRead += result return result } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertEquals(123L, session.getExpiration()); setField(session, "expiration", 0L); assertNull(session.getExpiration()); } @Test @DisplayName("connection and failure status delegate to transport") void testConnectionAndFailureStatus() { SmbSessionImpl session = newSession(); // Make session look connected via setSessionSetup
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)