Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TestAnd (0.08 sec)

  1. src/cmd/compile/internal/test/testdata/short_test.go

    	}
    }
    
    // TestShortCircuit tests OANDAND and OOROR expressions and short circuiting.
    func TestShortCircuit(t *testing.T) {
    	testAnd(t, false, false, false)
    	testAnd(t, false, true, false)
    	testAnd(t, true, false, false)
    	testAnd(t, true, true, true)
    
    	testOr(t, false, false, false)
    	testOr(t, false, true, true)
    	testOr(t, true, false, true)
    	testOr(t, true, true, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/webapp/js/admin/plugins/form-validator/lang/nl.js

    ",max:"max",min:"min",notConfirmed:"Invoerwaarden konden niet worden bevestigd",requiredField:"Dit is een verplicht veld",requiredFields:"U heeft niet alle verplichte velden ingevuld",wrongFileDim:"Incorrecte afbeeldingsafmetingen,",wrongFileSize:"Het bestand dat u probeert te uploaden is te groot (max %s)",wrongFileType:"Alleen type %s bestanden zijn toegestaan"}})}(a,window)});...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  6. 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)
Back to top