Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 879 for aranges (0.25 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	// Get covering address ranges and disassemble the ranges.
    	ranges, unprocessed := sp.splitIntoRanges(rpt.prof, addrs, flat)
    	sp.handleUnprocessed(addrs, unprocessed)
    
    	// Trim ranges if there are too many.
    	const maxRanges = 25
    	sort.Slice(ranges, func(i, j int) bool {
    		return ranges[i].score > ranges[j].score
    	})
    	if len(ranges) > maxRanges {
    		ranges = ranges[:maxRanges]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. src/unicode/letter_test.go

    	}
    	return r16
    }
    
    func linear(ranges []Range16, r uint16) bool {
    	for i := range ranges {
    		range_ := &ranges[i]
    		if r < range_.Lo {
    			return false
    		}
    		if r <= range_.Hi {
    			return (r-range_.Lo)%range_.Stride == 0
    		}
    	}
    	return false
    }
    
    func binary(ranges []Range16, r uint16) bool {
    	// binary search over ranges
    	lo := 0
    	hi := len(ranges)
    	for lo < hi {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  3. src/cmd/trace/regions.go

    		{{end}}
    	</tr>
    {{end}}
    </table>
    
    <h3 id="ranges">Special ranges</h3>
    
    The table below describes how much of the traced period each goroutine spent in
    certain special time ranges.
    If a goroutine has spent no time in any special time ranges, it is excluded from
    the table.
    For example, how much time it spent helping the GC. Note that these times do
    overlap with the times from the first table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. pkg/util/goroutinemap/goroutinemap_test.go

    	// exponential backoff).
    	initialOperationWaitTimeLong time.Duration = 500 * time.Millisecond
    )
    
    func Test_NewGoRoutineMap_Positive_SingleOp(t *testing.T) {
    	// Arrange
    	grm := NewGoRoutineMap(false /* exponentialBackOffOnError */)
    	operationName := "operation-name"
    	operation := func() error { return nil }
    
    	// Act
    	err := grm.Run(operationName, operation)
    
    	// Assert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  5. src/runtime/export_test.go

    	// we'll leak some memory implicitly.
    	ranges := make([]addrRange, 0, len(a))
    	total := uintptr(0)
    	for _, r := range a {
    		ranges = append(ranges, r.addrRange)
    		total += r.Size()
    	}
    	return AddrRanges{addrRanges{
    		ranges:     ranges,
    		totalBytes: total,
    		sysStat:    testSysStat,
    	}, false}
    }
    
    // Ranges returns a copy of the ranges described by the
    // addrRanges.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/intervals.go

    		if en <= st {
    			return fmt.Errorf("bad range elem %d:%d, en<=st", st, en)
    		}
    		if i == 0 {
    			continue
    		}
    		// check for badly ordered starts
    		pst := is[i-1].st
    		pen := is[i-1].en
    		if pst >= st {
    			return fmt.Errorf("range start not ordered %d:%d less than prev %d:%d", st, en,
    				pst, pen)
    		}
    		// check end of last range against start of this range
    		if pen > st {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/operation_executor_test.go

    func TestOperationExecutor_MountVolume_ConcurrentMountForNonAttachableAndNonDevicemountablePlugins(t *testing.T) {
    	// Arrange
    	ch, quit, oe := setup()
    	volumesToMount := make([]VolumeToMount, numVolumesToMount)
    	secretName := "secret-volume"
    	volumeName := v1.UniqueVolumeName(secretName)
    
    	// Act
    	for i := range volumesToMount {
    		podName := "pod-" + strconv.Itoa(i+1)
    		pod := getTestPodWithSecret(podName, secretName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/emitter.go

    				s.Ranges = append(s.Ranges, Range{
    					Name:      fmt.Sprintf("%v-%v", time.Duration(sizes[start].Time*1000), time.Duration(sizes[end].Time*1000)),
    					Start:     start,
    					End:       end,
    					StartTime: int64(sizes[start].Time * 1000),
    					EndTime:   int64(sizes[end].Time * 1000),
    				})
    			}
    		},
    	}
    }
    
    type splitter struct {
    	Ranges []Range
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go

    //
    // In the syntaxes described so far, the pattern specifies the changes to
    // enable and report. If a pattern is prefixed by a “!”, the meaning
    // changes: the pattern specifies the changes to DISABLE and report. This
    // mode of operation is needed when a program passes with all changes
    // enabled but fails with no changes enabled. In this case, bisect
    // searches for minimal sets of changes to disable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/constants/constants_test.go

    		},
    		{
    			svcSubnetList: "fd03::/112,192.168.10.0/24",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid <IPv6,IPv4> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03:x::/112",
    			expected:      "",
    			expectedError: true,
    			name:          "invalid: failed to parse subnet range for dual-stack",
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top