Skip to content
TensorStore
tensorstore::SmallBitSet<N>::UpTo
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
          • Cspan
          • CUtf8String
          • CSmallBitSet
            • Types
            • Constructors
              • FSmallBitSet [default]
              • FSmallBitSet [bool]
              • FFromIndices
              • FUpTo
                • Dchecks
              • FFromUint
              • FFromBools
            • Methods
            • Conversion operators
            • Set operations
            • Friend functions
            • Related Types
          • CMaybeHardConstraintSpan
          • CMaybeHardConstraintIndex
          • VIsCompatibleOptionSequence
          • Error handling
          • Asynchronous support
          • JSON serialization
          • Compile-time data type/rank/mode constraints
          • String Utilities
          • Index vectors
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Dchecks
    #include "tensorstore/util/small_bit_set.h"
    static constexpr SmallBitSet
    tensorstore::SmallBitSet<N>::UpTo(size_t k);

    Constructs the set [0, k).

    Dchecks:¶

    k <= N

    Back to top
    Previous tensorstore::SmallBitSet<N>::FromIndices
    Next tensorstore::SmallBitSet<N>::FromUint