Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for Slavin (0.22 sec)

  1. docs_src/dataclasses/tutorial002.py

    app = FastAPI()
    
    
    @app.get("/items/next", response_model=Item)
    async def read_next_item():
        return {
            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be be playin' and havin' fun",
            "tags": ["breater"],
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 552 bytes
    - Viewed (0)
  2. docs_src/dataclasses/tutorial003.py

        return [  # (9)
            {
                "name": "Breaters",
                "items": [
                    {
                        "name": "Island In The Moon",
                        "description": "A place to be be playin' and havin' fun",
                    },
                    {"name": "Holy Buddies"},
                ],
            },
            {
                "name": "System of an Up",
                "items": [
                    {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dataclasses/test_tutorial002.py

        response = client.get("/items/next")
        assert response.status_code == 200
        assert response.json() == {
            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be be playin' and havin' fun",
            "tags": ["breater"],
            "tax": None,
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertInvalid("te<t/plain", "No subtype found for: \"te<t/plain\"")
        assertInvalid(" text/plain", "No subtype found for: \" text/plain\"")
        assertInvalid("te xt/plain", "No subtype found for: \"te xt/plain\"")
        assertInvalid("text /plain", "No subtype found for: \"text /plain\"")
        assertInvalid("text/ plain", "No subtype found for: \"text/ plain\"")
        assertInvalid(
          "text/pl@in",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("<pre class=\"prettyprint\"></pre>", value);
    
            code = "aaa";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\">aaa</pre>", value);
    
            code = "aaa\nbbb";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

        val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testUnsupportedCharset() {
        val mediaType = parse("text/plain; charset=utf-wtf")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() {
        val mediaType = parse("text/plain;charset=\"'utf-8'\"")
        assertNull(mediaType.charsetName())
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CommonRequestBodyTest.kt

    class CommonRequestBodyTest {
      @Test
      fun correctContentType() {
        val body = "Body"
        val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf()))
    
        val contentType = requestBody.contentType()!!
    
        assertThat(contentType.mediaType).isEqualTo("text/plain; charset=utf-8")
        assertThat(contentType.parameter("charset")).isEqualTo("utf-8")
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/pom-encoding/latin-1/pom.xml

    -->
    
    <!--
    NOTE: This POM's XML declaration intentionally declares Latin-1 encoding.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng2254</groupId>
      <artifactId>latin-1</artifactId>
      <version>0.1-SNAPSHOT</version>
      <packaging>pom</packaging>
    
      <name>Maven Integration Test :: MNG-2254 :: Latin-1</name>
      <description>TEST-CHARS: �������</description>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

        val body = text.toResponseBody()
        assertThat(body.string()).isEqualTo(text)
      }
    
      @Test
      fun unicodeTextWithCharset() {
        val text = "eile oli oliiviõli"
        val body = text.toResponseBody("text/plain; charset=UTF-8".toMediaType())
        assertThat(body.string()).isEqualTo(text)
      }
    
      @Test
      fun unicodeByteString() {
        val text = "eile oli oliiviõli"
        val body = text.toResponseBody()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                            throw new RuntimeException("Null setup prohibited.");
                        }
                    } else if( DISABLE_PLAIN_TEXT_PASSWORDS ) {
                        throw new RuntimeException( "Plain text passwords are disabled" );
                    } else if( useUnicode ) {
                        // plain text
                        String password = auth.getPassword();
                        lmHash = new byte[0];
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
Back to top