Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for Fmask (0.05 sec)

  1. src/cmd/compile/internal/inline/inlheur/scoring.go

    				score, tmask = adjustScore(mayadj, score, tmask)
    			}
    			if pflag&ParamFeedsIndirectCall != 0 {
    				score, tmask = adjustScore(mustadj, score, tmask)
    			}
    		}
    	}
    
    	cs.Score, cs.ScoreMask = score, tmask
    }
    
    func adjustScore(typ scoreAdjustTyp, score int, mask scoreAdjustTyp) (int, scoreAdjustTyp) {
    
    	if isMust(typ) {
    		if mask&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)
  2. src/runtime/signal_unix.go

    // After this is called the thread can receive signals.
    func minitSignalMask() {
    	nmask := getg().m.sigmask
    	for i := range sigtable {
    		if !blockableSig(uint32(i)) {
    			sigdelset(&nmask, i)
    		}
    	}
    	sigprocmask(_SIG_SETMASK, &nmask, nil)
    }
    
    // unminitSignals is called from dropm, via unminit, to undo the
    // effect of calling minit on a non-Go thread.
    //
    //go:nosplit
    func unminitSignals() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. src/syscall/syscall_solaris.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: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. pkg/util/iptree/iptree.go

    		max = l
    	}
    
    	mask := 0
    	for i := range bytesA {
    		xor := bytesA[i] ^ bytesB[i]
    		if xor == 0 {
    			bytes[i] = bytesA[i]
    			mask += 8
    
    		} else {
    			pos := bits.LeadingZeros8(xor)
    			mask += pos
    			// mask off the non leading zeros
    			bytes[i] = bytesA[i] & (^uint8(0) << (8 - pos))
    			break
    		}
    	}
    	if mask > max {
    		mask = max
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. src/net/ip_test.go

    	{IPNet{IP: v6addr, Mask: v4mappedv6mask}, IPNet{IP: v6addr, Mask: v4mappedv6mask}},
    	{in: IPNet{IP: v6addr, Mask: v4mask}},
    	{in: IPNet{IP: v4addr, Mask: badmask}},
    	{in: IPNet{IP: v4mappedv6addr, Mask: badmask}},
    	{in: IPNet{IP: v6addr, Mask: badmask}},
    	{in: IPNet{IP: badaddr, Mask: v4mask}},
    	{in: IPNet{IP: badaddr, Mask: v4mappedv6mask}},
    	{in: IPNet{IP: badaddr, Mask: v6mask}},
    	{in: IPNet{IP: badaddr, Mask: badmask}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. src/net/ip.go

    		}
    	}
    	return true
    }
    
    // Mask returns the result of masking the IP address ip with mask.
    func (ip IP) Mask(mask IPMask) IP {
    	if len(mask) == IPv6len && len(ip) == IPv4len && allFF(mask[:12]) {
    		mask = mask[12:]
    	}
    	if len(mask) == IPv4len && len(ip) == IPv6len && bytealg.Equal(ip[:12], v4InV6Prefix) {
    		ip = ip[12:]
    	}
    	n := len(ip)
    	if n != len(mask) {
    		return nil
    	}
    	out := make(IP, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_LWP_SETAFFINITY        = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); }
    	SYS_LWP_GETAFFINITY        = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); }
    	SYS_LWP_CREATE2            = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); }
    	SYS_GETCPUCLOCKID          = 547 // { int getcpuclockid(pid_t pid, lwpid_t lwp_id, clockid_t *clock_id); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
            mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex);
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    	}{
    		// dual-stack:
    		{"dual IPv4 only, but mask too small. Default node-mask", "10.0.0.16/29", nil, false},
    		{"dual IPv4 only, but mask too small. Configured node-mask", "10.0.0.16/24", []kubeadmapi.Arg{{Name: "node-cidr-mask-size-ipv4", Value: "23"}}, false},
    		{"dual IPv6 only, but mask too small. Default node-mask", "2001:db8::1/112", nil, false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. 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)
Back to top