- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for TestOr (0.1 sec)
-
src/cmp/cmp_test.go
t.Errorf("Less sort mismatch at %d in %v", i, input) } if cmp.Compare(input[i], input[i+1]) > 0 { t.Errorf("Compare sort mismatch at %d in %v", i, input) } } } func TestOr(t *testing.T) { cases := []struct { in []int want int }{ {nil, 0}, {[]int{0}, 0}, {[]int{1}, 1}, {[]int{0, 2}, 2}, {[]int{3, 0}, 3}, {[]int{4, 5}, 4},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 3.9K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_test.go
<-done } // Check that the array has been totally set. for i, v := range a { if v != 0xff { t.Fatalf("a[%v] not fully set: want %#x, got %#x", i, uint8(0xff), v) } } } func TestOr(t *testing.T) { // Basic sanity check. x := uint32(0) for i := uint32(0); i < 32; i++ { atomic.Or(&x, 1<<i) if r := (uint32(1) << (i + 1)) - 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
} resultMask := And(bitMasks[0], bitMasks...) if resultMask.String() != string(tc.andMask) { t.Errorf("Expected mask to be %v, got %v", tc.andMask, resultMask) } } } func TestOr(t *testing.T) { tcases := []struct { name string masks [][]int orMask string }{ { name: "Mask 01 OR mask 00", masks: [][]int{{0}, {}}, orMask: "01", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
tests/query_test.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNulls_interface() { tester.testNulls(AnInterface.class); } public void testNulls_abstractClass() { tester.testNulls(AnAbstractClass.class); } public void testNulls_enum() throws Exception { tester.testNulls(OneConstantEnum.class); tester.testNulls(NoConstantEnum.class); tester.testNulls(TimeUnit.class); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 36.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
super.verify(elements); } } public void testVerifyGetsCalled() { TesterThatCountsCalls tester = new TesterThatCountsCalls(); tester.test(); assertEquals( "Should have verified once per stimulus executed", tester.numCallsToVerify, tester.numCallsToNewTargetIterator * STEPS); } public void testVerifyCanThrowAssertionThatFailsTest() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} return requirements; } /** * Find all the tester annotations declared on a tester class or method. * * @param classOrMethod a class or method whose tester annotations to find * @return an iterable sequence of tester annotations on the class */ public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 21 15:08:35 UTC 2022 - 12.1K bytes - Viewed (0) -
pkg/kube/kclient/client_test.go
obj1.Spec.MinReadySeconds = 2 tester.Update(obj1) tracker.WaitOrdered("update/1") assert.Equal(t, tester.Get(obj1.Name, obj1.Namespace), obj1) // Create some more objects tester.Create(obj3) tester.Create(obj2) tracker.WaitOrdered("add/2") assert.Equal(t, tester.Get(obj2.Name, obj2.Namespace), obj2) // We should not see obj3, it is filtered deploys := tester.List(obj1.Namespace, klabels.Everything())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 15:12:54 UTC 2024 - 17.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} return requirements; } /** * Find all the tester annotations declared on a tester class or method. * * @param classOrMethod a class or method whose tester annotations to find * @return an iterable sequence of tester annotations on the class */ public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 21 15:08:35 UTC 2022 - 12.1K bytes - Viewed (0)