MCPcopy Create free account
hub / github.com/dmlc/xgboost / Capacity

Method Capacity

plugin/sycl/data.h:104–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 size_t Size() const { return size_; }
103
104 size_t Capacity() const { return capacity_; }
105
106 T& operator[](size_t i) { return data_.get()[i]; }
107 const T& operator[](size_t i) const { return data_.get()[i]; }

Callers 1

TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36