- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TestAnd (0.3 sec)
-
src/internal/runtime/atomic/atomic_test.go
<-done } // Check that the array has been totally cleared. for i, v := range a { if v != 0 { t.Fatalf("a[%v] not cleared: want %#x, got %#x", i, uint8(0), v) } } } func TestAnd(t *testing.T) { // Basic sanity check. x := uint32(0xffffffff) for i := uint32(0); i < 32; i++ { atomic.And(&x, ^(1 << i)) if r := uint32(0xffffffff) << (i + 1); x != r {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
mask, _ := NewBitMask(tc.bitsSet...) mask.Remove(tc.bitsRemove...) if mask.String() != tc.expectedMask { t.Errorf("Expected mask to be %v, got %v", tc.expectedMask, mask) } } } func TestAnd(t *testing.T) { tcases := []struct { name string masks [][]int andMask string }{ { name: "Mask 11 AND mask 11", masks: [][]int{{0, 1}, {0, 1}}, andMask: "11", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
src/cmd/internal/obj/x86/asm6.go
testAnd := p.As == ATESTB || p.As == ATESTL || p.As == ATESTQ || p.As == ATESTW || p.As == AANDB || p.As == AANDL || p.As == AANDQ || p.As == AANDW incDec := p.As == AINCB || p.As == AINCL || p.As == AINCQ || p.As == AINCW || p.As == ADECB || p.As == ADECL || p.As == ADECQ || p.As == ADECW if !cmpAddSub && !testAnd && !incDec { return false, 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 146.9K bytes - Viewed (0) -
docs/de/docs/history-design-future.md
Es war beispielsweise klar, dass es idealerweise auf Standard-Python-Typhinweisen basieren sollte. Der beste Ansatz bestand außerdem darin, bereits bestehende Standards zu nutzen.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:10:48 UTC 2024 - 4.8K bytes - Viewed (0)