Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 369 for stops (0.06 sec)

  1. cmd/utils.go

    	return p.records
    }
    
    // Stop the currently running benchmark.
    func (p profilerWrapper) Stop() ([]byte, error) {
    	return p.stopFn()
    }
    
    // Extension returns the extension without dot prefix.
    func (p profilerWrapper) Extension() string {
    	return p.ext
    }
    
    // Returns current profile data, returns error if there is no active
    // profiling in progress. Stops an active profile.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. src/runtime/sema.go

    	// Try to find the g that needs to be notified.
    	// If it hasn't made it to the list yet we won't find it,
    	// but it won't park itself once it sees the new notify number.
    	//
    	// This scan looks linear but essentially always stops quickly.
    	// Because g's queue separately from taking numbers,
    	// there may be minor reorderings in the list, but we
    	// expect the g we're looking for to be near the front.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/go/printer/printer_test.go

    	n = len(buf)
    	if n >= l.remaining {
    		n = l.remaining
    		err = io.EOF
    		l.errCount++
    	}
    	l.remaining -= n
    	return n, err
    }
    
    // Test whether the printer stops writing after the first error
    func TestWriteErrors(t *testing.T) {
    	t.Parallel()
    	const filename = "printer.go"
    	src, err := os.ReadFile(filename)
    	if err != nil {
    		panic(err) // error in test
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. src/flag/flag.go

    meaning of the command
    
    	cmd -x *
    
    where * is a Unix shell wildcard, will change if there is a file
    called 0, false, etc. You must use the -flag=false form to turn
    off a boolean flag.
    
    Flag parsing stops just before the first non-flag argument
    ("-" is a non-flag argument) or after the terminator "--".
    
    Integer flags accept 1234, 0664, 0x1234 and may be negative.
    Boolean flags may be:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  5. src/testing/benchmark.go

    	if !b.timerOn {
    		runtime.ReadMemStats(&memStats)
    		b.startAllocs = memStats.Mallocs
    		b.startBytes = memStats.TotalAlloc
    		b.start = highPrecisionTimeNow()
    		b.timerOn = true
    	}
    }
    
    // StopTimer stops timing a test. This can be used to pause the timer
    // while performing complex initialization that you don't
    // want to measure.
    func (b *B) StopTimer() {
    	if b.timerOn {
    		b.duration += highPrecisionTimeSince(b.start)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. pkg/controller/garbagecollector/garbagecollector.go

    			added.Insert(fmt.Sprintf("%+v", newResource))
    		}
    	}
    	return fmt.Sprintf("added: %v, removed: %v", added.List(), removed.List())
    }
    
    // waitForStopOrTimeout returns a stop channel that closes when the provided stop channel closes or when the specified timeout is reached
    func waitForStopOrTimeout(stopCh <-chan struct{}, timeout time.Duration) <-chan struct{} {
    	stopChWithTimeout := make(chan struct{})
    	go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  7. src/net/textproto/reader.go

    // looking like the end of the sequence.
    //
    // The decoded form returned by the Reader's Read method
    // rewrites the "\r\n" line endings into the simpler "\n",
    // removes leading dot escapes if present, and stops with error [io.EOF]
    // after consuming (and discarding) the end-of-sequence line.
    func (r *Reader) DotReader() io.Reader {
    	r.closeDot()
    	r.dot = &dotReader{r: r}
    	return r.dot
    }
    
    type dotReader struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/manager_test.go

    }
    
    type tearDown func()
    
    type fakeDRAServerInfo struct {
    	// fake DRA server
    	server *fakeDRADriverGRPCServer
    	// fake DRA plugin socket name
    	socketName string
    	// teardownFn stops fake gRPC server
    	teardownFn tearDown
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
  9. pkg/controller/garbagecollector/graph_builder.go

    	sharedInformers  informerfactory.InformerFactory
    	ignoredResources map[schema.GroupResource]struct{}
    }
    
    // monitor runs a Controller with a local stop channel.
    type monitor struct {
    	controller cache.Controller
    	store      cache.Store
    
    	// stopCh stops Controller. If stopCh is nil, the monitor is considered to be
    	// not yet started.
    	stopCh chan struct{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof.go

    		// It drops records that can't fit into its log buffers.
    		panic("runtime/pprof: converting profile: " + err.Error())
    	}
    	b.build()
    	cpu.done <- true
    }
    
    // StopCPUProfile stops the current CPU profile, if any.
    // StopCPUProfile only returns after all the writes for the
    // profile have completed.
    func StopCPUProfile() {
    	cpu.Lock()
    	defer cpu.Unlock()
    
    	if !cpu.profiling {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top