Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 660 for mask8 (0.22 sec)

  1. 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)
  2. src/net/http/sniff.go

    	&maskedSig{
    		mask: []byte("\xFF\xFF\xFF\xFF\x00\x00\x00\x00\xFF\xFF\xFF\xFF"),
    		pat:  []byte("FORM\x00\x00\x00\x00AIFF"),
    		ct:   "audio/aiff",
    	},
    	&maskedSig{
    		mask: []byte("\xFF\xFF\xFF"),
    		pat:  []byte("ID3"),
    		ct:   "audio/mpeg",
    	},
    	&maskedSig{
    		mask: []byte("\xFF\xFF\xFF\xFF\xFF"),
    		pat:  []byte("OggS\x00"),
    		ct:   "application/ogg",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 21:51:06 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  3. src/sync/atomic/doc.go

    func AndUint32(addr *uint32, mask uint32) (old uint32)
    
    // AndInt64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old value.
    // Consider using the more ergonomic and less error-prone [Int64.And] instead.
    func AndInt64(addr *int64, mask int64) (old int64)
    
    // AndUint64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top