Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,172 for conditional (0.2 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessorTest.groovy

            def e = thrown(InvalidUserCodeException)
            e.message == "There was an error while evaluating a component selection rule for group:module:version."
            e.cause == failure
        }
    
        // Conditional rules execution tests will need to be removed once feature is removed
        def "rule expecting IvyModuleDescriptor does not get called when not an ivy component"() {
            def metadataProvider = Stub(DefaultMetadataProvider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/asm_test.go

    	defer os.RemoveAll(dir)
    
    	// A few interesting test cases for long conditional branch fixups
    	tests := []struct {
    		jmpinsn     string
    		backpattern []string
    		fwdpattern  []string
    	}{
    		// Test the interesting cases of conditional branch rewrites for too-far targets. Simple conditional
    		// branches can be made to reach with one JMP insertion, compound conditionals require two.
    		//
    		// beq <-> bne conversion (insert one jump)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/sccp.go

    package ssa
    
    import (
    	"fmt"
    )
    
    // ----------------------------------------------------------------------------
    // Sparse Conditional Constant Propagation
    //
    // Described in
    // Mark N. Wegman, F. Kenneth Zadeck: Constant Propagation with Conditional Branches.
    // TOPLAS 1991.
    //
    // This algorithm uses three level lattice for SSA value
    //
    //      Top        undefined
    //     / | \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    	PrefixFS Prefix = 0x64 // FS segment override
    	PrefixGS Prefix = 0x65 // GS segment override
    
    	// Branch prediction.
    	PrefixPN Prefix = 0x12E // predict not taken (conditional branch only)
    	PrefixPT Prefix = 0x13E // predict taken (conditional branch only)
    
    	// Size attributes.
    	PrefixDataSize Prefix = 0x66 // operand size override
    	PrefixData16   Prefix = 0x166
    	PrefixData32   Prefix = 0x266
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go

    		}
    	}
    
    	// Branch predict prefixes are overloaded segment prefixes,
    	// since segment prefixes don't make sense on conditional jumps.
    	// Rewrite final instance to prediction prefix.
    	// The set of instructions to which the prefixes apply (other then the
    	// Jcc conditional jumps) is not 100% clear from the manuals, but
    	// the disassemblers seem to agree about the LOOP and JCXZ instructions,
    	// so we'll follow along.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/mips64.s

    	BEQ	R1, R2, label2	// BEQ R1, R2, 20	// 1022fffd
    
    //
    // other integer conditional branch
    //
    //	LBRA rreg ',' rel
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    label3:
    	BLTZ	R1, 1(PC)	// BLTZ R1, 1(PC)	// 04200001
    	BLTZ	R1, label3	// BLTZ R1, 22		// 0420fffd
    
    //
    // floating point conditional branch
    //
    //	LBRA rel
    label4:
    	BFPT	1(PC)	// BFPT 1(PC)			// 4501000100000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

     *  * **[Hit Count:][hitCount]** the number of those requests whose responses were served by the
     *    cache.
     *
     * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of
     * the response, the client will issue a conditional `GET`. The server will then send either
     * the updated response if it has changed, or a short 'not modified' response if the client's copy
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. src/runtime/mbarrier.go

    //
    //
    //
    // Dealing with memory ordering:
    //
    // Both the Yuasa and Dijkstra barriers can be made conditional on the
    // color of the object containing the slot. We chose not to make these
    // conditional because the cost of ensuring that the object holding
    // the slot doesn't concurrently change color without the mutator
    // noticing seems prohibitive.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top