Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 196 for MASK (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/util.go

    //	10.0.0.1/24 and 10.0.0.0/25 are not the same subnet.
    func IPNetEqual(ipnet1, ipnet2 *net.IPNet) bool {
    	if ipnet1 == nil || ipnet2 == nil {
    		return false
    	}
    	if reflect.DeepEqual(ipnet1.Mask, ipnet2.Mask) && ipnet1.Contains(ipnet2.IP) && ipnet2.Contains(ipnet1.IP) {
    		return true
    	}
    	return false
    }
    
    // Returns if the given err is "connection reset by peer" error.
    func IsConnectionReset(err error) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void accessEntry(int index) {
        if (accessOrder) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/crypto/sha1/sha1.go

    	separator := byte(0x80) // gets reset to 0x00 once used
    	for i := byte(0); i < chunk; i++ {
    		mask := byte(int8(i-nx) >> 7) // 0x00 after the end of data
    
    		// if we reached the end of the data, replace with 0x80 or 0x00
    		d.x[i] = (^mask & separator) | (mask & d.x[i])
    
    		// zero the separator once used
    		separator &= mask
    
    		if i >= 56 {
    			// we might have to write the length here if all fit in one block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/text/secure/bidirule/bidirule.go

    		t.seen |= c
    		if t.seen&exclusiveRTL == exclusiveRTL {
    			t.state = ruleInvalid
    			return n, false
    		}
    		switch tr := transitions[t.state]; {
    		case tr[0].mask&c != 0:
    			t.state = tr[0].next
    		case tr[1].mask&c != 0:
    			t.state = tr[1].next
    		default:
    			t.state = ruleInvalid
    			if t.isRTL() {
    				return n, false
    			}
    		}
    		n += sz
    	}
    	return n, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/math/big/decimal.go

    	// read a digit, write a digit
    	w := 0 // write index
    	mask := Word(1)<<s - 1
    	for r < len(x.mant) {
    		ch := Word(x.mant[r])
    		r++
    		d := n >> s
    		n &= mask // n -= d << s
    		x.mant[w] = byte(d + '0')
    		w++
    		n = n*10 + ch - '0'
    	}
    
    	// write extra digits that still fit
    	for n > 0 && w < len(x.mant) {
    		d := n >> s
    		n &= mask
    		x.mant[w] = byte(d + '0')
    		w++
    		n = n * 10
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 22:45:29 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go

    		if _, found := result[key]; !found {
    			quantity := value.DeepCopy()
    			quantity.Neg()
    			result[key] = quantity
    		}
    	}
    	return result
    }
    
    // Mask returns a new resource list that only has the values with the specified names
    func Mask(resources corev1.ResourceList, names []corev1.ResourceName) corev1.ResourceList {
    	nameSet := ToSet(names)
    	result := corev1.ResourceList{}
    	for key, value := range resources {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 06 23:11:22 UTC 2021
    - 8.7K 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