Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ setInt32
Method
setInt32
valdi_protobuf/src/valdi_protobuf/Field.cpp:431–433 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
429
}
430
431
void Field::setInt32(int32_t v) {
432
setVarint(static_cast<uint64_t>(v));
433
}
434
435
int32_t Field::getSInt32() const {
436
switch (_type) {
Callers
5
setProtobufNonRepatedField
Function · 0.80
setProtobufFieldAsDefaultValue
Function · 0.80
TEST
Function · 0.80
TEST_F
Function · 0.80
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
3
TEST
Function · 0.64
TEST_F
Function · 0.64
TEST
Function · 0.64