Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 849 for flushF (0.14 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Console.java

        // TODO(ew): Consider whether this belongs in BuildProgressArea or here
        StyledLabel getStatusBar();
    
        /**
         * Flushes any pending updates. Updates may or may not be buffered, and this method should be called to finish rendering and pending updates, such as updating the status bar.
         */
        void flush();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/outbuf_windows.go

    		return
    	}
    	// Apparently unmapping without flush may cause ACCESS_DENIED error
    	// (see issue 38440).
    	err := syscall.FlushViewOfFile(uintptr(unsafe.Pointer(&out.buf[0])), 0)
    	if err != nil {
    		Exitf("FlushViewOfFile failed: %v", err)
    	}
    	// Issue 44817: apparently the call below may be needed (according
    	// to the Windows docs) in addition to the FlushViewOfFile call
    	// above, " ... to flush all the dirty pages plus the metadata for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 01:59:25 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. internal/http/response-recorder.go

    		lrw.writeHeaders(&lrw.headers, code, lrw.ResponseWriter.Header())
    		lrw.headersLogged = true
    		lrw.ResponseWriter.WriteHeader(code)
    	}
    }
    
    // Flush - Calls the underlying Flush.
    func (lrw *ResponseRecorder) Flush() {
    	lrw.ResponseWriter.(http.Flusher).Flush()
    }
    
    // Size - returns  the number of bytes written
    func (lrw *ResponseRecorder) Size() int {
    	return lrw.bytesWritten
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 00:13:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/mime/quotedprintable/writer.go

    	w.line[w.i] = '='
    	w.i++
    
    	return w.insertCRLF()
    }
    
    func (w *Writer) insertCRLF() error {
    	w.line[w.i] = '\r'
    	w.line[w.i+1] = '\n'
    	w.i += 2
    
    	return w.flush()
    }
    
    func (w *Writer) flush() error {
    	if _, err := w.w.Write(w.line[:w.i]); err != nil {
    		return err
    	}
    
    	w.i = 0
    	return nil
    }
    
    func isWhitespace(b byte) bool {
    	return b == ' ' || b == '\t'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/net/http/clientserver_test.go

    }
    
    func testTrailersServerToClient(t *testing.T, mode testMode, flush bool) {
    	const body = "Some body"
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Header().Set("Trailer", "Server-Trailer-A, Server-Trailer-B")
    		w.Header().Add("Trailer", "Server-Trailer-C")
    
    		io.WriteString(w, body)
    		if flush {
    			w.(Flusher).Flush()
    		}
    
    		// How handlers set Trailers: declare it ahead of time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockStore.java

         * until {@link #write(BlockPayload)} is called.
         */
        void attach(BlockPayload block);
    
        /**
         * Flushes any pending updates for this store.
         */
        void flush();
    
        interface Factory {
            Object create(Class<? extends BlockPayload> type);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/runtime/tracestring.go

    		s = s[:maxTraceStringLen]
    	}
    
    	lock(&t.lock)
    	w := unsafeTraceWriter(gen, t.buf)
    
    	// Ensure we have a place to write to.
    	var flushed bool
    	w, flushed = w.ensure(2 + 2*traceBytesPerNumber + len(s) /* traceEvStrings + traceEvString + ID + len + string data */)
    	if flushed {
    		// Annotate the batch as containing strings.
    		w.byte(byte(traceEvStrings))
    	}
    
    	// Write out the string.
    	w.byte(byte(traceEvString))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/runtime/trace.go

    	// flush their own buffers in traceThreadDestroy.
    	//
    	// Snapshotting freem is necessary because Ms can continue to emit events
    	// while they're still on that list. Removal from sched.freem is serialized with
    	// this snapshot, so either we'll capture an m on sched.freem and race with
    	// the removal to flush its buffers (resolved by traceThreadDestroy acquiring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flushwriter/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package flushwriter implements a wrapper for a writer that flushes on every
    // write if that writer implements the io.Flusher interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 16:14:27 UTC 2017
    - 780 bytes
    - Viewed (0)
  10. pkg/volume/fc/fc_util.go

    	return "", ""
    }
    
    // Flushes any outstanding I/O to the device
    func flushDevice(deviceName string, exec utilexec.Interface) {
    	out, err := exec.Command("blockdev", "--flushbufs", deviceName).CombinedOutput()
    	if err != nil {
    		// Ignore the error and continue deleting the device. There is will be no retry on error.
    		klog.Warningf("Failed to flush device %s: %s\n%s", deviceName, err, string(out))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
Back to top