MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / get

Method get

Tools/BitVector.h:149–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 public:
148 Access(BitVector& v, int i) : v(v), i(i) {}
149 bool get() const { return v.get_bit(i); }
150 void operator=(bool b) { v.set_bit(i, b); }
151 void operator=(const Access& other) { *this = other.get(); }
152 void operator^=(const Access& other) { *this = get() ^ other.get(); }

Callers 3

operator=Method · 0.45
operator^=Method · 0.45
operator==Method · 0.45

Calls 1

get_bitMethod · 0.45

Tested by

no test coverage detected