- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for _ecounters (0.2 sec)
-
src/internal/fuzz/counters_supported.go
) // coverage returns a []byte containing unique 8-bit counters for each edge of // the instrumented source code. This coverage data will only be generated if // `-d=libfuzzer` is set at build time. This can be used to understand the code // coverage of a test execution. func coverage() []byte { addr := unsafe.Pointer(&_counters) size := uintptr(unsafe.Pointer(&_ecounters)) - uintptr(addr) return unsafe.Slice((*byte)(addr), int(size))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 21:16:39 UTC 2022 - 710 bytes - Viewed (0) -
src/internal/fuzz/coverage.go
var ( coverageEnabled = len(coverage()) > 0 coverageSnapshot = make([]byte, len(coverage())) // _counters and _ecounters mark the start and end, respectively, of where // the 8-bit coverage counters reside in memory. They're known to cmd/link, // which specially assigns their addresses for this purpose. _counters, _ecounters [0]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/fuzz/counters_unsupported.go
// In theory, we shouldn't need this file at all: if the binary was built // without coverage, then _counters and _ecounters should have the same address. // However, this caused an init failure on aix/ppc64, so it's disabled here. // coverage returns a []byte containing unique 8-bit counters for each edge of // the instrumented source code. This coverage data will only be generated if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 17:10:57 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.__stop___sancov_cntrs", 0), sect) ldr.SetSymSect(ldr.LookupOrCreateSym("internal/fuzz._counters", 0), sect) ldr.SetSymSect(ldr.LookupOrCreateSym("internal/fuzz._ecounters", 0), sect) } // Assign runtime.end to the last section of data segment. ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.end", 0), Segdata.Sections[len(Segdata.Sections)-1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
// possibility of a zero value ; see // runtime.addCovMeta), so subtract off 1 here to form // the real package ID. pkgId-- } tcounters = rdCounters(counters, tcounters) if err := f(pkgId, funcId, tcounters); err != nil { return err } // Skip over this function. i += coverage.FirstCtrOffset + int(nCtrs) - 1 } if s.debug {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
queue.addListener(listener, directExecutor()); Multiset<Object> counters = ConcurrentHashMultiset.create(); queue.enqueue(incrementingEvent(counters, listener, 1)); queue.enqueue(incrementingEvent(counters, listener, 2)); queue.enqueue(incrementingEvent(counters, listener, 3)); queue.enqueue(incrementingEvent(counters, listener, 4)); assertEquals(0, counters.size()); queue.dispatch();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
queue.addListener(listener, directExecutor()); Multiset<Object> counters = ConcurrentHashMultiset.create(); queue.enqueue(incrementingEvent(counters, listener, 1)); queue.enqueue(incrementingEvent(counters, listener, 2)); queue.enqueue(incrementingEvent(counters, listener, 3)); queue.enqueue(incrementingEvent(counters, listener, 4)); assertEquals(0, counters.size()); queue.dispatch();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/doc.go
// totally public telemetry data. // // There are two kinds of counters, basic counters and stack counters. // Basic counters are created by [New]. // Stack counters are created by [NewStack]. // Both are incremented by calling Inc(). // // Basic counters are very cheap. Stack counters are more expensive, as they // require parsing the stack. (Stack counters are implemented as basic counters
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/kubelet/winstats/network_stats_test.go
counters := make([]*fakePerfCounterImpl, 8) for i := 0; i < 8; i++ { counters[i] = &fakePerfCounterImpl{ name: fakeAdapterName, value: 1, raiseError: raiseError, } } return &networkCounter{ packetsReceivedPerSecondCounter: counters[0], packetsSentPerSecondCounter: counters[1], bytesReceivedPerSecondCounter: counters[2],
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 12:08:15 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go
names[i] = s.counter.Name() } return names } // Counters returns the known Counters for a StackCounter. // There may be more in the count file. func (c *StackCounter) Counters() []*Counter { c.mu.Lock() defer c.mu.Unlock() counters := make([]*Counter, len(c.stacks)) for i, s := range c.stacks { counters[i] = s.counter } return counters } func eq(a, b []uintptr) bool { if len(a) != len(b) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 4.8K bytes - Viewed (0)