Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for maskOf (0.11 sec)

  1. src/runtime/signal_unix.go

    	maskUpdatedChan = make(chan struct{})
    	disableSigChan = make(chan uint32)
    	enableSigChan = make(chan uint32)
    	go func() {
    		// Signal masks are per-thread, so make sure this goroutine stays on one
    		// thread.
    		LockOSThread()
    		defer UnlockOSThread()
    		// The sigBlocked mask contains the signals not active for os/signal,
    		// initially all signals except the essential. When signal.Notify()/Stop is called,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/obj9.go

    }
    
    // Encode a doubleword rotate mask into mb (mask begin) and
    // me (mask end, inclusive). Note, POWER ISA labels bits in
    // big endian order.
    func encodePPC64RLDCMask(mask int64) (mb, me int) {
    	// Determine boundaries and then decode them
    	mb = bits.LeadingZeros64(uint64(mask))
    	me = 64 - bits.TrailingZeros64(uint64(mask))
    	mbn := bits.LeadingZeros64(^uint64(mask))
    	men := 64 - bits.TrailingZeros64(^uint64(mask))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. internal/pubsub/pubsub_test.go

    	ch3 := make(chan Maskable, 1)
    	doneCh := make(chan struct{})
    	defer close(doneCh)
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1), ch1, doneCh, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1|2), ch2, doneCh, func(entry Maskable) bool { return true }); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/sync/atomic/doc.go

    func AndUint32(addr *uint32, mask uint32) (old uint32)
    
    // AndInt64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old value.
    // Consider using the more ergonomic and less error-prone [Int64.And] instead.
    func AndInt64(addr *int64, mask int64) (old int64)
    
    // AndUint64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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