Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 212 for cacheDir (0.34 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

      ) = logEvent(SatisfactionFailure(System.nanoTime(), call))
    
      override fun cacheMiss(call: Call) = logEvent(CacheMiss(System.nanoTime(), call))
    
      override fun cacheHit(
        call: Call,
        response: Response,
      ) = logEvent(CacheHit(System.nanoTime(), call))
    
      override fun cacheConditionalHit(
        call: Call,
        cachedResponse: Response,
      ) = logEvent(CacheConditionalHit(System.nanoTime(), call))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/tasks/CacheableTask.java

     *
     * <p>Only tasks that produce reproducible and relocatable output should be marked with {@code CacheableTask}.</p>
     *
     * <p>Caching for individual task instances can be enabled and disabled via {@link TaskOutputs#cacheIf(String, Spec)} or disabled via {@link TaskOutputs#doNotCacheIf(String, Spec)}.
     * Using these APIs takes precedence over the presence (or absence) of {@code @CacheableTask}.</p>
     *
     * @see DisableCachingByDefault
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 02 13:10:28 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle/groovy/build.gradle

                    stream.write(it.bytes)
                }
            }
        }
    }
    
    // tag::bundle-task[]
    tasks.register('bundle', NpmTask) {
        args = ['run', 'bundle']
    
        outputs.cacheIf { true }
    
        inputs.dir(file("scripts"))
            .withPropertyName("scripts")
            .withPathSensitivity(PathSensitivity.RELATIVE)
    
        inputs.files("package.json", "package-lock.json")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. pkg/registry/resource/resourceslice/strategy.go

    }
    
    var TriggerFunc = map[string]storage.IndexerFunc{
    	// Only one index is supported:
    	// https://github.com/kubernetes/kubernetes/blob/3aa8c59fec0bf339e67ca80ea7905c817baeca85/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go#L346-L350
    	"nodeName": nodeNameTriggerFunc,
    }
    
    func nodeNameTriggerFunc(obj runtime.Object) string {
    	return obj.(*resource.ResourceSlice).NodeName
    }
    
    // Indexers returns the indexers for ResourceSlice.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/ready.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cacher
    
    import (
    	"context"
    	"fmt"
    	"sync"
    )
    
    type status int
    
    const (
    	Pending status = iota
    	Ready
    	Stopped
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:32:11 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GradleBuildSmokeTest.groovy

                .ignoreDeprecationWarnings("https://github.com/gradle/gradle-private/issues/3405")
    
            runner.withJvmArguments(runner.jvmArguments + [
                // TODO: the version of KGP we use still accesses Task.project from a cacheIf predicate
                "-Dorg.gradle.configuration-cache.internal.task-execution-access-pre-stable=true",
            ])
    
            when:
            def result = runner.build()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        // If we don't need the network, we're done.
        if (networkRequest == null) {
          return cacheResponse!!.newBuilder()
            .cacheResponse(cacheResponse.stripBody())
            .build().also {
              listener.cacheHit(call, it)
            }
        }
    
        if (cacheResponse != null) {
          listener.cacheConditionalHit(call, cacheResponse)
        } else if (cache != null) {
          listener.cacheMiss(call)
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/util.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cacher
    
    import (
    	"strings"
    )
    
    // hasPathPrefix returns true if the string matches pathPrefix exactly, or if is prefixed with pathPrefix at a path segment boundary
    func hasPathPrefix(s, pathPrefix string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskChildSpecIntegrationTest.groovy

        def "changing child specs of the copy task while executing is disallowed"() {
            given:
            file("some-dir/input.txt") << "Data"
            buildScript """
                task copy(type: Copy) {
                    outputs.cacheIf { true }
                    from ("some-dir")
                    into ("build/output")
    
                    doFirst {
                        from ("some-other-dir") {
                            exclude "non-existent-file"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/cache/ResolutionControl.java

        /**
         * States that the cached value should be used if it is no older than the specified duration.
         * @param value The number of units
         * @param units The time units
         */
        void cacheFor(int value, TimeUnit units);
    
        /**
         * States that the cached value should be used regardless of age.
         * If not cachedResult is available, resolution should fail.
         */
        void useCachedResult();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top