Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 936 for Foo (0.03 sec)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64.s

    // Tests for SP indexed addresses.
    	MOVQ	foo(SP)(AX*1), BX		// 488b1c04
    	MOVQ	foo+32(SP)(CX*2), DX		// 488b544c20
    	MOVQ	foo+32323(SP)(R8*4), R9		// 4e8b8c84437e0000
    	MOVL	foo(SP)(SI*8), DI		// 8b3cf4
    	MOVL	foo+32(SP)(R10*1), R11		// 468b5c1420
    	MOVL	foo+32323(SP)(R12*2), R13	// 468bac64437e0000
    	MOVW	foo(SP)(AX*4), R8		// 66448b0484
    	MOVW	foo+32(SP)(R9*8), CX		// 66428b4ccc20
    	MOVW	foo+32323(SP)(AX*1), DX		// 668b9404437e0000
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                        public String @Nullable [] foo() { return new String[] {"some", null}; }
                    }
                """
            ) {
                assertHasErrors(
                    "Field nonFinalField: Nullability breaking change.",
                    "Field finalField: From non-nullable to nullable breaking change.",
                    "Method com.example.Source.foo(): From non-null returning to null returning breaking change."
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu May 15 17:05:08 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                "item": {
                    "name": "Foo",
                    "price": 50.5,
                    "description": "Some Foo",
                    "tax": 0.1,
                },
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "item": {
                "name": "Foo",
                "price": 50.5,
                "description": "Some Foo",
                "tax": 0.1,
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertThat(LOWER_HYPHEN.to(LOWER_HYPHEN, "foo")).isEqualTo("foo");
        assertThat(LOWER_HYPHEN.to(LOWER_HYPHEN, "foo-bar")).isEqualTo("foo-bar");
      }
    
      public void testLowerHyphenToLowerUnderscore() {
        assertThat(LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")).isEqualTo("foo");
        assertThat(LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")).isEqualTo("foo_bar");
      }
    
      public void testLowerHyphenToLowerCamel() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

                .thenComparing(foo -> foo.anEnum, nullsLast(naturalOrder()));
        ImmutableList<Foo> instances =
            ImmutableList.of(
                new Foo("a", 1, TriState.TRUE),
                new Foo("a", 2, TriState.TRUE),
                new Foo("b", 1, TriState.FALSE),
                new Foo("b", 1, TriState.TRUE),
                new Foo("b", 1, null));
        for (Foo a : instances) {
          for (Foo b : instances) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_publicApiOnly() {
        sanityTests.publicApiOnly();
        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).isEmpty();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. tests/test_jsonable_encoder.py

        assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == {
            "foo": "foo"
        }
        assert jsonable_encoder(model, include={"foo"}) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude={"bla"}) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, include={}) == {}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. tests/test_additional_properties_bool.py

    class FooBaseModel(BaseModel):
        model_config = ConfigDict(extra="forbid")
    
    
    class Foo(FooBaseModel):
        pass
    
    
    app = FastAPI()
    
    
    @app.post("/")
    async def post(
        foo: Union[Foo, None] = None,
    ):
        return foo
    
    
    client = TestClient(app)
    
    
    def test_call_invalid():
        response = client.post("/", json={"foo": {"bar": "baz"}})
        assert response.status_code == 422
    
    
    def test_call_valid():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top