Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 602 for mask1 (0.04 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy

            given:
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            set.srcDir dir("dir1", task1)
            set.srcDir dir("dir2", task2)
    
            expect:
            dependencies(set) == [task1, task2] as Set
            dependencies(set.sourceDirectories) == [task1, task2] as Set
            dependencies(set.asFileTree) == [task1, task2] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/obj9.go

    }
    
    // Encode a doubleword rotate mask into mb (mask begin) and
    // me (mask end, inclusive). Note, POWER ISA labels bits in
    // big endian order.
    func encodePPC64RLDCMask(mask int64) (mb, me int) {
    	// Determine boundaries and then decode them
    	mb = bits.LeadingZeros64(uint64(mask))
    	me = 64 - bits.TrailingZeros64(uint64(mask))
    	mbn := bits.LeadingZeros64(^uint64(mask))
    	men := 64 - bits.TrailingZeros64(^uint64(mask))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactoryTest.groovy

            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def provider = Mock(ProviderInternal)
            def value = Mock(RegularFile)
            def file1 = new File("classes-1.zip")
    
            _ * provider.get() >> value
            _ * value.getAsFile() >> file1
            _ * provider.visitDependencies(_) >> { TaskDependencyResolveContext context -> context.add(task1); context.add(task2) }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K 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