Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for reopened (0.17 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

    public class SmbNamedPipe extends SmbFile {
    
        /**
         * The pipe should be opened read-only.
         */
    
        public static final int PIPE_TYPE_RDONLY = O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    
        public static final int PIPE_TYPE_WRONLY = O_WRONLY;
    
        /**
         * The pipe should be opened for both reading and writing.
         */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSinkTest.java

          TestCharSink okSink = new TestCharSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure writer was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newReader() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

          TestCharSource okSource = new TestCharSource(STRING);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
          // ensure reader was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if sink.newWriter() throws).
          assertTrue(
              "stream not closed when copying to sink with option: " + option,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

     *       typically implemented by opening a writer using one of the methods in the first category,
     *       doing something and finally closing the writer that was opened.
     * </ul>
     *
     * <p>Any {@link ByteSink} may be viewed as a {@code CharSink} with a specific {@linkplain Charset
     * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the
    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)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( isOpen() ) {
                return;
            }
            fid = open0( flags, access, attrs, options );
            opened = true;
            tree_num = tree.tree_num;
        }
        boolean isOpen() {
            boolean ans = opened && isConnected() && tree_num == tree.tree_num;
            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  6. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
    
        @Override
        public synchronized void close () throws IOException {
            if ( this.opened ) {
                this.opened = false;
                MsrpcLsarClose rpc = new MsrpcLsarClose(this);
                this.handle.sendrecv(rpc);
                if ( rpc.retval != 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newInputStream() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

          TestByteSource okSource = new TestByteSource(bytes);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestByteSink(option)));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if sink.newOutputStream() throws).
          assertTrue(
              "stream not closed when copying to sink with option: " + option,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbFileHandle.java

        void close () throws CIFSException;
    
    
        /**
         * @throws CIFSException
         * 
         */
        void release () throws CIFSException;
    
    
        /**
         * @return the file size when it was opened
         */
        long getInitialSize ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

          TestCharSource okSource = new TestCharSource(STRING);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
          // ensure reader was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if sink.newWriter() throws).
          assertTrue(
              "stream not closed when copying to sink with option: " + option,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
Back to top