Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 153 for MASK (0.05 sec)

  1. cmd/kube-apiserver/app/options/completion_test.go

    		// Invalid ip range[0] IPv4 mask
    		{"192.0.2.1/33,192.168.128.0/17", "<nil>", "<nil>", "<nil>", true},
    		// Invalid ip range[1] IPv4 mask
    		{"192.0.2.1/24,192.168.128.0/33", "<nil>", "<nil>", "<nil>", true},
    		// Invalid ip range[0] IPv6 mask
    		{"2001:db2:1:3:4::1/129,192.0.2.1/24", "<nil>", "<nil>", "<nil>", true},
    		// Invalid ip range[1] IPv6 mask
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 26 13:20:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/net/interface_plan9.go

    			}
    			if ip.To16() != nil && ip.To4() == nil { // IPv6 address
    				mask = CIDRMask(pfxlen, 8*IPv6len)
    			}
    
    			addrs = append(addrs, &IPNet{IP: ip, Mask: mask})
    		}
    	}
    
    	return addrs, nil
    }
    
    // interfaceMulticastAddrTable returns addresses for a specific
    // interface.
    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/exec.go

    #include <signal.h>
    #include <pthread.h>
    
    // Save the signal mask at startup so that we see what it is before
    // the Go runtime starts setting up signals.
    
    static sigset_t mask;
    
    static void init(void) __attribute__ ((constructor));
    
    static void init() {
    	sigemptyset(&mask);
    	pthread_sigmask(SIG_SETMASK, NULL, &mask);
    }
    
    int SIGINTBlocked() {
    	return sigismember(&mask, SIGINT);
    }
    */
    import "C"
    
    import (
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. src/internal/bytealg/count_amd64.s

    	ANDQ $15, BX
    	JZ end
    
    	// Create mask to ignore overlap between previous 16 byte block
    	// and the next.
    	MOVQ $16,CX
    	SUBQ BX, CX
    	MOVQ $0xFFFF, R10
    	SARQ CL, R10
    	SALQ CL, R10
    
    	// Process the last 16-byte chunk. This chunk may overlap with the
    	// chunks we've already searched so we need to mask part of it.
    	MOVOU	(AX), X1
    	PCMPEQB	X0, X1
    	PMOVMSKB X1, DX
    	// Apply mask
    	ANDQ R10, DX
    	POPCNTL DX, DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_sigaction.c

    			oldgoact->handler = (uintptr_t)(oldact.sa_sigaction);
    		} else {
    			oldgoact->handler = (uintptr_t)(oldact.sa_handler);
    		}
    		oldgoact->mask = 0;
    		for (i = 0; i < 8 * sizeof(oldgoact->mask); i++) {
    			if (sigismember(&oldact.sa_mask, (int)(i+1)) == 1) {
    				oldgoact->mask |= (uint64_t)(1)<<i;
    			}
    		}
    		oldgoact->flags = (uint64_t)oldact.sa_flags;
    	}
    
    	_cgo_tsan_release();
    	return ret;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/SmallCharMatcher.java

            index = (index + 1) & mask;
          }
        }
        return new SmallCharMatcher(table, filter, containsZero, description);
      }
    
      @Override
      public boolean matches(char c) {
        if (c == 0) {
          return containsZero;
        }
        if (!checkFilter(c)) {
          return false;
        }
        int mask = table.length - 1;
        int startingIndex = smear(c) & mask;
        int index = startingIndex;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
      RegularImmutableSet(
          @Nullable Object[] elements, int hashCode, @Nullable Object[] table, int mask, int size) {
        this.elements = elements;
        this.hashCode = hashCode;
        this.table = table;
        this.mask = mask;
        this.size = size;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/net/interface_solaris.go

    	var ifat []Addr
    	for _, a := range as {
    		var ip IP
    		var mask IPMask
    		switch a := a.(type) {
    		case *lif.Inet4Addr:
    			ip = IPv4(a.IP[0], a.IP[1], a.IP[2], a.IP[3])
    			mask = CIDRMask(a.PrefixLen, 8*IPv4len)
    		case *lif.Inet6Addr:
    			ip = make(IP, IPv6len)
    			copy(ip, a.IP[:])
    			mask = CIDRMask(a.PrefixLen, 8*IPv6len)
    		}
    		ifat = append(ifat, &IPNet{IP: ip, Mask: mask})
    	}
    	return ifat, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    static void segvHandler(int signo, siginfo_t* info, void* ctxt) {
    	sigset_t mask;
    	int i;
    
    	// Call an arbitrary function that requires the stack to be properly aligned.
    	callWithVarargs("dummy arg", 3.1415);
    
    	if (sigemptyset(&mask) < 0) {
    		die("sigemptyset");
    	}
    	if (sigaddset(&mask, SIGSEGV) < 0) {
    		die("sigaddset");
    	}
    	i = sigprocmask(SIG_UNBLOCK, &mask, NULL);
    	if (i != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/math/bits.go

    func IsNaN(f float64) (is bool) {
    	// IEEE 754 says that only NaNs satisfy f != f.
    	// To avoid the floating-point hardware, could use:
    	//	x := Float64bits(f);
    	//	return uint32(x>>shift)&mask == mask && x != uvinf && x != uvneginf
    	return f != f
    }
    
    // IsInf reports whether f is an infinity, according to sign.
    // If sign > 0, IsInf reports whether f is positive infinity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top