Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for addRange (0.37 sec)

  1. src/internal/trace/testtrace/validation.go

    		case trace.EventRangeBegin:
    			if v.hasRange(r.Scope, r.Name) {
    				e.Errorf("already active range %q on %v begun again", r.Name, r.Scope)
    			}
    			v.addRange(r.Scope, r.Name)
    		case trace.EventRangeActive:
    			if !v.hasRange(r.Scope, r.Name) {
    				v.addRange(r.Scope, r.Name)
    			}
    		case trace.EventRangeEnd:
    			if !v.hasRange(r.Scope, r.Name) {
    				e.Errorf("inactive range %q on %v ended", r.Name, r.Scope)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/dwarfgen/dwinl.go

    		}
    		ii := posInlIndex(p.Pos)
    		if ii == curii {
    			continue
    		}
    		// Close out the current range
    		if start != -1 {
    			addRange(inlcalls.Calls, start, p.Pc, curii, imap)
    		}
    		// Begin new range
    		start = p.Pc
    		curii = ii
    	}
    	if start != -1 {
    		addRange(inlcalls.Calls, start, fnsym.Size, curii, imap)
    	}
    
    	// Issue 33188: if II foo is a child of II bar, then ensure that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/main/webapp/js/clipboard.min.js

    ,""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat May 28 04:16:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  4. pkg/ctrlz/assets/static/js/clipboard-1.7.1.min.js

    ,""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),i=document.createRange();i.selectNodeContents(t),o.removeAllRanges(),o.addRange(i),e=o.toString()}return e}e.exports=o},{}],6:[function(t,e,n){function o(){}o.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){i.off(t,o),e.apply(n,arguments)}var...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. src/runtime/mranges.go

    // If b is strictly contained in a, thus forcing a split, it will throw.
    func (a addrRange) subtract(b addrRange) addrRange {
    	if b.base.lessEqual(a.base) && a.limit.lessEqual(b.limit) {
    		return addrRange{}
    	} else if a.base.lessThan(b.base) && b.limit.lessThan(a.limit) {
    		throw("bad prune")
    	} else if b.limit.lessThan(a.limit) && a.base.lessThan(b.limit) {
    		a.base = b.limit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/runtime/mranges_test.go

    	}
    
    	type testt struct {
    		name   string
    		base   uintptr
    		expect int
    		ranges []AddrRange
    	}
    	tests := []testt{
    		{
    			name:   "Empty",
    			base:   12,
    			expect: 0,
    			ranges: []AddrRange{},
    		},
    		{
    			name:   "OneBefore",
    			base:   12,
    			expect: 0,
    			ranges: []AddrRange{
    				MakeAddrRange(14, 16),
    			},
    		},
    		{
    			name:   "OneWithin",
    			base:   14,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 23 23:01:52 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/static/trace_viewer_full.html

    for(const rendererHelper of Object.values(this.rendererHelpers)){this.chromeBounds_.addRange(rendererHelper.process.bounds);}
    if(this.gpuHelper){this.chromeBounds_.addRange(this.gpuHelper.process.bounds);}}
    if(this.chromeBounds_.isEmpty){return undefined;}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
  8. pkg/kubelet/metrics/collectors/volume_stats.go

    				// ignore if already collected
    				continue
    			}
    			addGauge(volumeStatsCapacityBytesDesc, pvcRef, float64(*volumeStat.CapacityBytes))
    			addGauge(volumeStatsAvailableBytesDesc, pvcRef, float64(*volumeStat.AvailableBytes))
    			addGauge(volumeStatsUsedBytesDesc, pvcRef, float64(*volumeStat.UsedBytes))
    			addGauge(volumeStatsInodesDesc, pvcRef, float64(*volumeStat.Inodes))
    			addGauge(volumeStatsInodesFreeDesc, pvcRef, float64(*volumeStat.InodesFree))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    }
    
    // AddrRange is a wrapper around addrRange for testing.
    type AddrRange struct {
    	addrRange
    }
    
    // MakeAddrRange creates a new address range.
    func MakeAddrRange(base, limit uintptr) AddrRange {
    	return AddrRange{makeAddrRange(base, limit)}
    }
    
    // Base returns the virtual base address of the address range.
    func (a AddrRange) Base() uintptr {
    	return a.addrRange.base.addr()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc_64bit.go

    	// range of indices.
    	summaryRangeToSumAddrRange := func(level, sumIdxBase, sumIdxLimit int) addrRange {
    		baseOffset := alignDown(uintptr(sumIdxBase)*pallocSumBytes, physPageSize)
    		limitOffset := alignUp(uintptr(sumIdxLimit)*pallocSumBytes, physPageSize)
    		base := unsafe.Pointer(&p.summary[level][0])
    		return addrRange{
    			offAddr{uintptr(add(base, baseOffset))},
    			offAddr{uintptr(add(base, limitOffset))},
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top