Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 414 for MASK (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/syscall/syscall_bsd.go

    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	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: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/syscall_windows_test.go

    	}
    }
    
    // removeOneCPU removes one (any) cpu from affinity mask.
    // It returns new affinity mask.
    func removeOneCPU(mask uintptr) (uintptr, error) {
    	if mask == 0 {
    		return 0, fmt.Errorf("cpu affinity mask is empty")
    	}
    	maskbits := int(unsafe.Sizeof(mask) * 8)
    	for i := 0; i < maskbits; i++ {
    		newmask := mask & ^(1 << uint(i))
    		if newmask != mask {
    			return newmask, nil
    		}
    
    	}
    	panic("not reached")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top