Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for closing (0.29 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * successfully cancelled step will immediately start closing all objects captured for later closing
     * by it and by its input steps.
     *
     * <h3>Ending a pipeline</h3>
     *
     * Each {@code ClosingFuture} pipeline must be ended. To end a pipeline, decide whether you want to
     * close the captured objects automatically or manually.
     *
     * <h4>Automatically closing</h4>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    	m.respMu.Lock()
    	defer m.respMu.Unlock()
    	if m.closed {
    		return false
    	}
    	select {
    	case m.respWait <- r:
    		if r.Err != nil {
    			if debugPrint {
    				fmt.Println("Closing mux", m.MuxID, "due to error:", r.Err)
    			}
    			m.closeLocked()
    		}
    		return true
    	default:
    		if m.stateless {
    			// Drop message if not stateful.
    			return
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CloserTest.java

          LogRecord record = logHandler.getStoredLogRecords().get(0);
          assertEquals("Suppressing exception thrown when closing " + c2, record.getMessage());
    
          record = logHandler.getStoredLogRecords().get(1);
          assertEquals("Suppressing exception thrown when closing " + c1, record.getMessage());
        } finally {
          Closeables.logger.removeHandler(logHandler);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CloserTest.java

          LogRecord record = logHandler.getStoredLogRecords().get(0);
          assertEquals("Suppressing exception thrown when closing " + c2, record.getMessage());
    
          record = logHandler.getStoredLogRecords().get(1);
          assertEquals("Suppressing exception thrown when closing " + c1, record.getMessage());
        } finally {
          Closeables.logger.removeHandler(logHandler);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. docs/ftp/README.md

    -rwxrwxrwx 1 nobody nobody           45 Apr  1 06:13 chunkdocs/metadata
    226 Closing data connection, sent 75 bytes
    ftp> get
    (remote-file) runner/chunkdocs/metadata
    (local-file) test
    local: test remote: runner/chunkdocs/metadata
    229 Entering Extended Passive Mode (|||37785|)
    150 Data transfer starting 45 bytes
    	45        3.58 KiB/s
    226 Closing data connection, sent 45 bytes
    45 bytes received in 00:00 (3.55 KiB/s)
    ...
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        assertThat(client.closed).isFalse()
        server.processNextFrame() // Read client closing, send server close.
        server.listener.assertClosing(1000, "Hello!")
        server.webSocket!!.finishReader()
        server.webSocket!!.close(1000, "Goodbye!")
        client.processNextFrame() // Read server closing, close connection.
        taskFaker.runTasks()
        client.listener.assertClosing(1000, "Goodbye!")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  7. fastapi/exceptions.py

        ```
        """
    
        def __init__(
            self,
            code: Annotated[
                int,
                Doc(
                    """
                    A closing code from the
                    [valid codes defined in the specification](https://datatracker.ietf.org/doc/html/rfc6455#section-7.4.1).
                    """
                ),
            ],
            reason: Annotated[
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         * @return the underlying {@code Path}, or {@code null} if this source is not backed by a file
         */
        @Nullable
        Path getPath();
    
        /**
         * Creates a new byte stream to the source contents.
         * Closing the returned stream is the responsibility of the caller.
         *
         * @return a byte stream to the source contents, never {@code null}
         * @throws IOException in case of IO issue
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/fakes_test.go

    }
    
    // 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 {
    	subFs, err := fs.Sub(fakeProc, "testdata")
    	if err != nil {
    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)
  10. src/archive/zip/zip_test.go

    		p = p[n:]
    		ss.start += n
    		if ss.start == ss.keep {
    			ss.start = 0
    		}
    	}
    	return
    }
    
    // generatesZip64 reports whether f wrote a zip64 file.
    // f is also responsible for closing w.
    func generatesZip64(t *testing.T, f func(w *Writer)) bool {
    	ss := &suffixSaver{keep: 10 << 20}
    	w := NewWriter(ss)
    	f(w)
    	return suffixIsZip64(t, ss)
    }
    
    type sizedReaderAt interface {
    	io.ReaderAt
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top