Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for Peeker (0.04 sec)

  1. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(smb2);
            return new SmbPipeInputStream(handle, tree);
        }
    
        @Test
        @DisplayName("available() on SMB2 returns peeked byte count and interacts with tree")
        void available_smb2_happyPath() throws Exception {
            // Verify SMB2 path: IOCTL peek result is returned and resources are closed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTest.java

    import java.util.stream.Stream;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CloserTest.java

    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Closer}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
        suppressor = new TestSuppressor();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closer.java

     * </ul>
     *
     * <p>An exception that is suppressed is added to the exception that <i>will</i> be thrown using
     * {@code Throwable.addSuppressed(Throwable)}.
     *
     * @author Colin Decker
     * @since 14.0
     */
    // Coffee's for {@link Closer closers} only.
    @J2ktIncompatible
    @GwtIncompatible
    public final class Closer implements Closeable {
      /** Creates a new {@link Closer}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link SourceSinkFactory} implementations.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class SourceSinkFactories {
    
      private SourceSinkFactories() {}
    
      public static CharSourceFactory stringCharSourceFactory() {
        return new StringSourceFactory();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSource.java

     *       and operations that read from the stream (including {@link #length()}, in some
     *       implementations) will prevent further operations from completing as expected.
     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSource {
    
      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSource.java

     *       and operations that read from the stream (including {@link #length()}, in some
     *       implementations) will prevent further operations from completing as expected.
     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSource {
    
      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            )
          }
    
          socket.close()
          openClientSockets.remove(socket.javaNetSocket)
        }
    
        /**
         * Respond to `CONNECT` requests until a non-tunnel response is peeked. Returns true if further
         * calls should be attempted on the socket.
         */
        @Throws(IOException::class, InterruptedException::class)
        private fun processTunnelRequests(): Boolean {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                final SmbTransportInternal trans = dc.unwrap(SmbTransportInternal.class);
                // the tconHostName is from the DC referral, that referral must be resolved
                // before following deeper ones. Otherwise e.g. samba will return a broken
                // referral.
                synchronized (trans) {
                    try {
                        // ensure connected
                        trans.ensureConnected();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

     *
     * <p>{@link java.nio.file.Path} users will find similar utilities in {@link MoreFiles} and the
     * JDK's {@link java.nio.file.Files} class.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Files {
    
      private Files() {}
    
      /**
       * Returns a buffered reader that reads from a file using the given character set.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top