Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for flushed (0.12 sec)

  1. src/runtime/mwbbuf.go

    	// un-shaded stacks and flush after each stack scan.
    	gcw := &pp.gcw
    	pos := 0
    	for _, ptr := range ptrs {
    		if ptr < minLegalPointer {
    			// nil pointers are very common, especially
    			// for the "old" values. Filter out these and
    			// other "obvious" non-heap pointers ASAP.
    			//
    			// TODO: Should we filter out nils in the fast
    			// path to reduce the rate of flushes?
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/compress/flate/dict_decoder.go

    func (dd *dictDecoder) histSize() int {
    	if dd.full {
    		return len(dd.hist)
    	}
    	return dd.wrPos
    }
    
    // availRead reports the number of bytes that can be flushed by readFlush.
    func (dd *dictDecoder) availRead() int {
    	return dd.wrPos - dd.rdPos
    }
    
    // availWrite reports the available amount of output buffer space.
    func (dd *dictDecoder) availWrite() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

            // == true. Then there is a final call to flush.
            CoderResult result;
            if (doneFlushing) {
              result = CoderResult.UNDERFLOW;
            } else if (doneEncoding) {
              result = encoder.flush(byteBuffer);
            } else {
              result = encoder.encode(charBuffer, byteBuffer, endOfInput);
            }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ReaderInputStream.java

            // == true. Then there is a final call to flush.
            CoderResult result;
            if (doneFlushing) {
              result = CoderResult.UNDERFLOW;
            } else if (doneEncoding) {
              result = encoder.flush(byteBuffer);
            } else {
              result = encoder.encode(charBuffer, byteBuffer, endOfInput);
            }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/hash/maphash/maphash.go

    type Hash struct {
    	_     [0]func()     // not comparable
    	seed  Seed          // initial seed used for this hash
    	state Seed          // current hash of all flushed bytes
    	buf   [bufSize]byte // unflushed byte buffer
    	n     int           // number of unflushed bytes
    }
    
    // bufSize is the size of the Hash write buffer.
    // The buffer ensures that writes depend only on the sequence of bytes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/compress/lzw/reader.go

    	// Non-literal codes decode to a sequence of suffixes that are first
    	// written right-to-left from the end of the buffer before being copied
    	// to the start of the buffer.
    	// It is flushed when it contains >= 1<<maxWidth bytes,
    	// so that there is always room to decode an entire code.
    	output [2 * 1 << maxWidth]byte
    	o      int    // write index into output
    	toRead []byte // bytes to return from Read
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. src/net/http/responsecontroller.go

    }
    
    type rwUnwrapper interface {
    	Unwrap() ResponseWriter
    }
    
    // Flush flushes buffered data to the client.
    func (c *ResponseController) Flush() error {
    	rw := c.rw
    	for {
    		switch t := rw.(type) {
    		case interface{ FlushError() error }:
    			return t.FlushError()
    		case Flusher:
    			t.Flush()
    			return nil
    		case rwUnwrapper:
    			rw = t.Unwrap()
    		default:
    			return errNotSupported()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper.go

    }
    
    func (wr outerWithCloseNotifyAndFlush) Flush() {
    	if flusher, ok := wr.UserProvidedDecorator.(http.Flusher); ok {
    		flusher.Flush()
    		return
    	}
    
    	wr.InnerCloseNotifierFlusher.Flush()
    }
    
    //lint:file-ignore SA1019 Keep supporting deprecated http.CloseNotifier
    var _ http.CloseNotifier = outerWithCloseNotifyFlushAndHijack{}
    var _ http.Flusher = outerWithCloseNotifyFlushAndHijack{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/FlushConsoleListener.java

    import org.gradle.internal.logging.events.OutputEvent;
    import org.gradle.internal.logging.events.OutputEventListener;
    import org.gradle.internal.logging.events.UpdateNowEvent;
    
    /**
     * Flushes the console output. Used when no other listener in the chain flushes the console.
     */
    public class FlushConsoleListener implements OutputEventListener {
        private final OutputEventListener delegate;
        private final Console console;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper_test.go

    	// the http.ResponseWriter object for both http/1.x and http2
    	// implement http.Flusher and http.CloseNotifier
    	if _, ok := w.(http.Flusher); !ok {
    		t.Errorf("Expected the http.ResponseWriter object to implement http.Flusher")
    	}
    
    	//nolint:staticcheck // SA1019
    	if _, ok := w.(http.CloseNotifier); !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:53 UTC 2021
    - 8.1K bytes
    - Viewed (0)
Back to top