Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 196 for MASK (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/crypto/internal/edwards25519/field/_asm/fe_amd64_asm.go

    	out = r.hi
    	lo = r.lo
    	SHLQ(Imm(64-51), r.lo, r.hi)
    	r.lo, r.hi = nil, nil // make sure the uint128 is unusable
    	return
    }
    
    // maskAndAdd sets r = r&mask + c*i.
    func maskAndAdd(r, mask, c GPVirtual, i uint64) {
    	ANDQ(mask, r)
    	if i != 1 {
    		IMUL3Q(Imm(i), c, c)
    	}
    	ADDQ(c, r)
    }
    
    func mustAddr(c Component) Op {
    	b, err := c.Resolve()
    	if err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_arm.go

    	uaddr := uintptr(unsafe.Pointer(addr))
    	addr32 := (*uint32)(unsafe.Pointer(uaddr &^ 3))
    	word := uint32(v) << ((uaddr & 3) * 8)    // little endian
    	mask := uint32(0xFF) << ((uaddr & 3) * 8) // little endian
    	word |= ^mask
    	for {
    		old := *addr32
    		if Cas(addr32, old, old&word) {
    			return
    		}
    	}
    }
    
    //go:nosplit
    func Or(addr *uint32, v uint32) {
    	for {
    		old := *addr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/options/validation.go

    	// bigger cidr (specially those offered by IPv6) will add no value
    	// significantly increase snapshotting time.
    	var ones, bits = cidr.Mask.Size()
    	if bits-ones > maxCIDRBits {
    		return fmt.Errorf("specified %s is too large; for %d-bit addresses, the mask must be >= %d", cidrFlag, bits, bits-maxCIDRBits)
    	}
    
    	return nil
    }
    
    func validateServiceNodePort(options Extra) []error {
    	var errs []error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. cmd/peer-rest-common.go

    	peerRESTReleaseInfo = "releaseinfo"
    
    	peerRESTListenBucket = "bucket"
    	peerRESTListenPrefix = "prefix"
    	peerRESTListenSuffix = "suffix"
    	peerRESTListenEvents = "events"
    	peerRESTLogMask      = "log-mask"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/util/internal/AntUtil.java

        }
    
        /**
         * Masks a string against Ant property expansion.
         * This needs to be used when adding a File as String property
         * via {@link groovy.ant.AntBuilder}.
         * @param string to mask
         * @return The masked String
         */
        public static String maskFilename(String string) {
                return string.replaceAll("\\$", "\\$\\$");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:48 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top