Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 288 for MASK (0.04 sec)

  1. internal/event/name.go

    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    	if name < objectSingleTypesEnd {
    		return 1 << (name - 1)
    	}
    	var mask uint64
    	for _, n := range name.Expand() {
    		mask |= 1 << (n - 1)
    	}
    	return mask
    }
    
    // String - returns string representation of event type.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        in 'a'..'f' -> this - 'a' + 10
        in 'A'..'F' -> this - 'A' + 10
        else -> -1
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    @Throws(IOException::class)
    internal fun BufferedSink.writeMedium(medium: Int) {
      writeByte(medium.ushr(16) and 0xff)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/policy_static.go

    	hints := map[string][]topologymanager.TopologyHint{}
    	bitmask.IterateBitMasks(numaNodes, func(mask bitmask.BitMask) {
    		maskBits := mask.GetBits()
    		singleNUMAHint := len(maskBits) == 1
    
    		totalFreeSize := map[v1.ResourceName]uint64{}
    		totalAllocatableSize := map[v1.ResourceName]uint64{}
    		// calculate total free and allocatable memory for the node mask
    		for _, nodeID := range maskBits {
    			for resourceName := range requestedResources {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/riscv/cpu.go

    	// ITypeImmMask is a mask including only the immediate portion of
    	// I-type instructions.
    	ITypeImmMask = 0xfff00000
    
    	// JTypeImmMask is a mask including only the immediate portion of
    	// J-type instructions.
    	JTypeImmMask = 0xfffff000
    
    	// STypeImmMask is a mask including only the immediate portion of
    	// S-type instructions.
    	STypeImmMask = 0xfe000f80
    
    	// UTypeImmMask is a mask including only the immediate portion of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/runtime/race.go

    //go:linkname abigen_sync_atomic_OrInt64 sync/atomic.OrInt64
    func abigen_sync_atomic_OrInt64(addr *int64, mask int64) (old int64)
    
    //go:linkname abigen_sync_atomic_OrUint64 sync/atomic.OrUint64
    func abigen_sync_atomic_OrUint64(addr *uint64, mask uint64) (old uint64)
    
    //go:linkname abigen_sync_atomic_OrUintptr sync/atomic.OrUintptr
    func abigen_sync_atomic_OrUintptr(addr *uintptr, mask uintptr) (old uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    	// Considering only the top 4 bits, the conditional instructions use mask=0, value=0,
    	// while the unconditional instructions use mask=f, value=f.
    	// Prepare a version of x with the condition cleared to 0 in conditional instructions
    	// and then assume mask=f during matching.
    	const condMask = 0xf0000000
    	xNoCond := x
    	if x&condMask != condMask {
    		xNoCond &^= condMask
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  7. src/os/signal/doc.go

    the SIGPROF signal in particular.
    
    The non-Go code should not change the signal mask on any threads
    created by the Go runtime. If the non-Go code starts new threads
    itself, those threads may set the signal mask as they please.
    
    If the non-Go code starts a new thread, changes the signal mask, and
    then invokes a Go function in that thread, the Go runtime will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/HashBiMap.java

        this.lastInKeyInsertionOrder = null;
        this.size = 0;
        this.mask = tableSize - 1;
        this.modCount = 0;
      }
    
      /**
       * Finds and removes {@code entry} from the bucket linked lists in both the key-to-value direction
       * and the value-to-key direction.
       */
      private void delete(BiEntry<K, V> entry) {
        int keyBucket = entry.keyHash & mask;
        BiEntry<K, V> prevBucketEntry = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	killed  = 9
    	stopped = 0x7F
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) ExitStatus() int {
    	if w&mask != exited {
    		return -1
    	}
    	return int(w >> shift)
    }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. pkg/api/v1/pod/util_test.go

    			wantContainers: []string{"i1", "i2", "c1", "c2", "e1", "e2"},
    			mask:           AllContainers,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    			if tc.mask == setAllFeatureEnabledContainersDuringTest {
    				tc.mask = AllFeatureEnabledContainers()
    			}
    
    			gotContainers := []string{}
    			VisitContainers(tc.spec, tc.mask, func(c *v1.Container, containerType ContainerType) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
Back to top