Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ReadCache (0.24 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageArtifactsCacheTest.groovy

        def timeProvider = Stub(BuildCommencedTimeProvider)
        def readCache = Mock(AbstractArtifactsCache)
        def writeCache = Mock(AbstractArtifactsCache)
        def key = Stub(ArtifactsAtRepositoryKey)
    
        @Subject
        TwoStageArtifactsCache twoStageArtifactsCache = new TwoStageArtifactsCache(timeProvider, readCache, writeCache)
    
        def "reads first in write cache then in read cache"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/TwoStageModuleMetadataCacheTest.groovy

            0 * readCache._
        }
    
        def "reading from write cache then read cache"() {
            when:
            twoStageCache.get(key)
    
            then:
            1 * writeCache.get(key) >> null
            1 * readCache.get(key)
    
            when:
            twoStageCache.get(key)
    
            then:
            1 * writeCache.get(key) >> metadata
            0 * readCache._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCacheTest.groovy

        File artifact = Stub(File)
        HashCode hashCode = Stub(HashCode)
        def key = Stub(ArtifactAtRepositoryKey)
    
        def readCache = Mock(ModuleArtifactCache)
        def writeCache = Mock(ModuleArtifactCache)
    
        @Subject
        def twoStageCache = new TwoStageModuleArtifactCache(readOnlyPath, readCache, writeCache)
    
        def "storing delegates to the write index"() {
            when:
            twoStageCache.store(key, artifact, hashCode)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/dynamicversions/TwoStageModuleVersionsCacheTest.groovy

        def timeProvider = Stub(BuildCommencedTimeProvider)
        def readCache = Mock(AbstractModuleVersionsCache)
        def writeCache = Mock(AbstractModuleVersionsCache)
        def key = Stub(ModuleAtRepositoryKey)
        def entry = Stub(ModuleVersionsCacheEntry)
    
        @Subject
        def twoStageCache = new TwoStageModuleVersionsCache(timeProvider, readCache, writeCache)
    
        def "writing delegates to write cache"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	WriteConfig(file string, old, new []byte) error
    
    	// ReadCache reads and returns the content of the named cache file.
    	// Any returned error will be treated as equivalent to the file not existing.
    	// There can be arbitrarily many cache files, such as:
    	//	serverName/lookup/pkg@version
    	//	serverName/tile/8/1/x123/456
    	ReadCache(file string) ([]byte, error)
    
    	// WriteCache writes the named cache file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. src/internal/fuzz/fuzz.go

    	return time.Since(c.startTime).Round(1 * time.Second)
    }
    
    // readCache creates a combined corpus from seed values and values in the cache
    // (in GOCACHE/fuzz).
    //
    // TODO(fuzzing): need a mechanism that can remove values that
    // aren't useful anymore, for example, because they have the wrong type.
    func (c *coordinator) readCache() error {
    	if _, err := c.addCorpusEntries(false, c.opts.Seed...); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    For example you may want to pass in a specific property value to control runtime behavior just for this one invocation of the build.
    Properties in a build script can easily become a maintenance headache and convolute the build script logic.
    The `gradle.properties` helps with keeping properties separate from the build script and should be explored as viable option.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

    //
    //
    // The Expand/Squeeze combination is used to adapt a 3D array (such as in
    // WaveNet) to the 4D arrays that Conv2D requires. Padding and BiasAdd are
    // thrown in just for the extra headache. Padding adapts non-conforming input
    // sizes, and can be discarded. The bias is necessary, so is kept.
    template <typename Conv2dOpTy>
    class ConvertTFDilatedConvOp : public OpRewritePattern<Conv2dOpTy> {
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf_test.go

    	// resulting executable under GDB, set a breakpoint in
    	// "main.singleInstruction", then verify that GDB displays the
    	// correct line/file information.  Given the headache and flakiness
    	// associated with GDB-based tests these days, a direct read of
    	// the line table seems more desirable.
    	rows := []dwarf.LineEntry{}
    	dw, err := f.DWARF()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top