Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 628 for opens (0.02 seconds)

  1. android/guava/src/com/google/common/io/CharSink.java

     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSink {
    
      /** Constructor for use by subclasses. */
      protected CharSink() {}
    
      /**
       * Opens a new {@link Writer} for writing to this sink. This method returns a new, independent
       * writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

       * being deleted. This can happen if, after checking that a file is a directory (and not a
       * symbolic link), that directory is deleted and replaced by a symbolic link to an outside
       * directory before the call that opens the directory to read its entries. File systems that
       * support {@code SecureDirectoryStream} do not have this vulnerability.
       */
      ALLOW_INSECURE
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/MultiInputStream.java

      public void close() throws IOException {
        if (in != null) {
          try {
            in.close();
          } finally {
            in = null;
          }
        }
      }
    
      /** Closes the current input stream and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          in = it.next().openStream();
        }
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/MultiReader.java

      private @Nullable Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
        advance();
      }
    
      /** Closes the current reader and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          current = it.next().openStream();
        }
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        public static final int SMB2_IMPERSONATION_LEVEL_DELEGATE = 0x3;
    
        /**
         * Enable other opens for read access
         */
        public static final int FILE_SHARE_READ = 0x1;
    
        /**
         * Enable other opens for write access
         */
        public static final int FILE_SHARE_WRITE = 0x2;
    
        /**
         * Enable other opens for delete access
         */
        public static final int FILE_SHARE_DELETE = 0x4;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/CharSource.java

       * the source will contain the concatenated data from the streams of the underlying sources.
       *
       * <p>Only one underlying stream will be open at a time. Closing the concatenated stream will
       * close the open underlying stream.
       *
       * @param sources the sources to concatenate
       * @return a {@code CharSource} containing the concatenated data
       * @since 15.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/io/CharSource.java

       * the source will contain the concatenated data from the streams of the underlying sources.
       *
       * <p>Only one underlying stream will be open at a time. Closing the concatenated stream will
       * close the open underlying stream.
       *
       * @param sources the sources to concatenate
       * @return a {@code CharSource} containing the concatenated data
       * @since 15.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                return advance(true);
            }
            return null;
        }
    
        /**
         * Opens the enumeration and returns the first entry.
         *
         * @return the first file entry, or null if empty
         * @throws CIFSException if an error occurs during opening
         */
        protected abstract FileEntry open() throws CIFSException;
    
        /**
         * Checks if the enumeration is complete.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbNamedPipe.java

     * </pre>
     *
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td >
     *
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_TRANSACT, context);
     * </pre>
     *
     * </td>
     * <td>
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                // Expected
            }
    
            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
        }
    
        @Test
        @DisplayName("Test reset functionality")
        void testReset() {
            // Open the circuit
            circuitBreaker.tripBreaker();
            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
    
            // Reset
            circuitBreaker.reset();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top