- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 255 for mask2 (0.06 sec)
-
internal/pubsub/pubsub_test.go
ch3 := make(chan Maskable, 1) doneCh := make(chan struct{}) defer close(doneCh) // Mask matches maskString, should get result if err := ps.Subscribe(Mask(1), ch1, doneCh, func(entry Maskable) bool { return true }); err != nil { t.Fatalf("unexpected error: %v", err) } // Mask matches maskString, should get result if err := ps.Subscribe(Mask(1|2), ch2, doneCh, func(entry Maskable) bool { return true }); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
static int getHashPrefix(int value, int mask) { return value & ~mask; } /** Returns the index, or 0 if the entry is "null". */ static int getNext(int entry, int mask) { return entry & mask; } /** Returns a new value combining the prefix and suffix using the given mask. */ static int maskCombine(int prefix, int suffix, int mask) { return (prefix & ~mask) | (suffix & mask); } static int remove(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Aug 02 21:41:22 UTC 2021 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/testdata/props/acrosscall.go
// <endcallsites> // <endfuncpreamble> func T_feeds_if_via_call(x int) { feedsif(x) } // acrosscall.go T_feeds_if_via_call_conditional 69 0 1 // ParamFlags // 0 ParamMayFeedIfOrSwitch // <endpropsdump> // {"Flags":0,"ParamFlags":[64],"ResultFlags":null} // callsite: acrosscall.go:71:10|0 flagstr "" flagval 0 score 8 mask 0 maskstr "" // <endcallsites>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 5.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_freebsd_sigaction.c
} else { oldgoact->handler = (uintptr_t)(oldact.sa_handler); } for (i = 0 ; i < _SIG_WORDS; i++) { oldgoact->mask.__bits[i] = 0; } for (i = 0; i < 8 * sizeof(oldgoact->mask); i++) { if (sigismember(&oldact.sa_mask, i+1) == 1) { oldgoact->mask.__bits[i/32] |= (uint32_t)(1)<<(i&31); } } oldgoact->flags = oldact.sa_flags; } _cgo_tsan_release(); return ret;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 2K bytes - Viewed (0) -
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) -
src/cmd/compile/internal/ssa/rewrite_test.go
} for i, v := range tests { result := encodePPC64RotateMask(v.rotate, int64(v.mask), v.nbits) if result != v.encoded { t.Errorf("encodePPC64RotateMask(%d,0x%x,%d) = 0x%x, expected 0x%x", v.rotate, v.mask, v.nbits, result, v.encoded) } rotate, mb, me, mask := DecodePPC64RotateMask(result) if rotate != v.rotate || mb != v.mb || me != v.me || mask != v.mask {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 21:57:02 UTC 2021 - 6.9K bytes - Viewed (0) -
src/cmd/compile/internal/types/utils.go
// license that can be found in the LICENSE file. package types const BADWIDTH = -1000000000 type bitset8 uint8 func (f *bitset8) set(mask uint8, b bool) { if b { *(*uint8)(f) |= mask } else { *(*uint8)(f) &^= mask }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 29 09:57:31 UTC 2020 - 339 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/DefaultPublishArtifactTest.groovy
def "init"() { given: def task1 = Mock(Task) def task2 = Mock(Task) when: def publishArtifact = new DefaultPublishArtifact(testName, testExt, testType, testClassifier, date, testFile, task1, task2) then: publishArtifact.buildDependencies.getDependencies(null) == [task1, task2] as Set assertCommonPropertiesAreSet(publishArtifact, true) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 15:34:51 UTC 2016 - 1.9K bytes - Viewed (0) -
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)