Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 153 for MASK (0.1 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java

            Function1<?, ?> action,
            @KotlinDefaultMask int mask,
            @CallerClassName String consumer
        ) throws Throwable {
            Instrumented.fileOpened(self, consumer);
            if (mask == 0) {
                FilesKt.forEachLine(self, charset, Cast.uncheckedNonnullCast(action));
            } else {
                invokeKotlinStaticDefault(FOR_EACH_LINE_DEFAULT, mask, self, charset, action);
            }
        }
    
        @InterceptCalls
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. src/runtime/gcinfo_test.go

    		// may be larger than we expect.
    		return
    	}
    	t.Errorf("bad GC program for %v:\nwant %+v\ngot  %+v", name, mask0, mask)
    }
    
    func trimDead(mask []byte) []byte {
    	for len(mask) > 0 && mask[len(mask)-1] == typeScalar {
    		mask = mask[:len(mask)-1]
    	}
    	return mask
    }
    
    var infoPtr = []byte{typePointer}
    
    type Ptr struct {
    	*byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/bitset.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ir
    
    type bitset8 uint8
    
    func (f *bitset8) set(mask uint8, b bool) {
    	if b {
    		*(*uint8)(f) |= mask
    	} else {
    		*(*uint8)(f) &^= mask
    	}
    }
    
    func (f bitset8) get2(shift uint8) uint8 {
    	return uint8(f>>shift) & 3
    }
    
    // set2 sets two bits in f using the bottom two bits of b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:03:56 UTC 2022
    - 734 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top