Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for mask1b (0.35 sec)

  1. src/crypto/sha1/sha1.go

    		if i >= 56 {
    			// we might have to write the length here if all fit in one block
    			d.x[i] |= mask1b & length[i-56]
    		}
    	}
    
    	// compress, and only keep the digest if all fit in one block
    	block(d, d.x[:])
    
    	var digest [Size]byte
    	for i, s := range d.h {
    		digest[i*4] = mask1b & byte(s>>24)
    		digest[i*4+1] = mask1b & byte(s>>16)
    		digest[i*4+2] = mask1b & byte(s>>8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/image/draw/bench_test.go

    	}
    
    	var mask image.Image
    	switch mcm {
    	case nil:
    		// No-op.
    	case color.AlphaModel:
    		mask1 := image.NewAlpha(image.Rect(0, 0, srcw, srch))
    		for y := 0; y < srch; y++ {
    			for x := 0; x < srcw; x++ {
    				a := uint8((23*x + 29*y) % 0x100)
    				// Glyph masks are typically mostly zero,
    				// so we only set a quarter of mask1's pixels.
    				if a >= 0xc0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. internal/pubsub/mask.go

    	"math"
    	"math/bits"
    )
    
    // Mask allows filtering by a bitset mask.
    type Mask uint64
    
    const (
    	// MaskAll is the mask for all entries.
    	MaskAll Mask = math.MaxUint64
    )
    
    // MaskFromMaskable extracts mask from an interface.
    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    	return t&other == other
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    		updateGeneric(&state, h.buffer[:h.offset])
    	}
    	finalize(out, &state.h, &state.s)
    }
    
    // [rMask0, rMask1] is the specified Poly1305 clamping mask in little-endian. It
    // clears some bits of the secret coefficient to make it possible to implement
    // multiplication more efficiently.
    const (
    	rMask0 = 0x0FFFFFFC0FFFFFFF
    	rMask1 = 0x0FFFFFFC0FFFFFFC
    )
    
    // initialize loads the 256-bit key into the two 128-bit secret values r and s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/cidr.go

    // cidr('::1/128').ip().family() // returns '6'
    // cidr('192.168.0.0/24').masked() // returns cidr('192.168.0.0/24')
    // cidr('192.168.0.1/24').masked() // returns cidr('192.168.0.0/24')
    // cidr('192.168.0.0/24') == cidr('192.168.0.0/24').masked() // returns true, CIDR was already in canonical format
    // cidr('192.168.0.1/24') == cidr('192.168.0.1/24').masked() // returns false, CIDR was not in canonical format
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/runtime/internal/math/math.go

    // On supported platforms this is an intrinsic lowered by the compiler.
    func Mul64(x, y uint64) (hi, lo uint64) {
    	const mask32 = 1<<32 - 1
    	x0 := x & mask32
    	x1 := x >> 32
    	y0 := y & mask32
    	y1 := y >> 32
    	w0 := x0 * y0
    	t := x1*y0 + w0>>32
    	w1 := t & mask32
    	w2 := t >> 32
    	w1 += x0 * y1
    	hi = x1*y1 + w2 + w1>>32
    	lo = x * y
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:03:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr2_build_lifecycle.adoc

    tasks.register("task1"){
        println("REGISTER TASK1: This is executed during the configuration phase")
    }
    
    tasks.register("task2"){
        println("REGISTER TASK2: This is executed during the configuration phase")
    }
    
    tasks.named("task1"){
        println("NAMED TASK1: This is executed during the configuration phase")
        doFirst {
            println("NAMED TASK1 - doFirst: This is executed during the execution phase")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 05:44:04 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go

    			expectResult: apiservercel.IP{Addr: ipv4Addr},
    		},
    		{
    			name:         "masks masked ipv4",
    			expr:         `cidr("192.168.0.0/24").masked()`,
    			expectResult: apiservercel.CIDR{Prefix: netip.PrefixFrom(ipv4Addr, 24)},
    		},
    		{
    			name:         "masks unmasked ipv4",
    			expr:         `cidr("192.168.0.1/24").masked()`,
    			expectResult: apiservercel.CIDR{Prefix: netip.PrefixFrom(ipv4Addr, 24)},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. test/codegen/bitfield.go

    }
    
    // check 32-bit shift masking
    func mask32(x uint32) uint32 {
    	return (x << 29) >> 29 // arm64:"AND\t[$]7, R[0-9]+",-"LSR",-"LSL"
    }
    
    // check 16-bit shift masking
    func mask16(x uint16) uint16 {
    	return (x << 14) >> 14 // arm64:"AND\t[$]3, R[0-9]+",-"LSR",-"LSL"
    }
    
    // check 8-bit shift masking
    func mask8(x uint8) uint8 {
    	return (x << 7) >> 7 // arm64:"AND\t[$]1, R[0-9]+",-"LSR",-"LSL"
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 06:11:32 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIncludeCycleIntegrationTest.groovy

            """
    
            when:
            execute(buildA, 'task1')
    
            then:
            result.assertTasksExecuted(':task3', ':buildB:task2', ':task1')
    
            and:
            canRunFromCache(buildA, 'task1')
        }
    
        def "can indirectly depend on root build task"() {
            given:
            buildA.buildFile << """
                tasks.register('task1') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 19 21:32:57 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top