MCPcopy Create free account
hub / github.com/alibaba/graph-learn / StrCols

Method StrCols

graphlearn/src/service/request/conditional_sampling_request.cc:269–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269const std::vector<int32_t> ConditionalSamplingRequest::StrCols() const {
270 if (str_cols_) {
271 return std::vector<int32_t>(str_cols_->GetInt32(),
272 str_cols_->GetInt32() + str_cols_->Size());
273 } else {
274 return std::vector<int32_t>();
275 }
276}
277
278const std::vector<float> ConditionalSamplingRequest::StrProps() const {
279 if (str_props_) {

Callers 1

SampleMethod · 0.80

Calls 2

GetInt32Method · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected