Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for closeable3 (0.17 sec)

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * Invariant:
     * A directory resource must have a trailing slash/backslash for both URL and UNC path at all times.
     * 
     * @author mbechler
     *
     */
    class SmbResourceLocatorImpl implements SmbResourceLocatorInternal, Cloneable {
    
        private static final Logger log = LoggerFactory.getLogger(SmbResourceLocatorImpl.class);
    
        private final URL url;
    
        private DfsReferralData dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.Closeable;
    import java.io.Flushable;
    import java.io.IOException;
    import java.io.Writer;
    
    /**
     * Unit test for {@link AppendableWriter}.
     *
     * @author Alan Green
     */
    public class AppendableWriterTest extends IoTestCase {
    
      /** Helper class for testing behavior with Flushable and Closeable targets. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

    import java.io.ByteArrayOutputStream;
    import java.io.Closeable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.function.Function;
    
    import org.codelibs.curl.io.ContentCache;
    
    public class CurlResponse implements Closeable {
    
        private int httpStatusCode;
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.Closeable;
    import java.net.URI;
    import java.nio.charset.Charset;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Path;
    import java.util.Optional;
    
    import org.apache.maven.api.RemoteRepository;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharStreams.java

    /**
     * Provides utility methods for working with character streams.
     *
     * <p>Some of the methods in this class take arguments with a generic type of {@code Readable &
     * Closeable}. A {@link java.io.Reader} implements both of those interfaces. Similarly for {@code
     * Appendable & Closeable} and {@link java.io.Writer}.
     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.io.Closeable;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.lang.ref.PhantomReference;
    import java.lang.ref.Reference;
    import java.lang.ref.ReferenceQueue;
    import java.lang.reflect.Method;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.io.Closeable;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.lang.ref.PhantomReference;
    import java.lang.ref.Reference;
    import java.lang.ref.ReferenceQueue;
    import java.lang.reflect.Method;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      public void testCopyExceptions() {
        if (Closer.create().suppressor instanceof LoggingSuppressor) {
          // test that exceptions are logged
    
          TestLogHandler logHandler = new TestLogHandler();
          Closeables.logger.addHandler(logHandler);
          try {
            for (CharSource in : BROKEN_SOURCES) {
              runFailureTest(in, newNormalCharSink());
              assertTrue(logHandler.getStoredLogRecords().isEmpty());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSink.java

        } finally {
          closer.close();
        }
      }
    
      /**
       * Writes all the text from the given {@link Readable} (such as a {@link Reader}) to this sink.
       * Does not close {@code readable} if it is {@code Closeable}.
       *
       * @return the number of characters written
       * @throws IOException if an I/O error occurs while reading from {@code readable} or writing to
       *     this sink
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/MD4.java

     *        The MD4 Message-Digest Algorithm</a>",
     *        IETF RFC-1320 (informational).
     * </ol>
     *
     * <p><b>$Revision: 1.2 $</b>
     * @author  Raif S. Naffah
     */
    public  class MD4 extends MessageDigest implements Cloneable
    {
    // MD4 specific object variables
    //...........................................................................
    
        /**
         * The size in bytes of the input block to the tranformation algorithm.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
Back to top