Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

        }
    
        void doDaemonContext(gradleHandle, Closure assertions) {
            // poll here since even though the daemon has been marked as busy in the registry, the context may not have been
            // flushed to the log yet.
            DaemonContext context
            poll(5) {
                context = DaemonContextParser.parseFromString(gradleHandle.standardOutput, GradleVersion.current())
            }
            context.with(assertions)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pkg/volume/util/fs/fs_windows_test.go

    	if _, err = tmpfile2.WriteString("just for testing"); err != nil {
    		t.Fatalf("TestDiskUsage failed: %s", err.Error())
    	}
    
    	// File creation is not atomic. If we're calculating the DiskUsage before the data is flushed,
    	// we'd get zeroes for sizes, and fail with this error:
    	// TestDiskUsage failed: expected 0, got -1
    	tmpfile1.Sync()
    	tmpfile2.Sync()
    
    	dirInfo1, err := os.Lstat(dir1)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top