Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 975 for simple (0.26 sec)

  1. tests/test_response_model_include_exclude.py

            baz="simple_exclude model2 baz",
        )
    
    
    @app.get(
        "/simple_exclude_dict",
        response_model=Model2,
        response_model_exclude={"ref": {"bar"}},
    )
    def simple_exclude_dict():
        return {
            "ref": {
                "foo": "simple_exclude_dict model foo",
                "bar": "simple_exclude_dict model bar",
            },
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

       */
      public void testCharacterSimpleSplitToList() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToList(simple);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testCharacterSimpleSplitToStream() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToStream(simple).collect(toImmutableList());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    public interface $TEST_INTERFACE_SIMPLE_NAME {
                        String field = "value";
                        void method();
                    }
                """
                : """
                    public class $TEST_INTERFACE_SIMPLE_NAME {
                        public String field = "value";
                        public void method() { }
                        public $TEST_INTERFACE_SIMPLE_NAME() { }
                    }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

    class ClassLinkMetaDataTest extends Specification {
    
        public static final String SIMPLE_CLASSNAME = 'MyClass'
        public static final String METHOD_NAME = 'calculate'
    
        def "can define and look up overloaded methods"() {
            given:
            ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
            classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null)
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      public void testStringSimpleSplit() {
        String simple = "a,b,c";
        Iterable<String> letters = Splitter.on(",").split(simple);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testStringSimpleSplitWithNoDelimiter() {
        String simple = "a,b,c";
        Iterable<String> letters = Splitter.on(".").split(simple);
        assertThat(letters).containsExactly("a,b,c").inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/consumer/simple/simple-parent/pom.xml

      </parent>
      <artifactId>simple-parent</artifactId>
      <packaging>pom</packaging>
      <name>Multi Chapter Simple Parent Project</name>
    
      <modules>
        <module>simple-weather</module>
        <module>simple-webapp</module>
    
        <!-- On purpose at the end, project graph is responsible for ordering -->
        <!-- Build/consumer should not be effected by reverse order -->
        <module>simple-testutils</module>
    XML
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/consumer/simple/simple-parent/simple-weather/pom.xml

      <parent>
        <groupId>org.sonatype.mavenbook.multi</groupId>
        <artifactId>simple-parent</artifactId>
      </parent>
      <artifactId>simple-weather</artifactId>
      <packaging>jar</packaging>
    
      <name>Multi Chapter Simple Weather API</name>
    
      <dependencies>
        <dependency>
          <groupId>org.sonatype.mavenbook.multi</groupId>
          <artifactId>simple-testutils</artifactId>
          <scope>test</scope>
        </dependency>
    XML
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/consumer/simple/simple-parent/simple-webapp/pom.xml

        <artifactId>simple-parent</artifactId>
      </parent>
    
      <artifactId>simple-webapp</artifactId>
      <name>Multi Chapter Simple Web Application Project</name>
      <dependencies>
        <dependency>
          <groupId>org.sonatype.mavenbook.multi</groupId>
          <artifactId>simple-weather</artifactId>
        </dependency>
      </dependencies>
      <build>
        <finalName>simple-webapp</finalName>
        <pluginManagement>
    XML
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_inherited_custom_class.py

            return SomeCustomClass(a_uuid=MyUuid("b8799909-f914-42de-91bc-95c819218d01"))
    
        client = TestClient(app)
    
        with client:
            response_simple = client.get("/fast_uuid")
            response_pydantic = client.get("/get_custom_class")
    
        assert response_simple.json() == {
            "fast_uuid": "a10ff360-3b1e-4984-a26f-d3ab460bdb51"
        }
    
        assert response_pydantic.json() == {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
        assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString()));
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
        // Build up a range of surrogate pair characters to test
        final int min = Character.MIN_SUPPLEMENTARY_CODE_POINT;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top