Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for flushed (0.16 sec)

  1. src/runtime/mgcwork.go

    	bytesMarked uint64
    
    	// Heap scan work performed on this gcWork. This is aggregated into
    	// gcController by dispose and may also be flushed by callers.
    	// Other types of scan work are flushed immediately.
    	heapScanWork int64
    
    	// flushedWork indicates that a non-empty work buffer was
    	// flushed to the global work list since the last gcMarkDone
    	// termination check. Specifically, this indicates that this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/runtime/tracestack.go

    	// Estimate the size of this record. This
    	// bound is pretty loose, but avoids counting
    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write traceEvStacks.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    		w.byte(byte(traceEvStacks))
    	}
    
    	// Emit stack event.
    	w.byte(byte(traceEvStack))
    	w.varint(uint64(node.id))
    	w.varint(uint64(len(frames)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/runtime/mcache.go

    	// to avoid spilling mark bits into the *next* GC cycle.
    	sg := mheap_.sweepgen
    	flushGen := c.flushGen.Load()
    	if flushGen == sg {
    		return
    	} else if flushGen != sg-2 {
    		println("bad flushGen", flushGen, "in prepareForSweep; sweepgen", sg)
    		throw("bad flushGen")
    	}
    	c.releaseAll()
    	stackcache_clear(c)
    	c.flushGen.Store(mheap_.sweepgen) // Synchronizes with gcStart
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/text/tabwriter/tabwriter.go

    // complete for formatting purposes.
    func (b *Writer) Flush() error {
    	return b.flush()
    }
    
    // flush is the internal version of Flush, with a named return value which we
    // don't want to expose.
    func (b *Writer) flush() (err error) {
    	defer b.handlePanic(&err, "Flush")
    	b.flushNoDefers()
    	return nil
    }
    
    // flushNoDefers is like flush, but without a deferred handlePanic call. This
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. src/runtime/trace.go

    	// will be flushed in time for the new generation) or it will have flushed its
    	// buffers before we snapshotted it to begin with.
    	lock(&sched.lock)
    	mToFlush := allm
    	for mp := mToFlush; mp != nil; mp = mp.alllink {
    		mp.trace.link = mp.alllink
    	}
    	for mp := sched.freem; mp != nil; mp = mp.freelink {
    		mp.trace.link = mToFlush
    		mToFlush = mp
    	}
    	unlock(&sched.lock)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. pkg/volume/fc/fc_util.go

    	out, err := exec.Command("multipath", "-f", dmDevice).CombinedOutput()
    	if err != nil {
    		return fmt.Errorf("failed to flush multipath device %s: %s\n%s", dmDevice, err, string(out))
    	}
    	klog.V(4).Infof("Flushed multipath device: %s", dmDevice)
    	return nil
    }
    
    func checkPathExists(path string) (bool, error) {
    	if pathExists, pathErr := mount.PathExists(path); pathErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  7. cmd/sftp-server-driver.go

    	_ = w.w.CloseWithError(err)
    	_ = w.r.CloseWithError(err)
    	w.err = err
    }
    
    func (w *writerAt) Close() (err error) {
    	switch {
    	case len(w.buffer) > 0:
    		err = errors.New("some file segments were not flushed from the queue")
    		_ = w.w.CloseWithError(err)
    	case w.err != nil:
    		// No need to close here since both pipes were
    		// closing inside TransferError()
    		err = w.err
    	default:
    		err = w.w.Close()
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/net/http/httputil/reverseproxy.go

    	var w io.Writer = dst
    
    	if flushInterval != 0 {
    		mlw := &maxLatencyWriter{
    			dst:     dst,
    			flush:   http.NewResponseController(dst).Flush,
    			latency: flushInterval,
    		}
    		defer mlw.stop()
    
    		// set up initial timer so headers get flushed even if body writes are delayed
    		mlw.flushPending = true
    		mlw.t = time.AfterFunc(flushInterval, mlw.delayedFlush)
    
    		w = mlw
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) setFlusher(out []byte, f func(*reorderBuffer) bool) {
    	rb.out = out
    	rb.flushF = f
    }
    
    // reset discards all characters from the buffer.
    func (rb *reorderBuffer) reset() {
    	rb.nrune = 0
    	rb.nbyte = 0
    }
    
    func (rb *reorderBuffer) doFlush() bool {
    	if rb.f.composing {
    		rb.compose()
    	}
    	res := rb.flushF(rb)
    	rb.reset()
    	return res
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) setFlusher(out []byte, f func(*reorderBuffer) bool) {
    	rb.out = out
    	rb.flushF = f
    }
    
    // reset discards all characters from the buffer.
    func (rb *reorderBuffer) reset() {
    	rb.nrune = 0
    	rb.nbyte = 0
    }
    
    func (rb *reorderBuffer) doFlush() bool {
    	if rb.f.composing {
    		rb.compose()
    	}
    	res := rb.flushF(rb)
    	rb.reset()
    	return res
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
Back to top