Lines Matching refs:SetBit
1059 z := new(Int).SetBit(z, i, 1)
1065 t.Errorf("bitset: inconsistent value after SetBit 1, got %s want %s", z, z1)
1067 z.SetBit(z, i, 0)
1073 t.Errorf("bitset: inconsistent value after SetBit 0, got %s want %s", z, z1)
1076 z.SetBit(z, i, old)
1078 t.Errorf("bitset: inconsistent value after SetBit old, got %s want %s", z, z1)
1123 z.SetBit(NewInt(0), 2, 1)
1131 z.SetBit(z, 512, 1)
1135 z.SetBit(z, i&512, 1)
1141 z.SetBit(z, 512, 0)
1145 z.SetBit(z, i&512, 0)