Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for COUNTER (0.14 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    	return &Counter{name: name, file: &defaultFile}
    }
    
    // Inc adds 1 to the counter.
    func (c *Counter) Inc() {
    	c.Add(1)
    }
    
    // Add adds n to the counter. n cannot be negative, as counts cannot decrease.
    func (c *Counter) Add(n int64) {
    	debugPrintf("Add %q += %d", c.name, n)
    
    	if n < 0 {
    		panic("Counter.Add negative")
    	}
    	if n == 0 {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. pkg/proxy/util/nfacct/nfacct_linux_test.go

    				// validate response
    				if tc.err != nil {
    					assert.Nil(t, counter)
    					assert.ErrorContains(t, err, tc.err.Error())
    				} else {
    					assert.NotNil(t, counter)
    					assert.NoError(t, err)
    					assert.Equal(t, tc.counter.Name, counter.Name)
    					assert.Equal(t, tc.counter.Packets, counter.Packets)
    					assert.Equal(t, tc.counter.Bytes, counter.Bytes)
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. docs/metrics/v3.md

    | `minio_api_requests_rejected_auth_total`       | `counter` | Total number of requests rejected for auth failure      | `type,pool_index,server`         |
    | `minio_api_requests_rejected_header_total`     | `counter` | Total number of requests rejected for invalid header    | `type,pool_index,server`         |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  4. src/crypto/aes/gcm_s390x.go

    	// with a four-byte big-endian counter starting at one, is used
    	// directly as the starting counter. For other nonce sizes, the counter
    	// is computed by passing it through the GHASH function.
    	var counter gcmCount
    	if len(nonce) == gcmStandardNonceSize {
    		copy(counter[:], nonce)
    		counter[gcmBlockSize-1] = 1
    	} else {
    		var hash [16]byte
    		g.paddedGHASH(&hash, nonce)
    		lens := gcmLengths(0, uint64(len(nonce))*8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                        def counter = parameters.counter
                        println "Transforming \${input.name} to \${output.name}"
                        output.withWriter { out ->
                            out.println String.valueOf(counter.getCount())
                            for (int i = 0; i < 4; i++) {
                                out.println String.valueOf(counter.increment())
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/chacha20/chacha_generic.go

    }
    
    // SetCounter sets the Cipher counter. The next invocation of XORKeyStream will
    // behave as if (64 * counter) bytes had been encrypted so far.
    //
    // To prevent accidental counter reuse, SetCounter panics if counter is less
    // than the current value.
    //
    // Note that the execution time of XORKeyStream is not independent of the
    // counter value.
    func (s *Cipher) SetCounter(counter uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  7. .github/actions/people/app/main.py

    class ContributorsResults(BaseModel):
        contributors: Counter
        commenters: Counter
        reviewers: Counter
        translation_reviewers: Counter
        authors: Dict[str, Author]
    
    
    def get_contributors(pr_nodes: List[PullRequestNode]) -> ContributorsResults:
        contributors = Counter()
        commenters = Counter()
        reviewers = Counter()
        translation_reviewers = Counter()
        authors: Dict[str, Author] = {}
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 17:38:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/internal/coverage/cfile/emit.go

    	mf     *os.File // open os.File for meta-data temp file
    	cfname string   // path of final counter data file
    	cftmp  string   // path to counter data temp file
    	cf     *os.File // open os.File for counter data file
    	outdir string   // output directory
    
    	// List of meta-data symbols obtained from the runtime
    	metalist []rtcov.CovMetaBlob
    
    	// List of counter-data symbols obtained from the runtime
    	counterlist []rtcov.CovCounterBlob
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

        }
    
        def "runs side effect when calling '#method' on changing provider"() {
            given:
            def sideEffect = Mock(ValueSupplier.SideEffect)
            def counter = new AtomicInteger(23)
            def parent = Providers.changing { counter.getAndIncrement() }
            def provider = parent.withSideEffect(sideEffect)
    
            when:
            provider.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. src/crypto/cipher/gcm.go

    		g.cipher.Encrypt(mask[:], counter[:])
    		gcmInc32(counter)
    		subtle.XORBytes(out, in, mask[:])
    	}
    }
    
    // deriveCounter computes the initial GCM counter state from the given nonce.
    // See NIST SP 800-38D, section 7.1. This assumes that counter is filled with
    // zeros on entry.
    func (g *gcm) deriveCounter(counter *[gcmBlockSize]byte, nonce []byte) {
    	// GCM has two modes of operation with respect to the initial counter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top