Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 355 for xHello (0.11 sec)

  1. docs/zh/docs/advanced/behind-a-proxy.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    返回的响应如下:
    
    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### 在 FastAPI 应用里设置 `root_path`
    
    还有一种方案,如果不能提供 `--root-path` 或等效的命令行选项,则在创建 FastAPI 应用时要设置 `root_path` 参数。
    
    ```Python hl_lines="3"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MultiProjectJvmApplicationInitIntegrationTest.groovy

            assertTestPassed("list", "org.example.list.LinkedListTest", "testRemoveMissing")
    
            when:
            succeeds "run"
    
            then:
            outputContains("Hello World!")
    
            where:
            incubating << [true, false]
        }
    }
    
    abstract class AbstractMultiProjectJvmApplicationInitIntegrationTest2 extends AbstractMultiProjectJvmApplicationInitIntegrationTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            then:
            outputContains("Hello from Gradle 7.0+")
    
            and:
            def gradle6Executer = buildContext.distribution("6.7.1").executer(temporaryFolder, buildContext)
            def gradle6Result = gradle6Executer.usingProjectDirectory(consumer).withTasks('greet').run()
    
            then:
            gradle6Result.assertOutputContains("Hello from Gradle <7.0")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

            def lib = new IncrementalSwiftStaleCompileOutputLib()
            def outputDirectory = file("build/obj/main/debug")
            def outputs = createCompilationOutputs(outputDirectory)
            settingsFile << "rootProject.name = 'hello'"
    
            given:
            lib.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'swift-library'
             """
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

    func.func @testIf1Result(%arg0: tensor<i1>, %arg1: tensor<*xf32>) -> tensor<*xf32> {
      %0 = "tf.If"(%arg0, %arg1) {
        then_branch = @testIf1Then, else_branch = @testIf1Else, is_stateless = false,
        _attr0 = 10, _attr1 = true, attr2 = "hello"
      } : (tensor<i1>, tensor<*xf32>) -> tensor<*xf32>
    
      // CHECK: "tf.IfRegion"
      // CHECK-SAME: <{_else_func_name = "testIf1Else"
      // CHECK-SAME: _then_func_name = "testIf1Then"
      // CHECK-SAME: is_stateless = false
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    // remaining parts.
                    // E.g., coreR.string.hello
                    //   -> string.hello (drop the first segment)
                    //   test.pkg.R.string.hello
                    //   -> string.hello (take last two segments, where the size is determined by the size of qualified access minus 1)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. src/net/http/cgi/host_test.go

    	}
    }
    
    func TestCGIBasicGet(t *testing.T) {
    	testenv.MustHaveExec(t)
    	h := &Handler{
    		Path: os.Args[0],
    		Root: "/test.cgi",
    	}
    	expectedMap := map[string]string{
    		"test":                  "Hello CGI",
    		"param-a":               "b",
    		"param-foo":             "bar",
    		"env-GATEWAY_INTERFACE": "CGI/1.1",
    		"env-HTTP_HOST":         "example.com:80",
    		"env-PATH_INFO":         "",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. pilot/pkg/xds/delta_test.go

    	addTestClientEndpoints(s.MemRegistry)
    	s.MemRegistry.AddHTTPService(edsIncSvc, edsIncVip, 8080)
    	s.MemRegistry.SetEndpoints(edsIncSvc, "",
    		newEndpointWithAccount("127.0.0.1", "hello-sa", "v1"))
    	// Wait until the above debounce, to ensure we can precisely check XDS responses without spurious pushes
    	s.EnsureSynced(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

                    return ["Hello", "Number"]
                }
                assert type == Number
                return 12
            }
    
            when:
            def obj = create(AbstractClassRealizingTwoTypeParameters, services)
    
            then:
            obj.thing == 12
            obj.getThing() == 12
            obj.getProperty("thing") == 12
            obj.getOtherThing() == ["Hello", "Number"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

      func.func @init_all_tables() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init_all_tables"], tf_saved_model.initializer_type = "init_op"} {
        %cst = "tf.Const"() {value = dense<["hello", "model", "quantization"]> : tensor<3x!tf_type.string>} : () -> tensor<3x!tf_type.string>
        %cst_0 = "tf.Const"() {value = dense<[0, 1, 2]> : tensor<3xi64>} : () -> tensor<3xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 05:41:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top