MCPcopy Create free account
hub / github.com/LFYSec/MScan / xor

Method xor

src/main/java/pascal/taie/util/collection/SparseBitSet.java:851–862  ·  view source on GitHub ↗
(IBitSet set)

Source from the content-addressed store, hash-verified

849 }
850
851 @Override
852 public boolean xor(IBitSet set) {
853 if (this == set) {
854 boolean changed = !isEmpty();
855 clear();
856 return changed;
857 }
858 if (!(set instanceof SparseBitSet other)) {
859 return super.xor(set);
860 }
861 return iterateBlocks(this, other, new XorAction(this));
862 }
863
864 private static class XorAction extends ChangeAction {
865

Callers

nothing calls this directly

Calls 4

isEmptyMethod · 0.95
clearMethod · 0.95
iterateBlocksMethod · 0.95
xorMethod · 0.65

Tested by

no test coverage detected