Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1461 - 1470 of 3,547 for getC (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/index.md

        * 数据库模型。
        * ……以及更多。
    * 自动生成的交互式 API 文档,包括两种可选的用户界面:
        * Swagger UI。
        * ReDoc。
    
    ---
    
    回到之前的代码示例,**FastAPI** 将会:
    
    * 校验 `GET` 和 `PUT` 请求的路径中是否包含 `item_id`。
    * 校验 `GET` 和 `PUT` 请求中的 `item_id` 是否为 `int` 类型。
        * 如果不是,客户端会看到清晰有用的错误信息。
    * 对于 `GET` 请求,检查是否存在名为 `q` 的可选查询参数(如 `http://127.0.0.1:8000/items/foo?q=somequery`)。
        * 因为参数 `q` 被声明为 `= None`,所以它是可选的。
        * 如果没有 `None`,它就是必需的(就像 `PUT` 情况下的请求体)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  2. internal/ioutil/ioutil.go

    var (
    	ODirectPoolLarge  = NewAlignedBytePool(LargeBlock)
    	ODirectPoolMedium = NewAlignedBytePool(MediumBlock)
    	ODirectPoolSmall  = NewAlignedBytePool(SmallBlock)
    )
    
    // Get a block.
    func (p *AlignedBytePool) Get() *[]byte {
    	return p.p.Get()
    }
    
    // Put a block.
    func (p *AlignedBytePool) Put(pb *[]byte) {
    	if pb != nil && len(*pb) == p.size {
    		p.p.Put(pb)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        }
        if (op_type_.empty()) {
          return errors::FailedPrecondition(
              "GraphOperation::Reset must be called before calling SetOpName.");
        }
        // TODO(b/145674566): We use Graph::NewName to get a unique name here but
        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
        op_.reset(new TF_OperationDescription(g_, op_type_.c_str(),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            runningField.setAccessible(true);
            ((AtomicBoolean) runningField.get(null)).set(false);
    
            Field errorsField = Crawler.class.getDeclaredField("errors");
            errorsField.setAccessible(true);
            ((Queue<?>) errorsField.get(null)).clear();
        }
    
        // Test addError method
        @Test
        public void test_addError_withValidMessage() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

            }
        }
    
        /**
         * Get validation statistics
         */
        public ValidationStats getStats() {
            return new ValidationStats(totalValidations.get(), failedValidations.get(), bufferOverflowsPrevented.get(),
                    integerOverflowsPrevented.get());
        }
    
        /**
         * Reset statistics
         */
        public void resetStats() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *
         * @param key The name of the method.
         * @return List list of methods
         */
        List<Method> get(String key) {
            return methodByNameMap.get(key);
        }
    
        /**
         * Find a method.  Attempts to find the
         * most specific applicable method using the
         * algorithm described in the JLS section
         * 15.12.2 (with the exception that it can't
         * distinguish a primitive type argument from
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

    import org.gradle.testkit.runner.TaskOutcome
    
    class YamlRestCompatTestPluginFuncTest extends AbstractRestResourcesFuncTest {
    
        def compatibleVersion = Version.fromString(VersionProperties.getVersions().get("elasticsearch")).getMajor() - 1
        def specIntermediateDir = "restResources/v${compatibleVersion}/yamlSpecs"
        def testIntermediateDir = "restResources/v${compatibleVersion}/yamlTests"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

      private var contentLength = -1L
    
      @get:JvmName("boundary")
      val boundary: String
        get() = boundaryByteString.utf8()
    
      /** The number of parts in this multipart body. */
      @get:JvmName("size")
      val size: Int
        get() = parts.size
    
      fun part(index: Int): Part = parts[index]
    
      override fun isOneShot(): Boolean = parts.any { it.body.isOneShot() }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        certificateChainCleaner = certificateChainCleaner,
      )
    
      override val eventListener: EventListener
        get() = call.eventListener
    
      override val followSslRedirects: Boolean
        get() = call.client.followSslRedirects
    
      override val followRedirects: Boolean
        get() = call.client.followRedirects
    
      override fun connection(): Connection? = exchange?.connection
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

        val shadowPackagePrefix =
            shadowPackage.takeIf(String::isNotEmpty)
                ?.let { it.replace('.', '/') + "/" }
                ?: ""
    
        operator fun get(className: String) =
            classes.computeIfAbsent(className) {
                val outputClassName = if (unshadedPackages.matches(className)) className else shadowPackagePrefix + className
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 2.6K bytes
    - Click Count (0)
Back to Top