Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 273 for _ecounters (0.24 sec)

  1. src/internal/coverage/decodecounter/decodecounterfile.go

    	}
    	p.FuncIdx, err = rdu32()
    	if err != nil {
    		return false, err
    	}
    	if cap(p.Counters) < 1024 {
    		p.Counters = make([]uint32, 0, 1024)
    	}
    	p.Counters = p.Counters[:0]
    	for i := uint32(0); i < nc; i++ {
    		v, err := rdu32()
    		if err != nil {
    			return false, err
    		}
    		p.Counters = append(p.Counters, v)
    	}
    	return true, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 15:29:54 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cloudresource/cloud_request_manager_test.go

    		addrs                  []v1.NodeAddress
    		err                    error
    		wantAddrs              []v1.NodeAddress
    		wantErr                bool
    		shouldDisableInstances bool
    	}{
    		{
    			name:    "first sync loop encounters an error",
    			err:     errors.New("bad"),
    			wantErr: true,
    		},
    		{
    			name:                   "failed to get instances from cloud provider",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. test/fixedbugs/issue4316.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 4316: the stack overflow check in the linker
    // is confused when it encounters a split-stack function
    // that needs 0 bytes of stack space.
    
    package main
    
    type Peano *Peano
    
    func makePeano(n int) *Peano {
    	if n == 0 {
    		return nil
    	}
    	p := Peano(makePeano(n - 1))
    	return &p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 972 bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelBuildingListener.java

     * under the License.
     */
    package org.apache.maven.api.services.model;
    
    /**
     * Defines events that the model builder fires during construction of the effective model. When a listener encounters
     * errors while processing the event, it can report these problems via {@link ModelBuildingEvent#problems()}.
     */
    public interface ModelBuildingListener {
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/apis.go

    	for _, c := range cl {
    		sd := unsafe.Slice((*atomic.Uint32)(unsafe.Pointer(c.Counters)), int(c.Len))
    		for i := 0; i < len(sd); i++ {
    			// Skip ahead until the next non-zero value.
    			sdi := sd[i].Load()
    			if sdi == 0 {
    				continue
    			}
    			// We found a function that was executed; clear its counters.
    			nCtrs := sdi
    			for j := 0; j < int(nCtrs); j++ {
    				sd[i+coverage.FirstCtrOffset+j].Store(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/internal/coverage/test/counter_test.go

    	for _, fn := range v.funcs {
    		if err := f(fn.PkgIdx, fn.FuncIdx, fn.Counters); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func mkfunc(p uint32, f uint32, c []uint32) decodecounter.FuncPayload {
    	return decodecounter.FuncPayload{
    		PkgIdx:   p,
    		FuncIdx:  f,
    		Counters: c,
    	}
    }
    
    func TestCounterDataWriterReader(t *testing.T) {
    	flavors := []coverage.CounterFlavor{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:34 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. src/runtime/covercounter.go

    	u32sz := unsafe.Sizeof(uint32(0))
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.covctrs == datap.ecovctrs {
    			continue
    		}
    		res = append(res, rtcov.CovCounterBlob{
    			Counters: (*uint32)(unsafe.Pointer(datap.covctrs)),
    			Len:      uint64((datap.ecovctrs - datap.covctrs) / u32sz),
    		})
    	}
    	return res
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 740 bytes
    - Viewed (0)
  8. src/internal/coverage/rtcov/rtcov.go

    }
    
    // CovCounterBlob is a container for encapsulating a counter section
    // (BSS variable) for an instrumented Go module. Here "counters"
    // points to the counter payload and "len" is the number of uint32
    // entries in the section.
    type CovCounterBlob struct {
    	Counters *uint32
    	Len      uint64
    }
    
    // Meta is the top-level container for bits of state related to
    // code coverage meta-data in the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/util/iptables/iptables.go

    	// flush sets the presence of the "--noflush" flag. see: FlushFlag
    	// counters sets the "--counters" flag. see: RestoreCountersFlag
    	Restore(table Table, data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    	// RestoreAll is the same as Restore except that no table is specified.
    	RestoreAll(data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  10. src/internal/coverage/calloc/batchcounteralloc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package calloc
    
    // This package contains a simple "batch" allocator for allocating
    // coverage counters (slices of uint32 basically), for working with
    // coverage data files. Collections of counter arrays tend to all be
    // live/dead over the same time period, so a good fit for batch
    // allocation.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:47:16 UTC 2022
    - 754 bytes
    - Viewed (0)
Back to top