Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for cancel0 (0.2 sec)

  1. cmd/bucket-replication.go

    			ReplicationARN: tgt.ARN,
    		},
    		HeaderSize: headerSize,
    	}
    	newCtx := ctx
    	if globalBucketMonitor.IsThrottled(bucket, tgt.ARN) {
    		var cancel context.CancelFunc
    		newCtx, cancel = context.WithTimeout(ctx, throttleDeadline)
    		defer cancel()
    	}
    	r := bandwidth.NewMonitoredReader(newCtx, globalBucketMonitor, gr, opts)
    	if objInfo.isMultipart() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        consumer.accept(new ValueAndCloser<C>(closingFuture));
      }
    
      /**
       * Attempts to cancel execution of this step. This attempt will fail if the step has already
       * completed, has already been cancelled, or could not be cancelled for some other reason. If
       * successful, and this step has not started when {@code cancel} is called, this step should never
       * run.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    value="'+(n||"")+'" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+e.cancel+'</button> <button class="uk-button uk-button-primary">'+e.ok+"</button> </div> </form>"},t,function(t){return t.resolve(null)},function(t){return Ce("input",t.$el).value})},a.labels={ok:"Ok",cancel:"Cancel"}},mixins:[sr],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside,...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

        consumer.accept(new ValueAndCloser<C>(closingFuture));
      }
    
      /**
       * Attempts to cancel execution of this step. This attempt will fail if the step has already
       * completed, has already been cancelled, or could not be cancelled for some other reason. If
       * successful, and this step has not started when {@code cancel} is called, this step should never
       * run.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    		proxy = newClientServerTest(t, mode, HandlerFunc(func(rw ResponseWriter, req *Request) {
    			req2, _ := NewRequest("POST", backend.ts.URL, req.Body)
    			req2.ContentLength = bodySize
    			cancel := make(chan struct{})
    			req2.Cancel = cancel
    
    			bresp, err := proxy.c.Do(req2)
    			if err != nil {
    				t.Errorf("Proxy outbound request: %v", err)
    				return
    			}
    			_, err = io.CopyN(io.Discard, bresp.Body, bodySize/2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. src/net/http/server.go

    		// send on the CloseNotify channel and cancel the context here,
    		// but the behavior was documented as only "may", and we only
    		// did that because that's how CloseNotify accidentally behaved
    		// in very early Go releases prior to context support. Once we
    		// added context support, people used a Handler's
    		// Request.Context() and passed it along. Having that context
    		// cancel on pipelined HTTP requests caused problems.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(readAscii(in1, 5)).isEqualTo("ABCDE")
        in1.close()
        call1.cancel()
        val call2 = client.newCall(newRequest("/"))
        val response2 = call2.execute()
        val in2 = response2.body.byteStream()
        assertThat(readAscii(in2, 5)).isEqualTo("LMNOP")
        in2.close()
        call2.cancel()
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        // Connection is pooled!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_crawling_info_delete_all_confirmation = "{labels.crawling_info_delete_all_confirmation}";
    
        /** The key of the message: Cancel */
        public static final String LABELS_crawling_info_delete_all_cancel = "{labels.crawling_info_delete_all_cancel}";
    
        /** The key of the message: Thread Dump */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 146.4K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    				resultsMu.Unlock()
    				return
    			}()
    			continue
    		}
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			ctx, cancel := context.WithTimeout(ctx, duration+10*time.Second)
    			defer cancel()
    			result := perfNetRequest(
    				ctx,
    				info.DeploymentID,
    				adminPathPrefix+adminAPIVersionPrefix+adminAPISiteReplicationNetPerf,
    				nil,
    			)
    			resultsMu.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/pkg.go

    // modified by modload.LoadPackages.
    type preload struct {
    	cancel chan struct{}
    	sema   chan struct{}
    }
    
    // newPreload creates a new preloader. flush must be called later to avoid
    // accessing global state while it is being modified.
    func newPreload() *preload {
    	pre := &preload{
    		cancel: make(chan struct{}),
    		sema:   make(chan struct{}, preloadWorkerCount),
    	}
    	return pre
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top