Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 337 for cancel3b (0.07 sec)

  1. cmd/xl-storage-disk-id-check.go

    }
    
    // ReadMultiple will read multiple files and send each files as response.
    // Files are read and returned in the given order.
    // The resp channel is closed before the call returns.
    // Only a canceled context will return an error.
    func (p *xlStorageDiskIDCheck) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_DeleteCancellationManager(
        TFE_CancellationManager*);
    
    // Associates the given `cancellation_manager` with `op`, so that invoking
    // `TFE_CancellationManagerStartCancel(cancellation_manager)` will cancel the
    // execution of `op`.
    typedef struct TFE_CancellationManager TFE_CancellationManager;
    TF_CAPI_EXPORT extern void TFE_OpSetCancellationManager(
        TFE_Op* op, TFE_CancellationManager* cancellation_manager,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        try {
          future.get(timeoutMillis, MILLISECONDS);
          shouldThrow();
        } catch (TimeoutException success) {
        } catch (Exception e) {
          threadUnexpectedException(e);
        } finally {
          future.cancel(true);
        }
        assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
      }
    
      /** Fails with message "should throw exception". */
      public void shouldThrow() {
        fail("Should throw exception");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer_test.go

    		} else {
    			t.Log("ok")
    		}
    	}
    	result := string(buf[0:n])
    	if result != "hello" {
    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    		case <-cc:
    			return
    		case <-c:
    			buf := make([]byte, 1<<20)
    			stacklen := runtime.Stack(buf, true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	}
    	store.runlock()
    
    	if len(missingPolicies) > 0 {
    		m := make(map[string]PolicyDoc)
    		for _, policy := range missingPolicies {
    			ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    			_ = store.loadPolicyDoc(ctx, policy, m)
    			cancel()
    		}
    
    		cache := store.lock()
    		for policy, p := range m {
    			cache.iamPolicyDocsMap[policy] = p
    		}
    		store.unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		Healing:          false,
    	}
    
    	mrfCheck := make(chan FileInfo)
    	defer xioutil.SafeClose(mrfCheck)
    
    	var rw sync.Mutex
    
    	// Ask for all disks first;
    	go func() {
    		ctx, cancel := context.WithCancel(ctx)
    		defer cancel()
    
    		wg := sync.WaitGroup{}
    		for i, disk := range disks {
    			if disk == nil {
    				done <- false
    				continue
    			}
    			if !disk.IsOnline() {
    				done <- false
    				continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    		w.WriteHeader(http.StatusNotFound)
    	case errInvalidAccessKeyID, errAccessKeyDisabled, errNoAuthToken, errMalformedAuth, errAuthentication, errSkewedAuthTime:
    		w.WriteHeader(http.StatusUnauthorized)
    	case context.Canceled, context.DeadlineExceeded:
    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    // DefaultSkewTime - skew time is 15 minutes between minio peers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsSubsystem,
    		Name:      canceledTotal,
    		Help:      "Total number of S3 requests that were canceled by the client",
    		Type:      counterMetric,
    	}
    }
    
    func getS3RejectedAuthRequestsTotalMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

    TEST(CAPI, Status) {
      TF_Status* s = TF_NewStatus();
      EXPECT_EQ(TF_OK, TF_GetCode(s));
      EXPECT_EQ(string(), TF_Message(s));
      TF_SetStatus(s, TF_CANCELLED, "cancel");
      EXPECT_EQ(TF_CANCELLED, TF_GetCode(s));
      EXPECT_EQ(string("cancel"), TF_Message(s));
      TF_DeleteStatus(s);
    }
    
    void Deallocator(void* data, size_t, void* arg) {
      tensorflow::cpu_allocator()->DeallocateRaw(data);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. okhttp-android/src/main/baseline-prof.txt

    PLkotlinx/coroutines/JobCancellationException;->fillInStackTrace()Ljava/lang/Throwable;
    PLkotlinx/coroutines/JobImpl;->getOnCancelComplete$kotlinx_coroutines_core()Z
    PLkotlinx/coroutines/JobKt;->cancel$default(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
    PLkotlinx/coroutines/JobSupport$Finishing;-><init>(Lkotlinx/coroutines/NodeList;ZLjava/lang/Throwable;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top