- Sort Score
- Result 10 results
- Languages All
Results 1301 - 1310 of 3,265 for code2 (0.02 sec)
-
cmd/api-response_test.go
} func TestWriteResponseHeadersWritten(t *testing.T) { rw := httptest.NewRecorder() rw.Code = -1 trw := &trackingResponseWriter{ResponseWriter: rw, headerWritten: true} writeResponse(trw, 200, []byte("hello"), "application/foo") if rw.Code != -1 { t.Fatalf("response was written when it shouldn't have been (Code=%v)", rw.Code) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:19 UTC 2025 - 5.8K bytes - Viewed (0) -
apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt
works, in source code and object code form. b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 17 05:50:12 UTC 2018 - 11.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-op-request.md
``` # Copy and paste here ``` **Standalone code to reproduce the issue** Provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Colab/Jupyter/any notebook. Also, please include a link to a GraphDef or the model if possible. **Any other info / logs** Include any logs or source code that would be helpful to diagnose the problem.
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 879 bytes - Viewed (0) -
fastapi/routing.py
Doc( """ The default status code to be used for the response. You could override the status code by returning a response directly. Read more about it in the [FastAPI docs for Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/). """ ), ] = None,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (0) -
cmd/admin-handlers_test.go
} rec := httptest.NewRecorder() adminTestBed.router.ServeHTTP(rec, req) resp, _ := io.ReadAll(rec.Body) if rec.Code != http.StatusOK { t.Errorf("Expected to receive %d status code but received %d. Body (%s)", http.StatusOK, rec.Code, string(resp)) } result := &serviceResult{} if err := json.Unmarshal(resp, result); err != nil { t.Error(err) } _ = result
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1) -
docs/es/docs/fastapi-cli.md
Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font> <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span> 🐍 main.py <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span> Importing the FastAPI app object from the module with the following code:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:15:01 UTC 2025 - 5K bytes - Viewed (0) -
docs/zh/docs/tutorial/debugging.md
# 调试 你可以在编辑器中连接调试器,例如使用 Visual Studio Code 或 PyCharm。 ## 调用 `uvicorn` 在你的 FastAPI 应用中直接导入 `uvicorn` 并运行: {* ../../docs_src/debugging/tutorial001.py hl[1,15] *} ### 关于 `__name__ == "__main__"` `__name__ == "__main__"` 的主要目的是使用以下代码调用文件时执行一些代码: <div class="termy"> ```console $ python myapp.py ``` </div> 而当其它文件导入它时并不会被调用,像这样: ```Python from myapp import app ``` #### 更多细节Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
* * @return The list of exceptions that occurred during resolution, never {@code null} */ @Nonnull List<Exception> getExceptions(); /** * Gets the versions (in ascending order) that matched the requested range. * * @return The list of matching versions, never {@code null}. An empty list indicates * no versions matched the requested range. */ @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 3.4K bytes - Viewed (0) -
misc/cgo/gmp/fib.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // Compute Fibonacci numbers with two goroutines // that pass integers back and forth. No actual // concurrency, just threads and synchronization // and foreign code on multiple pthreads. package main import ( big "." "runtime" )
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 919 bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java
* * @param settingsFile The settings file, must not be {@code null}. */ public FileSettingsSource(File settingsFile) { super(settingsFile); } /** * Gets the settings file of this model source. * * @return The underlying settings file, never {@code null}. * @deprecated instead use {@link #getFile()} */ @DeprecatedRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0)