- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 704 for mask2 (0.04 sec)
-
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) -
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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy
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 dependencies(set.matching {}) == [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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)