Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for clocks (0.23 sec)

  1. src/runtime/mgcscavenge.go

    func (s *scavengerState) controllerFailed() {
    	lock(&s.lock)
    	s.printControllerReset = true
    	unlock(&s.lock)
    }
    
    // run is the body of the main scavenging loop.
    //
    // Returns the number of bytes released and the estimated time spent
    // releasing those bytes.
    //
    // Must be run on the scavenger goroutine.
    func (s *scavengerState) run() (released uintptr, worked float64) {
    	lock(&s.lock)
    	if getg() != s.g {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodAddsBatching(t *testing.T) {
    	t.Parallel()
    
    	type podAdd struct {
    		delay time.Duration
    	}
    
    	tests := []struct {
    		name             string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. src/time/format.go

    }
    
    // String returns the time formatted using the format string
    //
    //	"2006-01-02 15:04:05.999999999 -0700 MST"
    //
    // If the time has a monotonic clock reading, the returned string
    // includes a final field "m=±<value>", where value is the monotonic
    // clock reading formatted as a decimal number of seconds.
    //
    // The returned string is meant for debugging; for a stable serialized
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #define GTEST_DEFINE_string_(name, default_val, doc) \
        GTEST_API_ ::std::string GTEST_FLAG(name) = (default_val)
    
    // Thread annotations
    #define GTEST_EXCLUSIVE_LOCK_REQUIRED_(locks)
    #define GTEST_LOCK_EXCLUDED_(locks)
    
    // Parses 'str' for a 32-bit signed integer.  If successful, writes the result
    // to *value and returns true; otherwise leaves *value unchanged and returns
    // false.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  5. src/runtime/mheap.go

    	// allocate a new arena.
    	lock(&gcBitsArenas.lock)
    	// Try the head arena again, since it may have changed. Now
    	// that we hold the lock, the list head can't change, but its
    	// free position still can.
    	if p := gcBitsArenas.next.tryAlloc(bytesNeeded); p != nil {
    		unlock(&gcBitsArenas.lock)
    		return p
    	}
    
    	// Allocate a new arena. This may temporarily drop the lock.
    	fresh := newArenaMayUnlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    	}
    
    	archs = append(archs, arch{
    		name:               "ARM64",
    		pkg:                "cmd/internal/obj/arm64",
    		genfile:            "../../arm64/ssa.go",
    		ops:                ops,
    		blocks:             blocks,
    		regnames:           regNamesARM64,
    		ParamIntRegNames:   "R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15",
    		ParamFloatRegNames: "F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    type IAMStorageAPI interface {
    	// The role of the read-write lock is to prevent go routines from
    	// concurrently reading and writing the IAM storage. The (r)lock()
    	// functions return the iamCache. The cache can be safely written to
    	// only when returned by `lock()`.
    	lock() *iamCache
    	unlock()
    	rlock() *iamCache
    	runlock()
    	getUsersSysType() UsersSysType
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof_test.go

    	}()
    	<-ch
    }
    
    // blockMutexDeep produces a block profile event at stack depth n, including the
    // caller.
    func blockMutexDeep(t *testing.T, n int) {
    	if n > 1 {
    		blockMutexDeep(t, n-1)
    		return
    	}
    	var mu sync.Mutex
    	go func() {
    		mu.Lock()
    		mu.Lock()
    	}()
    	awaitBlockedGoroutine(t, "sync.Mutex.Lock", "blockMutexDeep", 1)
    	mu.Unlock()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/css/manual.css

    /** Correct `block` display not defined in IE 8/9. */
    article,
    aside,
    details,
    figcaption,
    figure,
    footer,
    header,
    hgroup,
    main,
    nav,
    section,
    summary {
    	display: block;
    }
    
    /** Correct `inline-block` display not defined in IE 8/9. */
    audio,
    canvas,
    video {
    	display: inline-block;
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	ErasureM           int               `json:"EcM" msg:"EcM"`                                  // Erasure data blocks
    	ErasureN           int               `json:"EcN" msg:"EcN"`                                  // Erasure parity blocks
    	ErasureBlockSize   int64             `json:"EcBSize" msg:"EcBSize"`                          // Erasure block size
    	ErasureIndex       int               `json:"EcIndex" msg:"EcIndex"`                          // Erasure disk index
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top