Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,746 for preset (0.44 sec)

  1. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserQuestions.java

         * allowing the user to type 'y' or 'n' or presenting a checkbox. The user is not required to answer 'true' or 'false'
         *
         * @param question The text of the question.
         * @param defaultValue The option to present to the user as the default choice, and the value to use when not connected to a console
         * @return the answer or the given default if not connected to a console.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/time/tick.go

    	stopTimer((*Timer)(unsafe.Pointer(t)))
    }
    
    // Reset stops a ticker and resets its period to the specified duration.
    // The next tick will arrive after the new period elapses. The duration d
    // must be greater than zero; if not, Reset will panic.
    func (t *Ticker) Reset(d Duration) {
    	if d <= 0 {
    		panic("non-positive interval for Ticker.Reset")
    	}
    	if !t.initTicker {
    		panic("time: Reset called on uninitialized Ticker")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            when:
            property.set(['key': 'v1'])
            then:
            entryProvider.present
            entryProvider.get() == 'v1'
            entryProvider.getOrNull() == 'v1'
    
            when:
            property.set(Providers.of(['key': 'v2']))
            then:
            entryProvider.present
            entryProvider.get() == 'v2'
            entryProvider.getOrNull() == 'v2'
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/MultiVersionIntegrationSpec.groovy

            if (version == null) {
                throw new IllegalStateException("No version present")
            }
            def m = version.toString() =~ CLASSIFIER_PATTERN
            VersionNumber.parse(m[0][1])
        }
    
        @Nullable
        static String getVersionClassifier() {
            if (version == null) {
                throw new IllegalStateException("No version present")
            }
            def m = version.toString() =~ CLASSIFIER_PATTERN
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

            @Override
            public int read(final char[] cbuf, final int off, final int len) {
                throw new IllegalStateException("TokenStream contract violation: reset()/close() call missing, "
                        + "reset() called multiple times, or subclass does not call super.reset(). "
                        + "Please see Javadocs of TokenStream class for more information about the correct consuming workflow.");
            }
    
            @Override
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/authorizationconfig/metrics/metrics.go

    		legacyregistry.MustRegister(authorizationConfigAutomaticReloadLastTimestampSeconds)
    	})
    }
    
    func ResetMetricsForTest() {
    	authorizationConfigAutomaticReloadsTotal.Reset()
    	authorizationConfigAutomaticReloadLastTimestampSeconds.Reset()
    }
    
    func RecordAuthorizationConfigAutomaticReloadFailure(apiServerID string) {
    	apiServerIDHash := getHash(apiServerID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:20:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/build.gradle.kts

        api(libs.awsS3Core)
        api(libs.awsS3S3)
        api(libs.awsS3Kms) {
            because("Loaded by the AWS libraries with reflection when present")
        }
        api(libs.awsS3Sts) {
            because("Loaded by the AWS libraries with reflection when present: https://github.com/gradle/gradle/issues/15332")
        }
        api(libs.guava)
    
        implementation(projects.baseServices)
        implementation(project(":hashing"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            }
            return super.ignoreCleanupAssertions();
        }
    
        @Override
        public GradleExecuter reset() {
            if (gradleExecuter != null) {
                gradleExecuter.reset();
            }
            return super.reset();
        }
    
        // The following overrides are here instead of in 'InProcessGradleExecuter' due to the way executors are layered+inherited
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	//
    	// This depends on the provided rcfg.LogWriter and the presence of
    	// dir.DebugDir, as follows:
    	//  1. If LogWriter is present, log to it.
    	//  2. If DebugDir is present, log to a file within it.
    	//  3. If both LogWriter and DebugDir are present, log to a multi writer.
    	//  4. If neither LogWriter nor DebugDir are present, log to a noop logger.
    	var logWriters []io.Writer
    	logFile, err := debugLogFile(dir.DebugDir())
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. docs/zh/docs/how-to/configure-swagger-ui.md

    ## JavaScript-only 配置
    
    Swagger UI 同样允许使用 **JavaScript-only** 配置对象(例如,JavaScript 函数)。
    
    FastAPI 包含这些 JavaScript-only 的 `presets` 设置:
    
    ```JavaScript
    presets: [
        SwaggerUIBundle.presets.apis,
        SwaggerUIBundle.SwaggerUIStandalonePreset
    ]
    ```
    
    这些是 **JavaScript** 对象,而不是字符串,所以你不能直接从 Python 代码中传递它们。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun May 05 21:34:13 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top