Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BambooTracker/BambooTracker
/ changeSize
Method
changeSize
BambooTracker/module/pattern.cpp:71–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
}
70
71
void Pattern::changeSize(size_t size)
72
{
73
if (size && size <= MAX_STEP_SIZE) {
74
size_ = size;
75
if (steps_.size() < size) steps_.resize(size);
76
}
77
}
78
79
void Pattern::insertStep(int n)
80
{
Callers
1
changeDefaultPatternSize
Method · 0.80
Calls
2
size
Method · 0.45
resize
Method · 0.45
Tested by
no test coverage detected