Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,725 for Content (0.24 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    #define EXPECT_TF_OK(x) EXPECT_EQ(TF_OK, TF_GetCode(x)) << TF_Message(x)
    
    static const char* content = "abcdefghijklmnopqrstuvwxyz1234567890";
    // We will work with content_view instead of content.
    static const absl::string_view content_view = content;
    
    namespace gcs = google::cloud::storage;
    
    static std::string InitializeTmpDir() {
      // This env should be something like `gs://bucket/path`
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils_test.go

    		// Test case - 1.
    		// Test case with "X-Amz-Content-Sha256" header set, but to empty value but we can't skip.
    		{"X-Amz-Content-Sha256", "", "", "", false},
    
    		// Test case - 2.
    		// Test case with "X-Amz-Content-Sha256" not set so we can skip.
    		{"", "", "", "", true},
    
    		// Test case - 3.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001_03.py

        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py

                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  5. tests/test_response_code_no_body.py

    async def a():
        pass
    
    
    @app.get("/b", responses={204: {"description": "No Content"}})
    async def b():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_get_response():
        response = client.get("/a")
        assert response.status_code == 204, response.text
        assert "content-length" not in response.headers
        assert response.content == b""
    
    
    def test_openapi_schema():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            languageHelper.langFields = new String[] { "title", "content" };
        }
    
        public void test_createScript() {
            Map<String, Object> doc = new HashMap<>();
            assertEquals("aaa", languageHelper.createScript(doc, "aaa").getIdOrCode());
    
            doc.put("lang", "ja");
            assertEquals("aaa;ctx._source.title_ja=ctx._source.title;ctx._source.content_ja=ctx._source.content",
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

        def classDoc(Map<String, ?> args = [:], String name) {
            ClassDoc classDoc = Mock()
            def content = args.content ?: parse('<section></section>')
            def propertiesSection = withCategories { content.section.find { it.title[0].text().trim() == 'Properties' } }
            def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/plain")
            .build(),
        )
        newEventSource()
        listener.assertFailure("Invalid content-type: text/plain")
      }
    
      @Test
      fun badResponseCode() {
        server.enqueue(
          MockResponse.Builder()
            .body(
              """
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. tests/test_schema_extra_examples.py

                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 37.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRelatedContentCQ.java

            return this;
        }
    
        public void setContent_Equal(String content) {
            setContent_Term(content, null);
        }
    
        public void setContent_Equal(String content, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setContent_Term(content, opLambda);
        }
    
        public void setContent_Term(String content) {
            setContent_Term(content, null);
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 63.8K bytes
    - Viewed (0)
Back to top