Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for conditional (0.28 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/kotlin/settings.gradle.kts

    rootProject.name = "customizing-resolution-conditional-substitution-rule"
    val projectNames = listOf("project1", "project2", "project3")
    include("consumer")
    
    projectNames.forEach { name ->
        if (isIncluded(name)) {
            println("project $name is INTERNAL to this build")
            include(name)
        } else {
            println("project $name is external to this build")
        }
    }
    
    fun isIncluded(projectName: String): Boolean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 616 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/buildCache/conditional-action/kotlin/settings.gradle.kts

    rootProject.name = "conditional-action"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 40 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/maven-publish/conditional-publishing/groovy/settings.gradle

    rootProject.name = 'maven-conditional-publishing'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 50 bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/groovy/settings.gradle

    rootProject.name = 'customizing-resolution-conditional-substitution-rule'
    ext.projectNames = ["project1", "project2", "project3"]
    include 'consumer'
    
    projectNames.each { name ->
        if (isIncluded(name)) {
            println "project $name is INTERNAL to this build"
            include name
        } else {
            println "project $name is external to this build"
        }
    }
    
    def isIncluded(String projectName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 593 bytes
    - Viewed (0)
  6. internal/config/cache/remote.go

    	Data         []byte            `json:"data,omitempty" msg:",omitempty"` // Data can container full data of the object or partial
    }
    
    // WriteHeaders writes the response headers for conditional requests
    func (oi ObjectInfo) WriteHeaders(w http.ResponseWriter, preamble, statusCode func()) {
    	preamble()
    
    	if !oi.ModTime.IsZero() {
    		w.Header().Set(xhttp.LastModified, oi.ModTime.UTC().Format(http.TimeFormat))
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/ConditionalExecutionQueue.java

     * be that a worker lease must be acquired before execution.
     */
    public interface ConditionalExecutionQueue<T> extends Stoppable {
        /**
         * Submit a new conditional execution to the queue.  The execution will occur asynchronously when the provided
         * resource lock (see {@link ConditionalExecution#getResourceLock()}) can be acquired.  On completion,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

    import okhttp3.internal.http.RealInterceptorChain
    
    /**
     * Opens a connection to the target server and proceeds to the next interceptor. The network might
     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    object ConnectInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top