Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 213 for mask1 (0.06 sec)

  1. src/runtime/os_linux_be64.go

    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	if i > 64 {
    		throw("unexpected signal greater than 64")
    	}
    	*mask |= 1 << (uint(i) - 1)
    }
    
    func sigdelset(mask *sigset, i int) {
    	if i > 64 {
    		throw("unexpected signal greater than 64")
    	}
    	*mask &^= 1 << (uint(i) - 1)
    }
    
    //go:nosplit
    func sigfillset(mask *uint64) {
    	*mask = ^uint64(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 01:56:24 UTC 2022
    - 806 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy

                        }
                    }
                }
                project(':b') {
                    task task1 {
                        doLast {
                            ${callFromBuild('task1')}
                        }
                    }
                    task task2 {
                        dependsOn task1
                        doLast {
                            ${callFromBuild('task2')}
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.1K 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. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/ssa/magic_test.go

    			continue
    		}
    		k := udivisible(n, int64(c)).k
    		m := udivisible(n, int64(c)).m
    		max := udivisible(n, int64(c)).max
    		mask := ^uint64(0) >> (64 - n)
    		for i := uint64(0); i < maxU; i++ {
    			want := i%c == 0
    			mul := (i * m) & mask
    			rot := (mul>>uint(k) | mul<<(n-uint(k))) & mask
    			got := rot <= max
    			if want != got {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 22:02:07 UTC 2019
    - 9.1K bytes
    - Viewed (0)
Back to top