Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for choose (0.15 sec)

  1. src/main/java/jcifs/SmbFileHandle.java

        boolean isValid ();
    
    
        /**
         * @param lastWriteTime
         * @throws CIFSException
         */
        void close ( long lastWriteTime ) throws CIFSException;
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    
    
        /**
         * @throws CIFSException
         * 
         */
    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)
  2. android/guava/src/com/google/common/io/ByteSource.java

          // skip may not be supported... at any rate, try reading
        } finally {
          closer.close();
        }
    
        closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return ByteStreams.exhaust(in);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/BaseContext.java

            return this.defaultCredentials;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#close()
         */
        @Override
        public boolean close () throws CIFSException {
            boolean inUse = super.close();
            inUse |= this.transportPool.close();
            return inUse;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/StreamsTest.java

                .flatMap(x -> x);
        assertThat(concatenated).containsExactly("a", "b", "c", "d").inOrder();
        concatenated.close();
        // even without close, see doc for flatMap
        assertThat(closeCountB.get()).isEqualTo(1);
      }
    
      public void testConcat_refStream_closeIsPropagated_exceptionsChained() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.TestOption.CLOSE_THROWS;
    import static com.google.common.io.TestOption.OPEN_THROWS;
    import static com.google.common.io.TestOption.READ_THROWS;
    import static com.google.common.io.TestOption.WRITE_THROWS;
    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)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

        }
      }
    
      /**
       * Calls {@link #close} if not already closed, and then resets this object back to its initial
       * state, for reuse. If data was buffered to a file, it will be deleted.
       *
       * @throws IOException if an I/O error occurred while deleting the file buffer
       */
      public synchronized void reset() throws IOException {
        try {
          close();
        } finally {
          if (memory == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    assertTrue(checkFile.exists());
                }
                finally {
                    ostream.close();
                    checkFile.close();
                    f.delete();
                }
            }
        }
    
    
        /**
         * @author Ilan Goldfeld
         */
        // #261
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/TestByteSink.java

      }
    
      private final class Out extends TestOutputStream {
    
        public Out() throws IOException {
          super(bytes, options);
        }
    
        @Override
        public void close() throws IOException {
          outputStreamClosed = true;
          super.close();
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 15 13:47:32 GMT 2016
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbPipeHandle.java

         */
        OutputStream getOutput () throws CIFSException;
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws CIFSException
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    
    
        /**
         * @return whether the FD is open and valid
         */
        boolean isOpen ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbTreeHandle.java

        /**
         * @return the active configuration
         */
        Configuration getConfig ();
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    
    
        /**
         * @return the tree is connected
         */
        boolean isConnected ();
    
    
        /**
         * @return server timezone offset
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
Back to top