Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,371 for CONTENT (0.1 seconds)

  1. guava-tests/test/com/google/common/io/TestCharSource.java

     */
    @NullUnmarked
    public class TestCharSource extends CharSource implements TestStreamSupplier {
    
      private final TestByteSource byteSource;
    
      public TestCharSource(String content, TestOption... options) {
        this.byteSource = new TestByteSource(content.getBytes(UTF_8), options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return byteSource.wasStreamOpened();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  2. src/test/resources/plugin/repo1/index.html

    <!DOCTYPE html>
    <html>
    
    <head>
    	<title>Central Repository: org/codelibs/fess</title>
    	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    	<style>
    body {
    	background: #fff;
    }
    	</style>
    </head>
    
    <body>
    	<header>
    		<h1>org/codelibs/fess</h1>
    	</header>
    	<hr/>
    	<main>
    		<pre id="contents">
    <a href="../plugin/plugin">../</a>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 13 07:34:14 GMT 2019
    - 3.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            assertEquals(66, result);
            assertEquals(0, response.getStatus()); // Should be STATUS_SUCCESS
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat preserves buffer content")
        void testReadBytesWireFormatPreservesBuffer() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Fill buffer with test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. .teamcity/scripts/update_wrapper_and_create_pr.sh

    post() {
        local endpoint="$1"
        local data="$2"
    
        local response=$(curl -X POST \
            -H "Authorization: token $GITHUB_TOKEN" \
            -H "Accept: application/vnd.github.v3+json" \
            -H "Content-Type: application/json" \
            "https://api.github.com/repos/gradle/gradle$endpoint" \
            -d "$data" \
            -w "\n%{http_code}" \
            2>/dev/null)
    
        local http_code=$(echo "$response" | tail -n1)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. docs/iam/access-management-plugin.md

        "groups": null,
        "action": "s3:ListBucket",
        "bucket": "test",
        "conditions": {
          "Authorization": [
            "AWS4-HMAC-SHA256 Credential=minio/20220507/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=62012db6c47d697620cf6c68f0f45f6e34894589a53ab1faf6dc94338468c78a"
          ],
          "CurrentTime": [
            "2022-05-07T18:31:41Z"
          ],
          "Delimiter": [
            "/"
          ],
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Click Count (1)
  6. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            final ChatSession session = new ChatSession();
            session.addUserMessage("User message content");
    
            assertEquals(1, session.getMessages().size());
            assertEquals(ChatMessage.ROLE_USER, session.getMessages().get(0).getRole());
            assertEquals("User message content", session.getMessages().get(0).getContent());
        }
    
        @Test
        public void test_addAssistantMessage() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  7. docs_src/additional_responses/tutorial002_py310.py

    
    class Item(BaseModel):
        id: str
        value: str
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 596 bytes
    - Click Count (0)
  8. docs_src/additional_status_codes/tutorial001_py310.py

            item["size"] = size
            return item
        else:
            item = {"name": name, "size": size}
            items[item_id] = item
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 646 bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/stream-data.md

    ## 自定义 `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    
    在上面的示例中,虽然按字节流式传输了数据,但响应没有 `Content-Type` 头,因此客户端不知道接收到的数据类型。
    
    你可以创建 `StreamingResponse` 的自定义子类,将 `Content-Type` 头设置为你要流式传输的数据类型。
    
    例如,你可以创建一个 `PNGStreamingResponse`,通过 `media_type` 属性把 `Content-Type` 头设置为 `image/png`:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[6,19:20] hl[20] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. cmd/bucket-handlers.go

    		return
    	}
    
    	// Content-Md5 is required should be set
    	// http://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html
    	if !validateLengthAndChecksum(r) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentMD5), r.URL)
    		return
    	}
    
    	// Content-Length is required and should be non-zero
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
Back to Top