Home
last modified time | relevance | path

Searched refs:kMaxHeight (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/devel/folly/folly-2021.12.27.00/folly/
H A DConcurrentSkipList-inl.h177 enum { kMaxHeight = 64 }; enumerator
187 DCHECK_LE(maxHeight, kMaxHeight) << "max height too big!"; in getHeight()
198 DCHECK_LT(height, kMaxHeight); in getSizeLimit()
214 for (int i = 1; i < kMaxHeight - 1; ++i) { in initLookupTable()
222 lookupTable_[kMaxHeight - 1] = 1; in initLookupTable()
223 sizeLimitTable_[kMaxHeight - 1] = kMaxSizeLimit; in initLookupTable()
231 double lookupTable_[kMaxHeight];
232 size_t sizeLimitTable_[kMaxHeight];
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/Folly/folly/
H A DConcurrentSkipList-inl.h195 enum { kMaxHeight = 64 }; enumerator
205 DCHECK_LE(maxHeight, kMaxHeight) << "max height too big!"; in getHeight()
216 DCHECK_LT(height, kMaxHeight); in getSizeLimit()
234 for (int i = 1; i < kMaxHeight - 1; ++i) { in initLookupTable()
242 lookupTable_[kMaxHeight - 1] = 1; in initLookupTable()
243 sizeLimitTable_[kMaxHeight - 1] = kMaxSizeLimit; in initLookupTable()
251 double lookupTable_[kMaxHeight];
252 size_t sizeLimitTable_[kMaxHeight];
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/mediastream/
H A Dmedia_stream_constraints_util_video_content_test.cc346 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
364 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
401 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
423 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
443 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
463 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
492 const int kMaxHeight = 800; in TEST_F() local
503 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
560 const int kMaxHeight = 1000; in TEST_F() local
574 EXPECT_EQ(100.0 / kMaxHeight, in TEST_F()
[all …]
H A Dmedia_stream_constraints_util_test.cc233 const int kMaxHeight = 1200; in TEST_F() local
280 static_assert(kIdealHeight < kMaxHeight, in TEST_F()
298 static_assert(kIdealHeight > kMaxHeight, in TEST_F()
305 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
306 EXPECT_EQ(std::round(kMaxHeight * kSourceAspectRatio), in TEST_F()
362 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
382 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
487 static_assert(kIdealHeight < kMaxHeight, in TEST_F()
516 static_assert(kIdealHeight > kMaxHeight, in TEST_F()
529 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
[all …]
H A Dvideo_track_adapter_unittest.cc35 const int kMaxHeight = 480; in TEST() local
38 static_assert(kSmallDimension < kMaxWidth && kSmallDimension < kMaxHeight, in TEST()
41 kLargeDimension > kMaxWidth && kLargeDimension > kMaxHeight, in TEST()
44 gfx::Size(kMaxWidth, kMaxHeight), 0.1 /* min_aspect_ratio */, in TEST()
75 EXPECT_EQ(desired_size.height(), is_rotated ? kMaxWidth : kMaxHeight); in TEST()
81 EXPECT_EQ(desired_size.width(), is_rotated ? kMaxHeight : kMaxWidth); in TEST()
158 const int kMaxHeight = std::numeric_limits<int>::max(); in TEST() local
167 VideoTrackAdapterSettings(gfx::Size(kMaxWidth, kMaxHeight), in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/mediastream/
H A Dmedia_stream_constraints_util_video_content_test.cc344 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
362 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
399 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
421 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
441 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
461 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
490 const int kMaxHeight = 800; in TEST_F() local
501 EXPECT_EQ(1.0 / kMaxHeight, in TEST_F()
558 const int kMaxHeight = 1000; in TEST_F() local
572 EXPECT_EQ(100.0 / kMaxHeight, in TEST_F()
[all …]
H A Dmedia_stream_constraints_util_test.cc233 const int kMaxHeight = 1200; in TEST_F() local
280 static_assert(kIdealHeight < kMaxHeight, in TEST_F()
298 static_assert(kIdealHeight > kMaxHeight, in TEST_F()
305 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
306 EXPECT_EQ(std::round(kMaxHeight * kSourceAspectRatio), in TEST_F()
362 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
382 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
487 static_assert(kIdealHeight < kMaxHeight, in TEST_F()
516 static_assert(kIdealHeight > kMaxHeight, in TEST_F()
529 EXPECT_EQ(kMaxHeight, result.target_height()); in TEST_F()
[all …]
H A Dvideo_track_adapter_unittest.cc35 const int kMaxHeight = 480; in TEST() local
38 static_assert(kSmallDimension < kMaxWidth && kSmallDimension < kMaxHeight, in TEST()
41 kLargeDimension > kMaxWidth && kLargeDimension > kMaxHeight, in TEST()
44 gfx::Size(kMaxWidth, kMaxHeight), 0.1 /* min_aspect_ratio */, in TEST()
75 EXPECT_EQ(desired_size.height(), is_rotated ? kMaxWidth : kMaxHeight); in TEST()
81 EXPECT_EQ(desired_size.width(), is_rotated ? kMaxHeight : kMaxWidth); in TEST()
158 const int kMaxHeight = std::numeric_limits<int>::max(); in TEST() local
167 VideoTrackAdapterSettings(gfx::Size(kMaxWidth, kMaxHeight), in TEST()
/dports/databases/p5-Tie-LevelDB/Tie-LevelDB-0.07/db/
H A Dskiplist.h95 enum { kMaxHeight = 12 }; enumerator
243 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
247 assert(height <= kMaxHeight);
324 head_(NewNode(0 /* any key will do */, kMaxHeight)),
327 for (int i = 0; i < kMaxHeight; i++) {
336 Node* prev[kMaxHeight];
/dports/sysutils/vector/vector-0.10.0/cargo-crates/leveldb-sys-2.0.5/deps/leveldb-1.18/db/
H A Dskiplist.h98 enum { kMaxHeight = 12 }; enumerator
247 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
251 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/leveldb/db/
H A Dskiplist.h98 enum { kMaxHeight = 12 }; enumerator
247 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
251 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/litecoin/litecoin-0.18.1/src/leveldb/db/
H A Dskiplist.h98 enum { kMaxHeight = 12 }; enumerator
247 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
251 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/leveldb/db/
H A Dskiplist.h98 enum { kMaxHeight = 12 }; enumerator
247 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
251 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/leveldb/db/
H A Dskiplist.h98 enum { kMaxHeight = 12 }; enumerator
247 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
251 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/leveldb/db/
H A Dskiplist.h98 enum { kMaxHeight = 12 }; enumerator
247 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
251 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/leveldb/db/
H A Dskiplist.h98 enum { kMaxHeight = 12 }; enumerator
247 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
251 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/api/leveldb/leveldb/db/
H A Dskiplist.h95 enum { kMaxHeight = 12 }; enumerator
244 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
248 assert(height <= kMaxHeight);
325 head_(NewNode(0 /* any key will do */, kMaxHeight)),
328 for (int i = 0; i < kMaxHeight; i++) {
337 Node* prev[kMaxHeight];
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ppapi/shared_impl/
H A Dmedia_stream_video_track_shared.cc12 const int32_t kMaxHeight = 4096; variable
33 attributes.height > kMaxHeight || in VerifyAttributes()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ppapi/shared_impl/
H A Dmedia_stream_video_track_shared.cc11 const int32_t kMaxHeight = 4096; variable
32 attributes.height > kMaxHeight || in VerifyAttributes()
/dports/net-p2p/bitcoin/bitcoin-22.0/src/leveldb/db/
H A Dskiplist.h102 enum { kMaxHeight = 12 }; enumerator
246 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
250 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/leveldb/db/
H A Dskiplist.h102 enum { kMaxHeight = 12 }; enumerator
246 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
250 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/leveldb/db/
H A Dskiplist.h102 enum { kMaxHeight = 12 }; enumerator
246 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
250 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/sysutils/vector/leveldb-sys-bbdd99a6fab0a7444a8c6eb0cc86a1a5a75f7fa1/deps/leveldb-1.22/db/
H A Dskiplist.h102 enum { kMaxHeight = 12 }; enumerator
246 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
250 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/leveldb/db/
H A Dskiplist.h102 enum { kMaxHeight = 12 }; enumerator
246 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
250 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/leveldb/db/
H A Dskiplist.h102 enum { kMaxHeight = 12 }; enumerator
246 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) {
250 assert(height <= kMaxHeight);
328 head_(NewNode(0 /* any key will do */, kMaxHeight)),
331 for (int i = 0; i < kMaxHeight; i++) {
340 Node* prev[kMaxHeight];

1234567