Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 547 for _counters (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. .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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper_test.go

    	}
    }
    
    type fakeResponseWriterDecorator struct {
    	http.ResponseWriter
    	counter *counter
    }
    
    func (fw *fakeResponseWriterDecorator) Unwrap() http.ResponseWriter { return fw.ResponseWriter }
    func (fw *fakeResponseWriterDecorator) Flush() {
    	if fw.counter != nil {
    		fw.counter.FlushInvoked++
    	}
    	fw.ResponseWriter.(http.Flusher).Flush()
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:53 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  9. src/internal/fuzz/mutators_byteslice_test.go

    )
    
    type mockRand struct {
    	values  []int
    	counter int
    	b       bool
    }
    
    func (mr *mockRand) uint32() uint32 {
    	c := mr.values[mr.counter]
    	mr.counter++
    	return uint32(c)
    }
    
    func (mr *mockRand) intn(n int) int {
    	c := mr.values[mr.counter]
    	mr.counter++
    	return c % n
    }
    
    func (mr *mockRand) uint32n(n uint32) uint32 {
    	c := mr.values[mr.counter]
    	mr.counter++
    	return uint32(c) % n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 19 18:23:43 UTC 2021
    - 4.3K 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