Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddSize (0.07 sec)

  1. cmd/xl-storage-disk-id-check.go

    	mu        sync.Mutex
    	init      sync.Once
    	lastMinuteLatency
    }
    
    func (e *lockedLastMinuteLatency) add(value time.Duration) {
    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    }
    
    func elfwritedynentsymsize(ctxt *Link, s *loader.SymbolBuilder, tag elf.DynTag, t loader.Sym) {
    	if elf64 {
    		s.AddUint64(ctxt.Arch, uint64(tag))
    	} else {
    		s.AddUint32(ctxt.Arch, uint32(tag))
    	}
    	s.AddSize(ctxt.Arch, t)
    }
    
    func elfinterp(sh *ElfShdr, startva uint64, resoff uint64, p string) int {
    	interp = p
    	n := len(interp) + 1
    	sh.Addr = startva + resoff - uint64(n)
    	sh.Off = resoff - uint64(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top