MCPcopy Create free account
hub / github.com/apache/tvm-ffi / AppendInt

Method AppendInt

src/ffi/testing/testing.cc:750–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748 // Some methods to exercise RegisterMethod
749 int64_t AddInt(int64_t x) const { return v_int + x; }
750 Array<int64_t> AppendInt(Array<int64_t> xs, int64_t y) const {
751 xs.push_back(y);
752 return xs;
753 }
754 Optional<String> MaybeConcat(Optional<String> a, Optional<String> b) const {
755 if (a.has_value() && b.has_value()) return String(a.value() + b.value());
756 if (a.has_value()) return a;

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected