Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 323 for undelegate (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/http/NtlmSspTest.java

            verify(mockResponse, never()).setStatus(any(int.class));
        }
    
        /**
         * Test case for the instance method doAuthentication.
         * It should just delegate to the static authenticate method.
         * @throws IOException
         */
        @Test
        public void testDoAuthentication() throws IOException {
            // Setup: No "Authorization" header to follow a simple path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            assertThrows(NullPointerException.class, () -> target.unwrap(null));
        }
    
        @Test
        @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe")
        void testBasicAccessors() {
            when(pipe.getPipeType()).thenReturn(0x123456);
            assertSame(pipe, target.getPipe());
            assertEquals(0x123456, target.getPipeType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top