Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 484 for MASK (0.11 sec)

  1. android/guava/src/com/google/common/util/concurrent/Striped.java

        final int mask;
    
        PowerOfTwoStriped(int stripes) {
          Preconditions.checkArgument(stripes > 0, "Stripes must be positive");
          this.mask = stripes > Ints.MAX_POWER_OF_TWO ? ALL_SET : ceilToPowerOfTwo(stripes) - 1;
        }
    
        @Override
        final int indexFor(Object key) {
          int hash = smear(key.hashCode());
          return hash & mask;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/scoring.go

    }
    
    func adjustScore(typ scoreAdjustTyp, score int, mask scoreAdjustTyp) (int, scoreAdjustTyp) {
    
    	if isMust(typ) {
    		if mask&typ != 0 {
    			return score, mask
    		}
    		may := mustToMay(typ)
    		if mask&may != 0 {
    			// promote may to must, so undo may
    			score -= adjValue(may)
    			mask &^= may
    		}
    	} else if isMay(typ) {
    		must := mayToMust(typ)
    		if mask&(must|typ) != 0 {
    			return score, mask
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/crypto/aes/asm_ppc64x.s

    	ADD	$16, OUTENC, OUTENC
    	ADD	$-16, OUTDEC, OUTDEC
    	VSPLTISB	$8, KEY                  // vspltisb 3,8
    	MOVD	CNT, CTR                         // mtctr 7
    	VSUBUBM	MASK, KEY, MASK                  // vsububm 5,5,3
    
    loop192:
    	VPERM	IN1, IN1, MASK, KEY // vperm 3,2,2,5
    	VSLDOI	$12, ZERO, IN0, TMP // vsldoi 6,0,1,12
    	VCIPHERLAST	KEY, RCON, KEY      // vcipherlast 3,3,4
    
    	VXOR	IN0, TMP, IN0       // vxor 1,1,6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. pkg/api/v1/pod/util.go

    // spec in the given pod spec with type set in mask. If visitor returns false,
    // visiting is short-circuited. VisitContainers returns true if visiting completes,
    // false if visiting was short-circuited.
    func VisitContainers(podSpec *v1.PodSpec, mask ContainerType, visitor ContainerVisitor) bool {
    	if mask&InitContainers != 0 {
    		for i := range podSpec.InitContainers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 17:18:04 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        ReducedPrecisionSupport mask = ReducedPrecisionSupport::None;
        if (toco_flags.quantize_to_float16()) {
          mask |= ReducedPrecisionSupport::Float16Inference;
        }
        if (toco_flags.allow_bfloat16()) {
          mask |= ReducedPrecisionSupport::Bfloat16Inference;
        }
        if (toco_flags.accumulation_type() == toco::IODataType::FLOAT16) {
          mask |= ReducedPrecisionSupport::Float16Accumulation;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/config/validation_test.go

    		name string
    		cidr string
    	}{
    		{
    			name: "invalid IPv4 loopback CIDR",
    			cidr: "192.168.1.1/24",
    		},
    		{
    			name: "invalid CIDR with mask below range",
    			cidr: "10.0.0.1/7",
    		},
    		{
    			name: "invalid CIDR with mask above range",
    			cidr: "172.16.0.1/40",
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			err := ValidateIPv4LoopbackCidr(tc.cidr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 11 02:38:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/runtime/os_netbsd.go

    //
    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	s.ss_sp = sp
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] |= 1 << ((uint32(i) - 1) & 31)
    }
    
    func sigdelset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s

    	// for VPERMXOR
    	MOVD $consts<>+0xa0(SB), MASK
    	MOVD $16, R20
    	// V16
    	LXVW4X (CONSTBASE)(R0), VS48
    	ADD $80,CONSTBASE
    
    	// Load key into V17,V18
    	LXVW4X (KEY)(R0), VS49
    	LXVW4X (KEY)(R8), VS50
    
    	// Load CNT, NONCE into V19
    	LXVW4X (CNT)(R0), VS51
    
    	// Clear V27
    	VXOR V27, V27, V27
    
    	// V28
    	LXVW4X (CONSTBASE)(R11), VS60
    
    	// Load mask constants for VPERMXOR
    	LXVW4X (MASK)(R0), V20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/runtime/os_aix.go

    		// it was deliver in a non-Go thread.
    		c.set_sigcode(_SI_USER)
    	}
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	(*mask)[(i-1)/64] |= 1 << ((uint32(i) - 1) & 63)
    }
    
    func sigdelset(mask *sigset, i int) {
    	(*mask)[(i-1)/64] &^= 1 << ((uint32(i) - 1) & 63)
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/internal/bytealg/compare_amd64.s

    	ADDQ	$16, DI
    	SUBQ	$16, R8
    	JMP	loop
    
    diff64:
    	ADDQ	$48, SI
    	ADDQ	$48, DI
    	JMP	diff16
    diff48:
    	ADDQ	$32, SI
    	ADDQ	$32, DI
    	JMP	diff16
    diff32:
    	ADDQ	$16, SI
    	ADDQ	$16, DI
    	// AX = bit mask of differences
    diff16:
    	BSFQ	AX, BX	// index of first byte that differs
    	XORQ	AX, AX
    	MOVB	(SI)(BX*1), CX
    	CMPB	CX, (DI)(BX*1)
    	SETHI	AX
    	LEAQ	-1(AX*2), AX	// convert 1/0 to +1/-1
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top