Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5621 - 5630 of 7,200 for RETURN (0.14 sec)

  1. docs_src/templates/tutorial001_py39.py

    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    templates = Jinja2Templates(directory="templates")
    
    
    @app.get("/items/{id}", response_class=HTMLResponse)
    async def read_item(request: Request, id: str):
        return templates.TemplateResponse(
            request=request, name="item.html", context={"id": id}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 521 bytes
    - Viewed (0)
  2. docs_src/behind_a_proxy/tutorial001_py39.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 189 bytes
    - Viewed (0)
  3. docs_src/configure_swagger_ui/tutorial003_py39.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"deepLinking": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 201 bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

        LOG(INFO) << "Device " << i << " has name " << device_name << ", type "
                  << device_type;
        if (string(device_type) == DEVICE_GPU) {
          return device_name;
        }
      }
      // No GPU device found.
      return "";
    }
    
    string GPUDeviceName() {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Status* s = status.get();
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 97K bytes
    - Viewed (0)
  5. docs_src/custom_response/tutorial009_py39.py

    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    async def main():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 202 bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy

     */
    class AnonymousClassesFilter implements ClassFilter {
    
        private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$')
    
        @Override
        boolean matches(CtClass ctClass) {
            return ctClass.name.matches(PATTERN)
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInvokeDefaultBridgeFilter.groovy

     */
    class KotlinInvokeDefaultBridgeFilter implements BehaviorFilter {
        @Override
        boolean matches(CtBehavior ctBehavior) {
            return ctBehavior.name.startsWith("access\$invoke\$jd")
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 08 07:03:16 UTC 2025
    - 1K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

      private val offset = ZoneOffset.systemDefault()
    
      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (1)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt

       * URL is. Includes the query component if it exists.
       */
      fun requestPath(url: HttpUrl): String {
        val path = url.encodedPath
        val query = url.encodedQuery
        return if (query != null) "$path?$query" else path
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jun 17 00:47:36 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/InvalidProjectModelException.java

            this(projectId, message, new File(pomLocation));
        }
    
        public final ModelValidationResult getValidationResult() {
            return validationResult;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top