Home
last modified time | relevance | path

Searched +refs:any +refs:bits +refs:set (Results 1 – 25 of 53002) sorted by relevance

12345678910>>...2121

/dports/devel/boost-docs/boost_1_72_0/libs/compute/test/
H A Dtest_dynamic_bitset.cpp26 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
40 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
41 bits.set(8, queue); in BOOST_AUTO_TEST_CASE()
42 bits.set(129, queue); in BOOST_AUTO_TEST_CASE()
76 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
79 bits.set(1023, queue); in BOOST_AUTO_TEST_CASE()
80 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
84 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
87 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
88 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/compute/test/
H A Dtest_dynamic_bitset.cpp26 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
40 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
41 bits.set(8, queue); in BOOST_AUTO_TEST_CASE()
42 bits.set(129, queue); in BOOST_AUTO_TEST_CASE()
76 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
79 bits.set(1023, queue); in BOOST_AUTO_TEST_CASE()
80 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
84 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
87 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
88 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/compute/test/
H A Dtest_dynamic_bitset.cpp26 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
40 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
41 bits.set(8, queue); in BOOST_AUTO_TEST_CASE()
42 bits.set(129, queue); in BOOST_AUTO_TEST_CASE()
76 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
79 bits.set(1023, queue); in BOOST_AUTO_TEST_CASE()
80 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
84 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
87 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
88 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/compute/test/
H A Dtest_dynamic_bitset.cpp26 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
40 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
41 bits.set(8, queue); in BOOST_AUTO_TEST_CASE()
42 bits.set(129, queue); in BOOST_AUTO_TEST_CASE()
76 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
79 bits.set(1023, queue); in BOOST_AUTO_TEST_CASE()
80 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
84 BOOST_CHECK(bits.any(queue) == false); in BOOST_AUTO_TEST_CASE()
87 bits.set(1, queue); in BOOST_AUTO_TEST_CASE()
88 BOOST_CHECK(bits.any(queue) == true); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/security/snort/snort-2.9.18/doc/
H A DREADME.flowbits95 flowbits:isset, bits => Check whether any bit is set
96 flowbits:isset, bats => Check whether all bits are set
97 flowbits:isset, any, group => Check whether any bit in the group is set.
98 flowbits:isset, all, group => Check whether all bits in the group are set.
103 flowbits:isset, any, doc => If any bit in group doc is set, return true
112 flowbits:isnotset, bits => Check whether not any bit is set
113 flowbits:isnotset, bats => Check whether not all bits are set
114 flowbits:isnotset, any, group => Check whether not bit in the group is set.
120 flowbits:isnotset, any, doc => If any bit in group doc is set, return true
148 alert tcp any 143 -> any any (msg:"IMAP login"; content:"OK LOGIN"; flowbits:set,logged_in;)
[all …]
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/nix-0.9.0/src/sys/
H A Dselect.rs9 #[cfg(any(target_os = "macos", target_os = "ios"))]
13 bits: [i32; FD_SETSIZE as usize / 32] field
16 #[cfg(any(target_os = "macos", target_os = "ios"))]
19 #[cfg(not(any(target_os = "macos", target_os = "ios")))]
23 bits: [u64; FD_SETSIZE as usize / 64] field
26 #[cfg(not(any(target_os = "macos", target_os = "ios")))]
52 for bits in &mut self.bits { in clear()
53 *bits = 0 in clear()
76 let readfds = readfds.map(|set| set as *mut FdSet).unwrap_or(null_mut()); in select()
77 let writefds = writefds.map(|set| set as *mut FdSet).unwrap_or(null_mut()); in select()
[all …]
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/nix-0.9.0/src/sys/
H A Dselect.rs9 #[cfg(any(target_os = "macos", target_os = "ios"))]
13 bits: [i32; FD_SETSIZE as usize / 32] field
16 #[cfg(any(target_os = "macos", target_os = "ios"))]
19 #[cfg(not(any(target_os = "macos", target_os = "ios")))]
23 bits: [u64; FD_SETSIZE as usize / 64] field
26 #[cfg(not(any(target_os = "macos", target_os = "ios")))]
52 for bits in &mut self.bits { in clear()
53 *bits = 0 in clear()
76 let readfds = readfds.map(|set| set as *mut FdSet).unwrap_or(null_mut()); in select()
77 let writefds = writefds.map(|set| set as *mut FdSet).unwrap_or(null_mut()); in select()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/common/
H A Dbitset_utils_unittest.cpp33 EXPECT_EQ(TypeParam::Zero().bits(), 0u); in TYPED_TEST()
37 EXPECT_FALSE(mBits.any()); in TYPED_TEST()
47 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
58 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
69 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
84 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
91 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
98 EXPECT_FALSE(mBits.any()); in TYPED_TEST()
105 EXPECT_EQ(mBits.set(12).bits() & ~kMask, 0u); in TYPED_TEST()
106 EXPECT_EQ(mBits.set(13).bits() & ~kMask, 0u); in TYPED_TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/tests/unittests/
H A DITypBitsetTests.cpp44 void ExpectBits(const Bitset& bits, std::set<size_t> indices) { in ExpectBits() argument
61 ASSERT_EQ(bits.all(), indices.size() == bits.size()); in ExpectBits()
62 ASSERT_EQ(bits.any(), indices.size() != 0); in ExpectBits()
69 Bitset bits; in TEST_F() local
81 Bitset bits; in TEST_F() local
86 bits.set(Key(1)); in TEST_F()
87 bits.set(Key(7), true); in TEST_F()
88 bits.set(Key(8), false); in TEST_F()
118 bits.set(); in TEST_F()
122 ASSERT_TRUE(bits.any()); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/common/
H A Dbitset_utils_unittest.cpp33 EXPECT_FALSE(mBits.any()); in TYPED_TEST()
43 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
54 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
65 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
80 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
86 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
92 EXPECT_FALSE(mBits.any()); in TYPED_TEST()
99 EXPECT_EQ(mBits.set(12).bits() & ~kMask, 0u); in TYPED_TEST()
100 EXPECT_EQ(mBits.set(13).bits() & ~kMask, 0u); in TYPED_TEST()
154 EXPECT_EQ(mBits.bits() & ~kMask, 0u); in TYPED_TEST()
[all …]
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/srfi/
H A D33.sld11 bit-set? any-bits-set? all-bits-set?
12 first-set-bit
18 (any-bit-set? any-bits-set?)
19 (every-bit-set? all-bits-set?)
20 (bit-field-any? test-bit-field?)
H A D151.sld11 bit-set? any-bit-set? every-bit-set?
12 first-set-bit
13 bit-field bit-field-any? bit-field-every?
14 bit-field-clear bit-field-set
17 copy-bit bits->list list->bits
18 bits->vector vector->bits
19 bits bit-swap
H A D142.sld11 bit-set? any-bit-set? every-bit-set?
12 first-set-bit
13 bit-field bit-field-any? bit-field-every?
14 bit-field-clear bit-field-set
19 bits bit-swap
25 (bits->list integer->list)
26 (list->bits list->integer)
27 (bits->vector integer->vector)
28 (vector->bits vector->integer)))
/dports/devel/hyperscan/hyperscan-5.4.0/src/util/
H A Dcharreach.h58 explicit CharReach(unsigned char c) { set(c); } in CharReach()
66 explicit CharReach(const std::string &str) { set(str); } in CharReach()
81 bool operator<(const CharReach &a) const { return bits < a.bits; }
93 void set(unsigned char n) { bits.set(n); } in set() function
110 void set(const std::string &s);
119 bool any() const { return bits.any(); } in any() function
140 cr.bits |= a.bits;
145 void operator|=(const CharReach &a) { bits |= a.bits; }
150 cr.bits &= a.bits;
155 void operator&=(const CharReach &a) { bits &= a.bits; }
[all …]
/dports/net/shadowsocks-libev/shadowsocks-libev-3.3.5/libcork/docs/old/
H A Dbitset.rst13 This sections defines a type for storing an array of bits. This data structure
21 An array of bits. You should not allocate any instances of this type
26 The number of bits that are included in this array. (Each bit can be on
27 or off; this does not give you the number of bits that are *on*, it gives
28 you the number of bits in total, on or off.)
34 (usually on the stack). All bits will be initialized to ``0``.
38 Create a new bitset with enough space to store the given number of bits.
39 All bits will be initialized to ``0``.
43 Finalize a bitset, freeing any set content that it contains. This
50 Finalize and deallocate a bitset, freeing any set content that it
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/third_party/rust/libc/src/unix/bsd/
H A Dmod.rs47 #[cfg(not(any(target_os = "macos",
66 any(target_os = "freebsd", target_os = "dragonfly")))]
69 any(target_os = "freebsd", target_os = "dragonfly"))))]
281 let bits = mem::size_of_val(&(*set).fds_bits[0]) * 8; localVariable
283 (*set).fds_bits[fd / bits] &= !(1 << (fd % bits));
288 let bits = mem::size_of_val(&(*set).fds_bits[0]) * 8; localVariable
290 return ((*set).fds_bits[fd / bits] & (1 << (fd % bits))) != 0
294 let bits = mem::size_of_val(&(*set).fds_bits[0]) * 8; localVariable
296 (*set).fds_bits[fd / bits] |= 1 << (fd % bits);
353 if #[cfg(any(target_os = "macos", target_os = "ios"))] {
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/arm/lib/
H A Dfindbit.S30 bne .L_found @ any now set - found zero bit
32 2: cmp r2, r1 @ any more?
34 3: mov r0, r1 @ no free bits
71 bne .L_found @ any now set - found zero bit
73 2: cmp r2, r1 @ any more?
75 3: mov r0, r1 @ no free bits
109 bne .L_found @ any now set - found zero bit
111 2: cmp r2, r1 @ any more?
113 3: mov r0, r1 @ no free bits
143 bne .L_found @ any now set - found zero bit
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/arm/lib/
H A Dfindbit.S30 bne .L_found @ any now set - found zero bit
32 2: cmp r2, r1 @ any more?
34 3: mov r0, r1 @ no free bits
71 bne .L_found @ any now set - found zero bit
73 2: cmp r2, r1 @ any more?
75 3: mov r0, r1 @ no free bits
109 bne .L_found @ any now set - found zero bit
111 2: cmp r2, r1 @ any more?
113 3: mov r0, r1 @ no free bits
143 bne .L_found @ any now set - found zero bit
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/arm/lib/
H A Dfindbit.S30 bne .L_found @ any now set - found zero bit
32 2: cmp r2, r1 @ any more?
34 3: mov r0, r1 @ no free bits
71 bne .L_found @ any now set - found zero bit
73 2: cmp r2, r1 @ any more?
75 3: mov r0, r1 @ no free bits
109 bne .L_found @ any now set - found zero bit
111 2: cmp r2, r1 @ any more?
113 3: mov r0, r1 @ no free bits
143 bne .L_found @ any now set - found zero bit
[all …]
/dports/lang/racket/racket-8.3/collects/data/
H A Dbit-vector.rkt29 (bytes-set! words q (- (expt 2 r) 1)))
77 (define (bit-vector-set! bv n b)
131 (bit-vector-set! bv i b))
145 (bit-vector-set! bv i #t)))
180 #f ;; set
228 (-> any/c any)]
234 (->* (bit-vector? exact-nonnegative-integer?) (any/c) any)]
235 [bit-vector-set!
236 (-> bit-vector? exact-nonnegative-integer? boolean? any)]
238 (-> bit-vector? any)]
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/data/
H A Dbit-vector.rkt29 (bytes-set! words q (- (expt 2 r) 1)))
77 (define (bit-vector-set! bv n b)
131 (bit-vector-set! bv i b))
145 (bit-vector-set! bv i #t)))
180 #f ;; set
228 (-> any/c any)]
234 (->* (bit-vector? exact-nonnegative-integer?) (any/c) any)]
235 [bit-vector-set!
236 (-> bit-vector? exact-nonnegative-integer? boolean? any)]
238 (-> bit-vector? any)]
[all …]
/dports/net-mgmt/observium/observium/mibs/a3com/
H A DA3Com-IPSO-r1-MIB100 treated like any other host on the network. If set to
226 If this is set to any other value, any packet received
253 are determined by the individual bits that are set
269 flags assigned to them, any 2 byte combination of bits may be
302 If this is set to any other value, any packet originated
332 are determined by the individual bits that are set
348 flags assigned to them, any 2 byte combination of bits may be
462 allowed is determined by the individual bits that are set
478 flags assigned to them, any 2 byte combination of bits may be
570 allowed is determined by the individual bits that are set
[all …]
/dports/devel/hpx/hpx-1.2.1/hpx/runtime/threads/
H A Dcpu_mask.hpp38 inline std::uint64_t bits(std::size_t idx) in bits() function
57 return (bits(idx) & mask) != 0; in test()
60 inline void set(mask_type& mask, std::size_t idx) in set() function
63 mask |= bits(idx); in set()
69 mask &= not_(bits(idx)); in unset()
144 return mask.any();
157 inline void set(mask_type& mask, std::size_t idx)
159 mask.set(idx);
164 mask.set(idx, 0);
184 if (mask.any())
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/include/std/
H A Dset1 // <set> -*- C++ -*-
9 // any later version.
35 * representations about the suitability of this software for any
51 /** @file include/set
60 #include <bits/stl_tree.h>
61 #include <bits/stl_set.h>
62 #include <bits/stl_multiset.h>
63 #include <bits/range_access.h>
64 #include <bits/erase_if.h>
67 # include <debug/set>
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/include/std/
H A Dset1 // <set> -*- C++ -*-
9 // any later version.
51 /** @file include/set
60 #include <bits/stl_tree.h>
61 #include <bits/stl_set.h>
62 #include <bits/stl_multiset.h>
63 #include <bits/range_access.h>
64 #include <bits/erase_if.h>
67 # include <debug/set>
71 # include <profile/set>
[all …]

12345678910>>...2121