Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 655 for counter2 (0.29 sec)

  1. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/rules/JacocoLimit.java

        String getCounter();
    
        /**
         * Sets the counter that applies to the limit.
         *
         * @param counter Counter
         */
        void setCounter(String counter);
    
        /**
         * The value that applies to the limit as defined by
         * <a href="http://www.eclemma.org/jacoco/trunk/doc/api/org/jacoco/core/analysis/ICounter.CounterValue.html">org.jacoco.core.analysis.ICounter.CounterValue</a>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    			continue
    		}
    		prog := findProgReport(x.Meta, report)
    		for k, v := range x.Count {
    			if counter.IsStackCounter(k) {
    				// stack
    				prog.Stacks[k] += int64(v)
    			} else {
    				// counter
    				prog.Counters[k] += int64(v)
    			}
    			succeeded = true
    			fok = true
    		}
    		if !fok {
    			u.logger.Printf("no counters found in %s", f)
    		}
    	}
    	if !succeeded {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. pkg/volume/flexvolume/mounter.go

    type flexVolumeMounter struct {
    	*flexVolume
    	// Runner used to setup the volume.
    	runner exec.Interface
    	// the considered volume spec
    	spec     *volume.Spec
    	readOnly bool
    }
    
    var _ volume.Mounter = &flexVolumeMounter{}
    
    // Mounter interface
    
    // SetUp creates new directory.
    func (f *flexVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	return f.SetUpAt(f.GetPath(), mounterArgs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. pkg/kubelet/winstats/perfcounters.go

    	}
    
    	ret = win_pdh.PdhCollectQueryData(queryHandle)
    	if ret != win_pdh.ERROR_SUCCESS {
    		return nil, fmt.Errorf("unable to collect data from counter. Error code is %x", ret)
    	}
    
    	return &perfCounterImpl{
    		queryHandle:   queryHandle,
    		counterHandle: counterHandle,
    	}, nil
    }
    
    // getData is used for getting data without * in counter name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 19:13:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/coverage/coverage.go

    	return cfile.WriteCounters(w)
    }
    
    // ClearCounters clears/resets all coverage counter variables in the
    // currently running program. It returns an error if the program in
    // question was not built with the "-cover" flag. Clearing of coverage
    // counters is also not supported for programs not using atomic
    // counter mode (see more detailed comments below for the rationale
    // here).
    func ClearCounters() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/start.go

    	// which is the time used by the upload logic to determine whether counter
    	// file data should be uploaded. Only counter files that have expired before
    	// the start time are considered for upload.
    	//
    	// This field can be used to simulate a future upload that collects recently
    	// modified counters.
    	UploadStartTime time.Time
    
    	// UploadURL, if set, overrides the URL used to receive uploaded reports. If
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/internal/coverage/rtcov/rtcov.go

    	CounterGranularity uint8 // coverage.CounterGranularity
    }
    
    // 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
    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. src/internal/coverage/pods/pods.go

    // each meta-data file M_k, then find all of the counter data files
    // that refer to that meta-data file (recall that the counter data
    // file name incorporates the meta-data hash), and add the counter
    // data file to the appropriate pod.
    //
    // This process is complicated by the fact that we need to keep track
    // of directory indices for counter data files. Here is an example to
    // motivate:
    //
    //	directory 1:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/internal/coverage/calloc/batchcounteralloc.go

    // 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.
    
    type BatchCounterAlloc struct {
    	pool []uint32
    }
    
    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