Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 482 for counter2 (0.18 sec)

  1. pkg/proxy/util/nfacct/nfacct_linux.go

    		if err != nil {
    			return nil, handleError(err)
    		}
    		counters = append(counters, counter)
    	}
    	return counters, nil
    }
    
    var ErrObjectNotFound = errors.New("object not found")
    var ErrObjectAlreadyExists = errors.New("object already exists")
    var ErrNameExceedsMaxLength = fmt.Errorf("object name exceeds the maximum allowed length of %d characters", MaxLength)
    var ErrEmptyName = errors.New("object name cannot be empty")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. 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)
  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. 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)
  5. 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)
  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. 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)
  9. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	for _, r := range registries {
    		counter := atomic.NewInt32(0)
    		clusterID := r.Cluster()
    		if clusterID == "cluster1" {
    			counter = registry1Counter
    		}
    		if clusterID == "cluster2" {
    			counter = registry2Counter
    		}
    		ctrl.AppendServiceHandlerForCluster(clusterID, func(_, curr *model.Service, event model.Event) {
    			counter.Add(1)
    		})
    		ctrl.AddRegistry(r)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. src/cmd/cover/cover.go

    func setCounterStmt(f *File, counter string) string {
    	return fmt.Sprintf("%s = 1", counter)
    }
    
    // incCounterStmt returns the expression: __count[23]++.
    func incCounterStmt(f *File, counter string) string {
    	return fmt.Sprintf("%s++", counter)
    }
    
    // atomicCounterStmt returns the expression: atomic.AddUint32(&__count[23], 1)
    func atomicCounterStmt(f *File, counter string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top