Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 300 for counter2 (0.13 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/gradle3235/src/main/groovy/com/example/Country.groovy

    package com.example
    
    import groovy.transform.Canonical
    import groovy.transform.CompileStatic
    
    @Canonical
    @CompileStatic
    class Country {
    
        String name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 155 bytes
    - Viewed (0)
  10. src/internal/coverage/cmerge/merge.go

    // coverage counter data files.
    type Merger struct {
    	cmode    coverage.CounterMode
    	cgran    coverage.CounterGranularity
    	policy   ModeMergePolicy
    	overflow bool
    }
    
    func (cm *Merger) SetModeMergePolicy(policy ModeMergePolicy) {
    	cm.policy = policy
    }
    
    // MergeCounters takes the counter values in 'src' and merges them
    // into 'dst' according to the correct counter mode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 23:26:34 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top