Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 258 for maskOf (0.15 sec)

  1. src/net/interface_plan9.go

    			}
    			if ip.To16() != nil && ip.To4() == nil { // IPv6 address
    				mask = CIDRMask(pfxlen, 8*IPv6len)
    			}
    
    			addrs = append(addrs, &IPNet{IP: ip, Mask: mask})
    		}
    	}
    
    	return addrs, nil
    }
    
    // interfaceMulticastAddrTable returns addresses for a specific
    // interface.
    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    			// So we double the cost of parsing the string.
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * 2 * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "masked", "prefixLength", "family", "isUnspecified", "isLoopback", "isLinkLocalMulticast", "isLinkLocalUnicast":
    		// IP and CIDR accessors are nominal cost.
    		cost := uint64(1)
    		return &cost
    	case "containsIP":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. src/internal/bytealg/count_amd64.s

    	ANDQ $15, BX
    	JZ end
    
    	// Create mask to ignore overlap between previous 16 byte block
    	// and the next.
    	MOVQ $16,CX
    	SUBQ BX, CX
    	MOVQ $0xFFFF, R10
    	SARQ CL, R10
    	SALQ CL, R10
    
    	// Process the last 16-byte chunk. This chunk may overlap with the
    	// chunks we've already searched so we need to mask part of it.
    	MOVOU	(AX), X1
    	PCMPEQB	X0, X1
    	PMOVMSKB X1, DX
    	// Apply mask
    	ANDQ R10, DX
    	POPCNTL DX, DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/net/netip/inlining_test.go

    		"Addr.Zone",
    		"Addr.v4",
    		"Addr.v6",
    		"Addr.v6u16",
    		"Addr.withoutZone",
    		"AddrPortFrom",
    		"AddrPort.Addr",
    		"AddrPort.Port",
    		"AddrPort.IsValid",
    		"Prefix.IsSingleIP",
    		"Prefix.Masked",
    		"Prefix.IsValid",
    		"PrefixFrom",
    		"Prefix.Addr",
    		"Prefix.Bits",
    		"AddrFrom4",
    		"IPv6LinkLocalAllNodes",
    		"IPv6Unspecified",
    		"MustParseAddr",
    		"MustParseAddrPort",
    		"MustParsePrefix",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/crypto/internal/mlkem768/mlkem768.go

    		u[i] = ringDecodeAndDecompress10(b)
    	}
    
    	b := (*[encodingSize4]byte)(c[encodingSize10*k:])
    	v := ringDecodeAndDecompress4(b)
    
    	var mask nttElement // s⊺ ◦ NTT(u)
    	for i := range dx.s {
    		mask = polyAdd(mask, nttMul(dx.s[i], ntt(u[i])))
    	}
    	w := polySub(v, inverseNTT(mask))
    
    	return ringCompressAndEncode1(nil, w)
    }
    
    // fieldElement is an integer modulo q, an element of ℤ_q. It is always reduced.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/regalloc.go

    }
    
    // allocReg chooses a register from the set of registers in mask.
    // If there is no unused register, a Value will be kicked out of
    // a register to make room.
    func (s *regAllocState) allocReg(mask regMask, v *Value) register {
    	if v.OnWasmStack {
    		return noRegister
    	}
    
    	mask &= s.allocatable
    	mask &^= s.nospill
    	if mask == 0 {
    		s.f.Fatalf("no register available for %s", v.LongString())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/idna/trie13.0.0.go

    	if c&xorBit == 0 {
    		p := index
    		return append(b, mappings[mappingIndex[p]:mappingIndex[p+1]]...)
    	}
    	b = append(b, s...)
    	if c&inlineXOR == inlineXOR {
    		// TODO: support and handle two-byte inline masks
    		b[len(b)-1] ^= byte(index)
    	} else {
    		for p := len(b) - int(xorData[index]); p < len(b); p++ {
    			index++
    			b[p] ^= xorData[index]
    		}
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 872 bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.webSocket!!.close(1000, "Hello")
        server.processNextFrame()
        // Not closed until close reply is received.
        assertThat(client.closed).isFalse()
    
        // Manually write an invalid masked close frame.
        server.sink.write("888760b420bb635c68de0cd84f".decodeHex()).emit()
        client.processNextFrame() // Detects error, disconnects immediately since close already sent.
        client.webSocket!!.finishReader()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/library/library_compatibility_test.go

    		// Kubernetes <1.30>:
    		"ip", "family", "isUnspecified", "isLoopback", "isLinkLocalMulticast", "isLinkLocalUnicast", "isGlobalUnicast", "ip.isCanonical", "isIP", "cidr", "containsIP", "containsCIDR", "masked", "prefixLength", "isCIDR", "string",
    		// Kubernetes <1.??>:
    	)
    
    	// TODO: test celgo function lists
    
    	unexpected := functionNames.Difference(knownFunctions)
    	missing := knownFunctions.Difference(functionNames)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

          padded_val.push_back(padding_val[i]);
          if (mask) *mask |= 1 << i;
        }
      }
    
      LogicalResult matchAndRewrite(Operation *op,
                                    PatternRewriter &rewriter) const override {
        TF::StridedSliceOp strided_slice_op = llvm::cast<TF::StridedSliceOp>(op);
    
        // Handle ellipsis mask.
        if (strided_slice_op.getEllipsisMask() != 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
Back to top