Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,706 for conditional (0.17 sec)

  1. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningSamplesSpec.groovy

            using m2
        }
    
        @UsesSample('signing/conditional')
        def "conditional signing with dsl #dsl"() {
            given:
            inDirectory(sample.dir.file(dsl))
    
            when:
            run "publish"
    
            then:
            skipped(":signMainPublication")
    
            and:
            def module = repoFor(dsl).module('gradle', 'conditional', '1.0-SNAPSHOT')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/signing_plugin.adoc

    include::sample[dir="snippets/signing/conditional/kotlin",files="build.gradle.kts[tags=conditional-signing]"]
    include::sample[dir="snippets/signing/conditional/groovy",files="build.gradle[tags=conditional-signing]"]
    ====
    
    In this example, we only want to require signing if we are building a release version and we are going to publish it.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  3. cmd/postpolicyform.go

    			}
    		}
    	}
    
    	// Flag to indicate if all policies conditions are satisfied
    	var condPassed bool
    
    	// Iterate over policy conditions and check them against received form fields
    	for _, policy := range postPolicyForm.Conditions.Policies {
    		// Form fields names are in canonical format, convert conditions names
    		// to canonical for simplification purpose, so `$key` will become `Key`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 10:52:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_customization.adoc

    ====
    include::sample[dir="snippets/maven-publish/conditional-publishing/kotlin",files="build.gradle.kts[tags=task-config]"]
    include::sample[dir="snippets/maven-publish/conditional-publishing/groovy",files="build.gradle[tags=task-config]"]
    ====
    
    .Output of `gradle publish`
    ----
    > gradle publish
    include::{snippetsPath}/maven-publish/conditional-publishing/tests/publishingMavenConditionally.out[]
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
      @get:JvmName("noCache") val noCache: Boolean,
      /** If true, this response should not be cached. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            3,
            CharStreams.readLines(r, alwaysTrue).intValue());
    
        // Test a LineProcessor that is conditional.
        r = new StringReader(text);
        final StringBuilder sb = new StringBuilder();
        LineProcessor<Integer> conditional =
            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharStreamsTest.java

            3,
            CharStreams.readLines(r, alwaysTrue).intValue());
    
        // Test a LineProcessor that is conditional.
        r = new StringReader(text);
        final StringBuilder sb = new StringBuilder();
        LineProcessor<Integer> conditional =
            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/runtime/traceback_test.go

    			},
    			abiSel(
    				"testTracebackArgs10(0xffffffff?, 0xffffffff?, 0xffffffff?, 0xffffffff?, 0xffffffff?)",
    				"testTracebackArgs10(0x1, 0x2, 0x3, 0x4, 0x5)"),
    		},
    		// Conditional spills.
    		// Spill in conditional, not executed.
    		{
    			func() int {
    				poisonStack() // poison arg area to make output deterministic
    				return testTracebackArgs11a(1, 2, 3)
    			},
    			abiSel(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/common_caching_problems.adoc

    include::sample[dir="snippets/buildCache/conditional-action/groovy",files="build.gradle[tags=conditionalAction]"]
    ====
    
    You should always add the action unconditionally:
    
    ====
    include::sample[dir="snippets/buildCache/conditional-action/kotlin",files="build.gradle.kts[tags=unconditionalAction]"]
    include::sample[dir="snippets/buildCache/conditional-action/groovy",files="build.gradle[tags=unconditionalAction]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          if (networkResponse == null && cacheCandidate != null) {
            cacheCandidate.body.closeQuietly()
          }
        }
    
        // If we have a cache response too, then we're doing a conditional get.
        if (cacheResponse != null) {
          if (networkResponse?.code == HTTP_NOT_MODIFIED) {
            val response =
              cacheResponse.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top