Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 487 for MASK (0.03 sec)

  1. src/cmd/cgo/internal/testcshared/testdata/main4.c

    // Signal handler for SIGSEGV on a C thread.
    static void segvHandler(int signo, siginfo_t* info, void* ctxt) {
    	sigset_t mask;
    	int i;
    
    	if (sigemptyset(&mask) < 0) {
    		die("sigemptyset");
    	}
    	if (sigaddset(&mask, SIGSEGV) < 0) {
    		die("sigaddset");
    	}
    	i = sigprocmask(SIG_UNBLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "sigprocmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// AVX2GATHER mask/index/dest #UD cases.
    	VPGATHERQQ Y2, (BP)(X2*2), Y2   // ERROR "mask, index, and destination registers should be distinct"
    	VPGATHERQQ Y2, (BP)(X2*2), Y7   // ERROR "mask, index, and destination registers should be distinct"
    	VPGATHERQQ Y2, (BP)(X7*2), Y2   // ERROR "mask, index, and destination registers should be distinct"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/net/interface_aix.go

    						nmsa := (*syscall.RawSockaddrInet6)(unsafe.Pointer(nmrsa))
    						ip = make(IP, IPv6len)
    						copy(ip, ipsa.Addr[:])
    						mask = make(IPMask, IPv6len)
    						copy(mask, nmsa.Addr[:])
    					}
    					ifa := &IPNet{IP: ip, Mask: mask}
    					ifat = append(ifat, ifa)
    				}
    			}
    		}
    		tab = tab[ifm.Msglen:]
    	}
    
    	return ifat, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. src/runtime/sigqueue.go

    		sig.delivering.Add(-1)
    		return false
    	}
    
    	// Add signal to outgoing queue.
    	for {
    		mask := sig.mask[s/32]
    		if mask&bit != 0 {
    			sig.delivering.Add(-1)
    			return true // signal already in queue
    		}
    		if atomic.Cas(&sig.mask[s/32], mask, mask|bit) {
    			break
    		}
    	}
    
    	// Notify receiver that queue has new bit.
    Send:
    	for {
    		switch sig.state.Load() {
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/inspector.go

    	// features seem to contribute similar slowdowns (~1.4x each).
    
    	mask := maskOf(types)
    	for i := 0; i < len(in.events); {
    		ev := in.events[i]
    		if ev.index > i {
    			// push
    			if ev.typ&mask != 0 {
    				f(ev.node)
    			}
    			pop := ev.index
    			if in.events[pop].typ&mask == 0 {
    				// Subtrees do not contain types: skip them and pop.
    				i = pop + 1
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. src/internal/abi/switch.go

    	// Array of NCases elements.
    	// Each case must be a non-empty interface type.
    	Cases [1]*InterfaceType
    }
    
    type InterfaceSwitchCache struct {
    	Mask    uintptr                      // mask for index. Must be a power of 2 minus 1
    	Entries [1]InterfaceSwitchCacheEntry // Mask+1 entries total
    }
    
    type InterfaceSwitchCacheEntry struct {
    	// type of source value (a *Type)
    	Typ uintptr
    	// case # to dispatch to
    	Case int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. 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
    - 24.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top