Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 153 for MASK (0.04 sec)

  1. src/internal/bytealg/compare_386.s

    	JEQ	allsame
    
    diff4:
    	BSWAPL	BX	// reverse order of bytes
    	BSWAPL	CX
    	XORL	BX, CX	// find bit differences
    	BSRL	CX, CX	// index of highest bit difference
    	SHRL	CX, BX	// move a's bit to bottom
    	ANDL	$1, BX	// mask bit
    	LEAL	-1(BX*2), BX // 1/0 => +1/-1
    	MOVL	BX, (AX)
    	RET
    
    	// 0-3 bytes in common
    small:
    	LEAL	(BP*8), CX
    	NEGL	CX
    	JEQ	allsame
    
    	// load si
    	CMPB	SI, $0xfc
    	JA	si_high
    	MOVL	(SI), SI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  2. src/math/floor.go

    	//
    	// func Round(x float64) float64 {
    	//   t := Trunc(x)
    	//   if Abs(x-t) >= 0.5 {
    	//     return t + Copysign(1, x)
    	//   }
    	//   return t
    	// }
    	bits := Float64bits(x)
    	e := uint(bits>>shift) & mask
    	if e < bias {
    		// Round abs(x) < 1 including denormals.
    		bits &= signMask // +-0
    		if e == bias-1 {
    			bits |= uvone // +-1
    		}
    	} else if e < bias+shift {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) {
        super.insertEntry(entryIndex, object, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void moveLastEntry(int dstIndex, int mask) {
        int srcIndex = size() - 1;
        super.moveLastEntry(dstIndex, mask);
    
        setSucceeds(getPredecessor(dstIndex), getSuccessor(dstIndex));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 21:38:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

      void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) {
        super.insertEntry(entryIndex, object, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void moveLastEntry(int dstIndex, int mask) {
        int srcIndex = size() - 1;
        super.moveLastEntry(dstIndex, mask);
    
        setSucceeds(getPredecessor(dstIndex), getSuccessor(dstIndex));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 21:38:59 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/options.go

    // DefaultServiceIPCIDR is a CIDR notation of IP range from which to allocate service cluster IPs
    var DefaultServiceIPCIDR = net.IPNet{IP: netutils.ParseIPSloppy("10.0.0.0"), Mask: net.CIDRMask(24, 32)}
    
    // DefaultEtcdPathPrefix is the default key prefix of etcd for API Server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. src/syscall/const_plan9.go

    // Plan 9 Constants
    
    // Open modes
    const (
    	O_RDONLY  = 0
    	O_WRONLY  = 1
    	O_RDWR    = 2
    	O_TRUNC   = 16
    	O_CLOEXEC = 32
    	O_EXCL    = 0x1000
    )
    
    // Bind flags
    const (
    	MORDER  = 0x0003 // mask for bits defining order of mounting
    	MREPL   = 0x0000 // mount replaces object
    	MBEFORE = 0x0001 // mount goes before others in union directory
    	MAFTER  = 0x0002 // mount goes after others in union directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. src/math/logb.go

    		return MaxInt32
    	}
    	return ilogb(x)
    }
    
    // ilogb returns the binary exponent of x. It assumes x is finite and
    // non-zero.
    func ilogb(x float64) int {
    	x, exp := normalize(x)
    	return int((Float64bits(x)>>shift)&mask) - bias + exp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 19:46:45 UTC 2022
    - 1021 bytes
    - Viewed (0)
  8. src/net/interface_windows.go

    				}
    				switch sa := sa.(type) {
    				case *syscall.SockaddrInet4:
    					ifat = append(ifat, &IPNet{IP: IPv4(sa.Addr[0], sa.Addr[1], sa.Addr[2], sa.Addr[3]), Mask: CIDRMask(int(puni.OnLinkPrefixLength), 8*IPv4len)})
    				case *syscall.SockaddrInet6:
    					ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(puni.OnLinkPrefixLength), 8*IPv6len)}
    					copy(ifa.IP, sa.Addr[:])
    					ifat = append(ifat, ifa)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 10:25:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/math/modf.go

    		switch {
    		case f < 0:
    			int, frac = Modf(-f)
    			return -int, -frac
    		case f == 0:
    			return f, f // Return -0, -0 when f == -0
    		}
    		return 0, f
    	}
    
    	x := Float64bits(f)
    	e := uint(x>>shift)&mask - bias
    
    	// Keep the top 12+e bits, the integer part; clear the rest.
    	if e < 64-12 {
    		x &^= 1<<(64-12-e) - 1
    	}
    	int = Float64frombits(x)
    	frac = f - int
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 913 bytes
    - Viewed (0)
  10. src/cmd/go/go_unix_test.go

    	"os/exec"
    	"slices"
    	"strings"
    	"syscall"
    	"testing"
    )
    
    func TestGoBuildUmask(t *testing.T) {
    	// Do not use tg.parallel; avoid other tests seeing umask manipulation.
    	mask := syscall.Umask(0077) // prohibit low bits
    	defer syscall.Umask(mask)
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.tempFile("x.go", `package main; func main() {}`)
    
    	// We have set a umask, but if the parent directory happens to have a default
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 16:17:55 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top