Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for should_stop_ (0.14 sec)

  1. src/runtime/export_test.go

    	Sleep      func(int64) int64
    	Scavenge   func(uintptr) (uintptr, int64)
    	ShouldStop func() bool
    	GoMaxProcs func() int32
    
    	released  atomic.Uintptr
    	scavenger scavengerState
    	stop      chan<- struct{}
    	done      <-chan struct{}
    }
    
    func (s *Scavenger) Start() {
    	if s.Sleep == nil || s.Scavenge == nil || s.ShouldStop == nil || s.GoMaxProcs == nil {
    		panic("must populate all stubs")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge_test.go

    		if uint64(bytes) > avail {
    			bytes = uintptr(avail)
    		}
    		t := workedTime(bytes)
    		if bytes != 0 {
    			availableWork.Add(-int64(bytes))
    			totalWorked.Add(t)
    		}
    		return bytes, t
    	}
    	s.ShouldStop = func() bool {
    		if availableWork.Load() <= stopAt.Load() {
    			return true
    		}
    		return false
    	}
    	s.GoMaxProcs = func() int32 {
    		return 1
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    n errors(); public synchronized int failureCount(); public synchronized java.util.Enumeration failures(); protected void run(TestCase); public synchronized int runCount(); public void runProtected(Test, Protectable); public synchronized boolean shouldStop(); public void startTest(Test); public synchronized void stop(); public synchronized boolean wasSuccessful(); } junit/framework/JUnit4TestAdapterCac.class package junit.framework; public synchronized class JUnit4TestAdapterCac extends java.util.HashMap...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 373.7K bytes
    - Viewed (0)
Back to top