Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for mask16 (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc

    .app/build.gradle
    [source, groovy]
    ----
    tasks.register("task1") {  // <1>
        println("REGISTER TASK1: This is executed during the configuration phase")
    }
    
    tasks.named("task1") {  // <2>
        println("NAMED TASK1: This is executed during the configuration phase")
        doFirst {
            println("NAMED TASK1 - doFirst: This is executed during the execution phase")
        }
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val B0_FLAG_RSV3 = 16
    
      /** Byte 0 mask for the frame opcode. */
      internal const val B0_MASK_OPCODE = 15
    
      /** Flag in the opcode which indicates a control frame. */
      internal const val OPCODE_FLAG_CONTROL = 8
    
      /**
       * Byte 1 flag for whether the payload data is masked.
       *
       * If this flag is set, the next four
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractWorkerExecutorIntegrationTest.groovy

            }
        }
    
        void assertSameDaemonWasUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text == outputFileDir.file(task2).file(it).text
            }
        }
    
        void assertDifferentDaemonsWereUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text != outputFileDir.file(task2).file(it).text
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tutorial/dynamic/tests/dynamic.sample.conf

    # tag::cli[]
    # gradle --quiet task1
    # end::cli[]
    executable: gradle
    args: task1
    flags: --quiet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 129 bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy

        def "dependencies are union of dependencies of source trees"() {
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def tree1 = Stub(FileTreeInternal)
            def tree2 = Stub(FileTreeInternal)
    
            given:
            tree1.visitDependencies(_) >> { TaskDependencyResolveContext context ->
                context.add(task1)
                context.add(task2)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. src/runtime/gcinfo_test.go

    		// may be larger than we expect.
    		return
    	}
    	t.Errorf("bad GC program for %v:\nwant %+v\ngot  %+v", name, mask0, mask)
    }
    
    func trimDead(mask []byte) []byte {
    	for len(mask) > 0 && mask[len(mask)-1] == typeScalar {
    		mask = mask[:len(mask)-1]
    	}
    	return mask
    }
    
    var infoPtr = []byte{typePointer}
    
    type Ptr struct {
    	*byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top