Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 458 for stagger (0.4 sec)

  1. cmd/bootstrap-peer-server.go

    					}
    				} else {
    					onlineServers++
    				}
    				mu.Unlock()
    			}(clnt)
    		}
    		wg.Wait()
    
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		default:
    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/sort/sort_test.go

    func testBentleyMcIlroy(t *testing.T, sort func(Interface), maxswap func(int) int) {
    	sizes := []int{100, 1023, 1024, 1025}
    	if testing.Short() {
    		sizes = []int{100, 127, 128, 129}
    	}
    	dists := []string{"sawtooth", "rand", "stagger", "plateau", "shuffle"}
    	modes := []string{"copy", "reverse", "reverse1", "reverse2", "sort", "dither"}
    	var tmp1, tmp2 [1025]int
    	for _, n := range sizes {
    		for m := 1; m < 2*n; m *= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. cmd/bucket-metadata-sys.go

    	g := errgroup.WithNErrs(len(buckets))
    	bucketMetas := make([]BucketMetadata, len(buckets))
    	for index := range buckets {
    		index := index
    		g.Go(func() error {
    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. docs/zh/docs/how-to/configure-swagger-ui.md

    # 配置 Swagger UI
    
    你可以配置一些额外的 <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI 参数</a>.
    
    如果需要配置它们,可以在创建 `FastAPI()` 应用对象时或调用 `get_swagger_ui_html()` 函数时传递 `swagger_ui_parameters` 参数。
    
    `swagger_ui_parameters` 接受一个直接传递给 Swagger UI的字典,包含配置参数键值对。
    
    FastAPI会将这些配置转换为 **JSON**,使其与 JavaScript 兼容,因为这是 Swagger UI 需要的。
    
    ## 不使用语法高亮
    
    比如,你可以禁用 Swagger UI 中的语法高亮。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun May 05 21:34:13 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/configure-swagger-ui.md

    # Configure Swagger UI
    
    You can configure some extra <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI parameters</a>.
    
    To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function.
    
    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Program.kt

        /**
         * A script that must be dynamically evaluated after stage 1 completes and the script classpath
         * becomes available.
         */
        data class Script(val source: ProgramSource) : Program()
    
        /**
         * A [Stage1] program followed by a stage 2 [Script] program.
         */
        data class Staged(val stage1: Stage1, val stage2: Script) : Program()
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. docs/de/docs/how-to/configure-swagger-ui.md

    ```
    
    ## Andere Parameter der Swagger-Oberfläche
    
    Um alle anderen möglichen Konfigurationen zu sehen, die Sie verwenden können, lesen Sie die offizielle <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Dokumentation für die Parameter der Swagger-Oberfläche</a>.
    
    ## JavaScript-basierte Einstellungen
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:17:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. samples/bookinfo/swagger.yaml

    swagger: "2.0"
    info:
      description: "This is the API of the Istio BookInfo sample application."
      version: "1.0.0"
      title: "BookInfo API"
      termsOfService: "https://istio.io/"
      license:
        name: "Apache 2.0"
        url: "http://www.apache.org/licenses/LICENSE-2.0.html"
    basePath: "/api/v1"
    tags:
    - name: "product"
      description: "Information about a product (in this case a book)"
    - name: "review"
      description: "Review information for a product"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 17:00:23 UTC 2017
    - 6.2K bytes
    - Viewed (0)
  9. hack/gen-swagger-doc/gen-swagger-docs.sh

    # limitations under the License.
    
    # Script to generate docs from the latest swagger spec.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    cd /build
    
    # gendocs takes "input.json" as the input swagger spec.
    # $1 is expected to be <group>_<version>
    cp /swagger-source/"$1".json input.json
    
    ./gradle-2.5/bin/gradle gendocs --info
    
    #insert a TOC for top level API objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 19 12:58:58 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt

                    Dynamic(
                        Static(
                            SetupEmbeddedKotlin,
                            ApplyPluginRequestsOf(program.stage1),
                            ApplyBasePlugins
                        ),
                        program.stage2.source
                    )
                )
            )
        }
    
        @Test
        fun `Project target - top-level - declarative plugins block - empty body`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 38.9K bytes
    - Viewed (0)
Back to top