- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 994 for main (0.05 sec)
-
docs/zh/docs/tutorial/index.md
本教程将一步步向你展示如何使用 **FastAPI** 的绝大部分特性。 各个章节的内容循序渐进,但是又围绕着单独的主题,所以你可以直接跳转到某个章节以解决你的特定需求。 本教程同样可以作为将来的参考手册。 你可以随时回到本教程并查阅你需要的内容。 ## 运行代码 所有代码片段都可以复制后直接使用(它们实际上是经过测试的 Python 文件)。 要运行任何示例,请将代码复制到 `main.py` 文件中,然后使用以下命令启动 `uvicorn`: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 2.4K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
destinationFile = futurePluginVersionsPropertiesFile } val futurePluginVersionsDestDir = futurePluginVersionsPropertiesFile.map { it.asFile.parentFile } sourceSets.main { output.dir(mapOf("builtBy" to writeFuturePluginVersions), futurePluginVersionsDestDir) } configurations.runtimeElements { outgoing { variants.named("resources") {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 08 14:54:27 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
if (getContainer().hasComponent(ProjectBuilder.class, "test")) { projectBuilder = getContainer().lookup(ProjectBuilder.class, "test"); } else { // default over to the main project builder... projectBuilder = getContainer().lookup(ProjectBuilder.class); } } protected ProjectBuilder getProjectBuilder() { return projectBuilder; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* conformance. * <li>The test classes currently do not declare inclusion in any particular package to simplify * things for people integrating them in TCK test suites. * <li>As a convenience, the {@code main} of this class (JSR166TestCase) runs all JSR166 unit * tests. * </ul> */ // We call threadUnexpectedException, which does the right thing for errors. @SuppressWarnings("AssertionFailureIgnored")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
src/archive/tar/writer.go
var nf int // Bytes written in fragment dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset() if sw.pos < dataStart { // In a hole fragment bf := b[:min(int64(len(b)), dataStart-sw.pos)] nf, err = zeroWriter{}.Write(bf) } else { // In a data fragment bf := b[:min(int64(len(b)), dataEnd-sw.pos)] nf, err = sw.fw.Write(bf) } b = b[nf:] sw.pos += int64(nf) if sw.pos >= dataEnd && len(sw.sp) > 1 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
Including how to handle lifespan state that can be used in other areas of your code. /// ## Sub Applications
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:36:22 UTC 2024 - 7.6K bytes - Viewed (0) -
internal/s3select/sql/statement.go
return } } // Validate table name err = validateTableName(selectAST.From) if err != nil { return } // Analyze main select expression stmt.selectQProp = selectAST.Expression.analyze(&selectAST) err = stmt.selectQProp.err if err != nil { err = errQueryAnalysisFailure(err) } // Set table alias
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 8.9K bytes - Viewed (0) -
internal/dsync/drwmutex_test.go
package dsync import ( "context" "fmt" "runtime" "sync/atomic" "testing" "time" ) const ( id = "1234-5678" source = "main.go" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { drwm1 := NewDRWMutex(ds, "simplelock") ctx1, cancel1 := context.WithCancel(context.Background())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
**FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. /// ### `Response` The main `Response` class, all the other responses inherit from it. You can return it directly. It accepts the following parameters: * `content` - A `str` or `bytes`. * `status_code` - An `int` HTTP status code.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12K bytes - Viewed (0) -
internal/jwt/parser.go
// additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1 // original file https://github.com/golang-jwt/jwt/blob/main/parser.go // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE import ( "bytes" "crypto" "crypto/hmac" "encoding/base64" "errors" "fmt" "hash" "sync" "time" "github.com/buger/jsonparser"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0)