- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 189 for buffer_end (0.43 sec)
-
src/cmd/go/testdata/script/test_fail_newline.txt
[short] skip # In package list mode, output is buffered. # Check that a newline is printed after the buffer's contents. cd fail ! go test . ! stderr . stdout '^exitcode=1\n' stdout '^FAIL\s+example/fail' # In local directory mode output is streamed, so we don't know # whether the test printed anything at all, so we print the exit code # (just in case it failed without emitting any output at all),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 04 21:33:23 UTC 2021 - 1.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/ByteInput.java
*/ public long getBytesRead() { return countingInputStream.getCount(); } /** * Finishes reading, resetting any buffered state. */ public void done() { countingInputStream = null; } private static class ResettableBufferedInputStream extends BufferedInputStream {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/AbstractProgressLoggingHandler.java
inputStream.close(); } @Override public int read() throws IOException { throw new UnsupportedOperationException("Reading from a remote resource should be buffered."); } @Override public int read(byte[] b, int off, int len) throws IOException { int read = inputStream.read(b, off, len); if (read > 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/ByteOutput.java
*/ public long getBytesWritten() { return countingOutputStream.getCount(); } /** * Finishes writing, flushing and resetting any buffered state */ public void done() throws IOException { countingOutputStream.flush(); countingOutputStream = null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling * this method should provide all changes (size of that buffer can be adjusted through * {@link jcifs.Configuration#getNotifyBufferSize()}).
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.3K bytes - Viewed (0) -
src/encoding/csv/example_test.go
} w := csv.NewWriter(os.Stdout) for _, record := range records { if err := w.Write(record); err != nil { log.Fatalln("error writing record to csv:", err) } } // Write any buffered data to the underlying writer (standard output). w.Flush() if err := w.Error(); err != nil { log.Fatal(err) } // Output: // first_name,last_name,username // Rob,Pike,rob // Ken,Thompson,ken
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 22 11:11:37 UTC 2015 - 2.6K bytes - Viewed (0) -
internal/ringbuffer/README.md
If you want to block when reading or writing, you must enable it: ```go rb := ringbuffer.New(1024).SetBlocking(true) ``` Enabling blocking will cause the ring buffer to behave like a buffered [io.Pipe](https://pkg.go.dev/io#Pipe). Regular Reads will block until data is available, but not wait for a full buffer.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java
} } } @Override public void close() { synchronized (lock) { // Allow threads to read anything still buffered closed = true; lock.notifyAll(); } } public void received(byte[] bytes) { synchronized (lock) { if (!waiting) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go
// TLS, and in TLS the client speaks first, so we know there's // no unbuffered data. But we can double-check. if br.Buffered() > 0 { proxyConn.Close() return nil, fmt.Errorf("unexpected %d bytes of buffered data from CONNECT proxy %q", br.Buffered(), proxyAddress) } return proxyConn, nil } type proxier interface { // proxy returns a connection to addr.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java
} writeAction.write(nested); nested.flush(); writeSmallInt(0); } /** * Returns the total number of bytes written by this encoder, some of which may still be buffered. */ public long getWritePosition() { return output.total(); } @Override public void flush() { output.flush(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 4K bytes - Viewed (0)