Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 2,125 for convert (0.24 seconds)

  1. cmd/metrics-v3-audit.go

    		"Total number of messages sent since start",
    		targetID)
    )
    
    // loadAuditMetrics - `MetricsLoaderFn` for audit
    // such as failed messages and total messages.
    func loadAuditMetrics(_ context.Context, m MetricValues, c *metricsCache) error {
    	audit := logger.CurrentStats()
    	for id, st := range audit {
    		labels := []string{targetID, id}
    		m.Set(auditFailedMessages, float64(st.FailedMessages), labels...)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 10 14:50:39 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/ASN1UtilTest.java

            ASN1Integer content = new ASN1Integer(789);
            ASN1TaggedObject tagged = new DERTaggedObject(true, 1, content);
            ASN1Integer result = ASN1Util.as(ASN1Integer.class, tagged);
            assertSame(content, result);
        }
    
        @Test
        void testAs_ASN1TaggedObject_Failure() {
            // Test failed casting from tagged object
            ASN1Integer content = new ASN1Integer(789);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

          Request
            .Builder()
            .url("https://square.com/")
            .post("This is the original message".toRequestBody())
            .addHeader("Content-Encoding", "deflate")
            .gzip()
            .build()
        }.also {
          assertThat(it).hasMessage("Content-Encoding already set: deflate")
        }
      }
    
      @Test
      fun cannotGzipTwice() {
        assertFailsWith<IllegalStateException> {
          Request
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            doc.put("title", "Test Doc");
            doc.put("url", "http://example.com");
            doc.put("content", "Plain text content without any HTML");
            documents.add(doc);
    
            final String result = client.testBuildContext(documents);
            assertTrue(result.contains("Plain text content without any HTML"));
        }
    
        @Test
        public void test_buildContext_multipleDocumentsWithHtml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsRelatedContentCA.java

        }
    
        public void setContent_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) {
            setContent_Terms("content", opLambda, null);
        }
    
        public void setContent_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsRelatedContentCA> aggsLambda) {
            setContent_Terms("content", opLambda, aggsLambda);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. tensorflow/c/eager/dlpack.cc

    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Managing context for the DLManagedTensor, will manage the lifetime of
    // DLManagedTensor. When calling DLManagedTensor::deleter, it will notify the
    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Mar 13 23:41:52 GMT 2025
    - 13K bytes
    - Click Count (0)
  7. docs/ko/docs/advanced/custom-response.md

    이 클래스를 직접 반환할 수 있습니다.
    
    다음 매개변수를 받을 수 있습니다:
    
    * `content` - `str` 또는 `bytes`.
    * `status_code` - HTTP 상태 코드를 나타내는 `int`.
    * `headers` - 문자열로 이루어진 `dict`.
    * `media_type` - 미디어 타입을 나타내는 `str` 예: `"text/html"`.
    
    FastAPI(정확히는 Starlette)가 자동으로 Content-Length 헤더를 포함시킵니다. 또한 `media_type`에 기반하여 Content-Type 헤더를 포함하며, 텍스트 타입의 경우 문자 집합을 추가합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                className.insert(0, ".").insert(0, packageElement.getQualifiedName());
            }
    
            return className.toString();
        }
    
        /**
         * Updates the index file if its content has changed.
         * The file is created at {@code META-INF/maven/org.apache.maven.api.di.Inject} and contains
         * the fully qualified names of classes with the {@link Named} annotation.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/additional-responses.md

                "description": "Additional Response",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                }
            },
            "200": {
                "description": "Successful Response",
                "content": {
                    "application/json": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/custom-response.md

    其他全部的响应都继承自主类 `Response`。
    
    你可以直接返回它。
    
    `Response` 类接受如下参数:
    
    * `content` - 一个 `str` 或者 `bytes`。
    * `status_code` - 一个 `int` 类型的 HTTP 状态码。
    * `headers` - 一个由字符串组成的 `dict`。
    * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。
    
    FastAPI(实际上是 Starlette)将自动包含 Content-Length 的头。它还将包含一个基于 `media_type` 的 Content-Type 头,并为文本类型附加一个字符集。
    
    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top