MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SkipBytes

Method SkipBytes

tensorflow/core/kernels/decode_proto_op.cc:363–369  ·  view source on GitHub ↗

Skips a length-delimited value.

Source from the content-addressed store, hash-verified

361 private:
362 // Skips a length-delimited value.
363 static bool SkipBytes(CodedInputStream* input) {
364 uint32 length;
365 if (!input->ReadVarint32(&length)) {
366 return false;
367 }
368 return input->Skip(length);
369 }
370
371 // Counts the number of packed varints in an array. The end of a varint is
372 // signaled by a value < 0x80, so counting them requires parsing the

Callers

nothing calls this directly

Calls 2

ReadVarint32Method · 0.80
SkipMethod · 0.45

Tested by

no test coverage detected