Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 663 for counter1 (0.3 sec)

  1. 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)
  2. src/crypto/aes/aes_gcm.go

    		panic("crypto/cipher: message too large for GCM")
    	}
    
    	var counter, tagMask [gcmBlockSize]byte
    
    	if len(nonce) == gcmStandardNonceSize {
    		// Init counter to nonce||1
    		copy(counter[:], nonce)
    		counter[gcmBlockSize-1] = 1
    	} else {
    		// Otherwise counter = GHASH(nonce)
    		gcmAesData(&g.productTable, nonce, &counter)
    		gcmAesFinish(&g.productTable, &tagMask, &counter, uint64(len(nonce)), uint64(0))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/crypto/aes/gcm_ppc64x.go

    		panic("cipher: message too large for GCM")
    	}
    
    	ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
    
    	var counter, tagMask [gcmBlockSize]byte
    	g.deriveCounter(&counter, nonce)
    
    	g.cipher.Encrypt(tagMask[:], counter[:])
    	gcmInc32(&counter)
    
    	g.counterCrypt(out, plaintext, &counter)
    	g.auth(out[len(plaintext):], out[:len(plaintext)], data, &tagMask)
    
    	return ret
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/runtime/os_windows_arm64.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    //go:nosplit
    func cputicks() int64 {
    	var counter int64
    	stdcall1(_QueryPerformanceCounter, uintptr(unsafe.Pointer(&counter)))
    	return counter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 00:40:56 UTC 2021
    - 339 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tutorial/dynamic/kotlin/build.gradle.kts

    repeat(4) { counter ->
        tasks.register("task$counter") {
            doLast {
                println("I'm task number $counter")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 143 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/tutorial/dynamicDepends/groovy/build.gradle

    4.times { counter ->
        tasks.register("task$counter") {
            doLast {
                println "I'm task number $counter"
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 193 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. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go

    var _ deprecatedCertificateAttributeChecker = &missingSANChecker{}
    
    type missingSANChecker struct {
    	counterRaiser
    }
    
    func NewSANDeprecatedChecker(counter *metrics.Counter) *missingSANChecker {
    	return &missingSANChecker{
    		counterRaiser: counterRaiser{
    			counter: counter,
    			id:      "missing-san",
    			reason:  "relies on a legacy Common Name field instead of the SAN extension for subject validation",
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    				clk:                    clk,
    				counter:                counter,
    				dontDump:               true,
    			}.exercise(t)
    		})
    	}
    }
    
    func TestBaseline(t *testing.T) {
    	metrics.Register()
    	now := time.Now()
    
    	clk, counter := testeventclock.NewFake(now, 0, nil)
    	qsf := newTestableQueueSetFactory(clk, countingPromiseFactoryFactory(counter))
    	qCfg := fq.QueuingConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/dynamic/groovy/build.gradle

    4.times { counter ->
        tasks.register("task$counter") {
            doLast {
                println "I'm task number $counter"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 140 bytes
    - Viewed (0)
Back to top