Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 493 for closest (0.17 sec)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        assertEquals(STRING, sink.getString());
      }
    
      public void testWriteFromStream_doesNotCloseThatStream() throws IOException {
        TestReader in = new TestReader();
        assertFalse(in.closed());
        sink.writeFrom(in);
        assertFalse(in.closed());
      }
    
      public void testWriteLines_withSpecificSeparator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/MultiReader.java

      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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.4K bytes
    - Viewed (2)
  3. internal/config/scanner/scanner.go

    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 100, 15*time.Second, 30*time.Minute
    	default:
    		return cfg, fmt.Errorf("unknown '%s' value", speed)
    	}
    
    	return cfg, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

                    boolean timeout = ( ex instanceof SocketTimeoutException ) || msg != null && msg.equals("Read timed out");
                    boolean closed = msg != null && msg.equals("Socket closed");
    
                    if ( closed ) {
                        log.trace("Remote closed connection");
                    }
                    else if ( timeout ) {
                        log.debug("socket timeout in non peek state", ex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                ioe.initCause(root);
            }
            return ioe;
        }
    
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close () throws IOException {
            try {
                SmbFileHandleImpl h = this.handle;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Range.java

       * returned range is {@linkplain BoundType#CLOSED closed} on both ends.
       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> singleton(C value) {
        return closed(value, value);
      }
    
      /**
       * Returns the minimal range that {@linkplain Range#contains(Comparable) contains} all of the
       * given values. The returned range is {@linkplain BoundType#CLOSED closed} on both ends.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
       * message buffer will be rejected and trigger a [graceful shutdown][close] of this web socket.
       * This method returns false in that case, and in any other case where this web socket is closing,
       * closed, or canceled.
       *
       * This method returns immediately.
       */
      fun send(text: String): Boolean
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.9.md

    * fix azure disk storage account init issue ([#55927](https://github.com/kubernetes/kubernetes/pull/55927), [@andyzhangx](https://github.com/andyzhangx))
    * Allow code-generator tags in the 2nd closest comment block and directly above a statement. ([#55233](https://github.com/kubernetes/kubernetes/pull/55233), [@sttts](https://github.com/sttts))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Nov 16 10:46:27 GMT 2021
    - 313.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloseablesTest.java

            new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS);
        Closeables.closeQuietly(in);
        assertTrue(in.closed());
      }
    
      public void testCloseQuietly_readerWithEatenException() throws IOException {
        TestReader in = new TestReader(TestOption.CLOSE_THROWS);
        Closeables.closeQuietly(in);
        assertTrue(in.closed());
      }
    
      public void testCloseNull() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/fakes_test.go

    	return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: inode}
    }
    
    // Fd returns the file descriptor
    func (f *fakeNs) Fd() uintptr {
    	return f.fd
    }
    
    func (f *fakeNs) Inode() uint64 {
    	return f.inode
    }
    
    // Close simulates closing the file descriptor and returns nil for no error
    func (f *fakeNs) Close() error {
    	f.closed.Store(true)
    	return nil
    }
    
    func fakeFs() fs.FS {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top