MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / resize

Method resize

src/thundersvm/syncarray.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template<typename T>
42void SyncArray<T>::resize(size_t count) {
43 delete mem;
44 mem = new SyncMem(sizeof(T) * count);
45 this->size_ = count;
46}
47
48template<typename T>
49void SyncArray<T>::copy_from(const T *source, size_t count) {

Callers 14

SetUpMethod · 0.80
TESTFunction · 0.80
KernelMatrixMethod · 0.80
train_binaryMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
train_binaryMethod · 0.80
predictMethod · 0.80
model_setupMethod · 0.80
predictMethod · 0.80
load_from_fileMethod · 0.80

Calls

no outgoing calls

Tested by 2

SetUpMethod · 0.64
TESTFunction · 0.64