Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 236 for flushed (0.1 sec)

  1. src/compress/gzip/gzip.go

    	n, z.err = z.compressor.Write(p)
    	return n, z.err
    }
    
    // Flush flushes any pending compressed data to the underlying writer.
    //
    // It is useful mainly in compressed network protocols, to ensure that
    // a remote reader has enough data to reconstruct a packet. Flush does
    // not return until the data has been written. If the underlying
    // writer returns an error, Flush returns that error.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K 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. test/recover4.go

    //
    // In the test, memcopy is the function that will fault, during dst[i] = src[i].
    // The deferred func recovers from the error and returns, making memcopy
    // return the current value of n. If n is not being flushed to memory
    // after each modification, the result will be a stale value of n.
    //
    // The test is set up by mmapping a 64 kB block of memory and then
    // unmapping a 16 kB hole in the middle of it. Running memcopy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpSignatory.java

            return name;
        }
    
        /**
         * Exhausts {@code toSign}, and writes the signature to {@code signatureDestination}.
         *
         * The caller is responsible for closing the streams, though the output WILL be flushed.
         */
        @Override
        public void sign(InputStream toSign, OutputStream signatureDestination) {
            PGPSignatureGenerator generator = createSignatureGenerator();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/mcheckmark.go

    			clear(bitmap.b[:])
    		}
    	}
    	// Enable checkmarking.
    	useCheckmark = true
    }
    
    // endCheckmarks ends the checkmarks phase.
    func endCheckmarks() {
    	if gcMarkWorkAvailable(nil) {
    		throw("GC work not flushed")
    	}
    	useCheckmark = false
    }
    
    // setCheckmark throws if marking object is a checkmarks violation,
    // and otherwise sets obj's checkmark. It returns true if obj was
    // already checkmarked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. operator/pkg/metrics/monitoring.go

    		"legacy_path_translation_total",
    		"Number of times a legacy API path is translated",
    	)
    
    	// CacheFlushTotal counts number of cache flushes.
    	CacheFlushTotal = monitoring.NewSum(
    		"cache_flush_total",
    		"number of times operator cache was flushed",
    	)
    )
    
    func init() {
    	initOperatorCrdResourceMetrics()
    }
    
    func IncrementReconcileRequest(reason string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top