Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddX (0.28 sec)

  1. src/runtime/vdso_freebsd.go

    //go:nosplit
    func (bt *bintime) Add(bt2 *bintime) {
    	u := bt.frac
    	bt.frac += bt2.frac
    	if u > bt.frac {
    		bt.sec++
    	}
    	bt.sec += bt2.sec
    }
    
    //go:nosplit
    func (bt *bintime) AddX(x uint64) {
    	u := bt.frac
    	bt.frac += x
    	if u > bt.frac {
    		bt.sec++
    	}
    }
    
    var (
    	// binuptimeDummy is used in binuptime as the address of an atomic.Load, to simulate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top