Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for Reload (0.04 seconds)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

              new CacheLoader<String, String>() {
                @Override
                public String load(String key) {
                  return key + "Load";
                }
    
                @Override
                @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
                public ListenableFuture<String> reload(String key, String oldValue) {
                  return refreshExecutor.submit(
                      () -> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

              new CacheLoader<String, String>() {
                @Override
                public String load(String key) {
                  return key + "Load";
                }
    
                @Override
                @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
                public ListenableFuture<String> reload(String key, String oldValue) {
                  return refreshExecutor.submit(
                      () -> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/LocalCache.java

            stopwatch.start();
            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
              return immediateFuture(null);
            }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/test-framework/junit5/pom.xml
    quarkus/independent-projects/bootstrap/maven-resolver/pom.xml
    	quarkus/independent-projects/bootstrap/app-model/pom.xml
    quarkus/integration-tests/avro-reload/pom.xml
    	quarkus/extensions/avro/runtime/pom.xml
    	quarkus/extensions/resteasy-reactive/quarkus-resteasy-reactive/deployment/pom.xml
    	quarkus/test-framework/junit5-internal/pom.xml
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 224K bytes
    - Click Count (0)
  5. cmd/server_test.go

    	// 1. Initiate 2 uploads for the same object
    	// 2. Upload 2 parts for the second upload
    	// 3. Abort the second upload.
    	// 4. Abort the first upload.
    	// This will test abort upload when there are more than one upload IDs
    	// and the case where there is only one upload ID.
    
    	// construct HTTP request to initiate a NewMultipart upload.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  6. cmd/object-handlers_test.go

    	}
    	// iterate through the above set of inputs and upload the object.
    	for i, input := range putObjectInputs {
    		// uploading the object.
    		_, err := obj.PutObject(context.Background(), input.bucketName, input.objectName, mustGetPutObjReader(t, bytes.NewReader(input.textData), input.contentLength, input.metaData[""], ""), ObjectOptions{UserDefined: input.metaData})
    		// if object upload fails stop the test.
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  7. cmd/object-handlers.go

    			if !proxytgts.Empty() {
    				globalReplicationStats.Load().incProxy(bucket, getObjectAPI, false)
    				// proxy to replication target if active-active replication is in place.
    				reader, proxy, perr = proxyGetToReplicationTarget(ctx, bucket, object, rs, r.Header, opts, proxytgts)
    				if perr != nil {
    					globalReplicationStats.Load().incProxy(bucket, getObjectAPI, true)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      }
    
      @Test
      fun uploadBodySmallChunkedEncoding() {
        upload(true, 1048576, 256)
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.bodySize).isEqualTo(1048576)
        assertThat(recordedRequest.chunkSizes).isNotNull()
      }
    
      @Test
      fun uploadBodyEmptyChunkedEncoding() {
        upload(true, 0, 256)
        val recordedRequest = server.takeRequest()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  9. cmd/metrics-v2.go

    			}
    
    			httpStats := globalBucketHTTPStats.load(bucket)
    			for k, v := range httpStats.currentS3Requests.Load(true) {
    				metrics = append(metrics, MetricV2{
    					Description:    getBucketS3RequestsInFlightMD(),
    					Value:          float64(v),
    					VariableLabels: map[string]string{"bucket": bucket, "api": k},
    				})
    			}
    
    			for k, v := range httpStats.totalS3Requests.Load(true) {
    				metrics = append(metrics, MetricV2{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  10. cmd/bucket-replication.go

    		}
    		attempts++
    		time.Sleep(time.Duration(rand.Int63n(int64(time.Second))))
    	}
    	if err != nil {
    		return err
    	}
    
    	defer func() {
    		if err != nil {
    			// block and abort remote upload upon failure.
    			attempts := 1
    			for attempts <= 3 {
    				actx, acancel := context.WithTimeout(ctx, time.Minute)
    				aerr := c.AbortMultipartUpload(actx, bucket, object, uploadID)
    				acancel()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
Back to Top