Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 263 for flushed (0.33 sec)

  1. internal/logger/logrotate.go

    // Write is blocking otherwise.
    func (w *Writer) Write(p []byte) (n int, err error) {
    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    // Any accepted writes will be flushed. Any new writes will be rejected.
    // Once Close() exits, files are synchronized to disk.
    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractBasicGroupedTaskLoggingFunctionalTest.groovy

            result.groupedOutput.task(':b:log').output == 'Interrupting output'
            result.groupedOutput.task(':b:log').outcome == null
        }
    
        def "long running task output are flushed after delay"() {
            server.start()
    
            given:
            buildFile << """
                task log {
                    doLast {
                        logger.quiet 'Before'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. src/runtime/tracebuf.go

    //
    // Returns whether the buffer was flushed.
    func (w traceWriter) ensure(maxSize int) (traceWriter, bool) {
    	refill := w.traceBuf == nil || !w.available(maxSize)
    	if refill {
    		w = w.refill(traceNoExperiment)
    	}
    	return w, refill
    }
    
    // flush puts w.traceBuf on the queue of full buffers.
    func (w traceWriter) flush() traceWriter {
    	systemstack(func() {
    		lock(&trace.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/runtime/mgc.go

    		trace.GCStart()
    		traceRelease(trace)
    	}
    
    	// Check that all Ps have finished deferred mcache flushes.
    	for _, p := range allp {
    		if fg := p.mcache.flushGen.Load(); fg != mheap_.sweepgen {
    			println("runtime: p", p.id, "flushGen", fg, "!= sweepgen", mheap_.sweepgen)
    			throw("p mcache not flushed")
    		}
    	}
    
    	gcBgMarkStartWorkers()
    
    	systemstack(gcResetMarkState)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top