Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 703 for open0 (0.02 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                    // TODO: only open these for mockito when it is modularized
                    "--add-opens=java.base/java.security.cert=ALL-UNNAMED",
                    "--add-opens=java.base/java.nio.channels=ALL-UNNAMED",
                    "--add-opens=java.base/java.net=ALL-UNNAMED",
                    "--add-opens=java.base/javax.net.ssl=ALL-UNNAMED",
                    "--add-opens=java.base/java.nio.file=ALL-UNNAMED",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  2. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     *         SmbNamedPipe.PIPE_TYPE_CALL );
     * </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( "smb1://server/IPC$/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_TRANSACT );
     * </pre></td><td>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. internal/event/target/kafka.go

    	}
    
    	return target, nil
    }
    
    func isKafkaConnErr(err error) bool {
    	// Sarama opens the circuit breaker after 3 consecutive connection failures.
    	return err == sarama.ErrLeaderNotAvailable || err.Error() == "circuit breaker is open"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/ByteSource.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 ByteSource} containing the concatenated data
       * @since 15.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            }
            return results;
        }
    
        /**
         * Opens a directory for enumeration
         *
         * @return the opened directory file entry
         * @throws CIFSException if an error occurs opening the directory
         */
        @SuppressWarnings("resource")
        @Override
        protected FileEntry open() throws CIFSException {
            final SmbTreeHandleImpl th = getTreeHandle();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            assertTrue(ex2.getMessage().contains("Already closed"));
        }
    
        @Test
        @DisplayName("ensureOpen opens SMB2 via UNC path and marks open")
        void ensureOpen_smb2_opens() throws Exception {
            // Arrange
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Act + Assert (no exception expected)
            assertDoesNotThrow(() -> SmbCopyUtil.copyFile(src, dest, buffers, 1, new WriterThread(), sh, dh));
    
            // Verify that server-side path engaged at least the initial opens
            verify(src, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
            verify(dest, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top