MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / size

Method size

paddle/phi/core/memory/allocation/inlined_vector.h:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 inline InlinedVector() { len_ = 0; }
31
32 inline size_t size() const { return len_; }
33
34 inline T& operator[](size_t i) { return i < N ? head_[i] : tail_[i - N]; }
35

Callers 15

FreeImplMethod · 0.45
FreeCacheMethod · 0.45
FreeImplMethod · 0.45
BestFitAllocatorMethod · 0.45
NumFreeChunksMethod · 0.45
AllocateImplMethod · 0.45
AlignedAllocationMethod · 0.45
AllocateImplMethod · 0.45
FreeImplMethod · 0.45
AllocateImplMethod · 0.45
allocator.hFile · 0.45
FreeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected