Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 555 for succeeds (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                // throwables or completion values.
                newFuture.setFuture(oldFuture);
              } else if (outputFuture.isCancelled() && taskExecutor.trySetCancelled()) {
                // If this CAS succeeds, we know that the provided callable will never be invoked,
                // so when oldFuture completes it is safe to allow the next submitted task to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> V getDone(Future<V> future) throws ExecutionException {
        /*
         * We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw
         * IllegalArgumentException, since the call could succeed with a different argument. Those
         * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		if _, ok := err.(BucketExists); ok {
    			// Though bucket exists locally, we send the site-replication
    			// hook to ensure all sites have this bucket. If the hook
    			// succeeds, the client will still receive a bucket exists
    			// message.
    			globalSiteReplicationSys.MakeBucketHook(ctx, bucket, opts)
    		}
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

        assertFailsWith<InterruptedIOException> {
          // If this succeeds, too many requests were made.
          client.newCall(request).execute()
        }
      }
    
      /**
       * Make a request with two routes. The first route will time out because it's connecting to a
       * special address that never connects. The automatic retry will succeed.
       */
      @Test
      fun connectTimeoutsAttemptsAlternateRoute() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    	tmpPart := fmt.Sprintf("%sx%d", mustGetUUID(), time.Now().UnixNano())
    	tmpPartPath := pathJoin(tmpPart, partSuffix)
    
    	// Delete the temporary object part. If PutObjectPart succeeds there would be nothing to delete.
    	defer func() {
    		if countOnlineDisks(onlineDisks) != len(onlineDisks) {
    			er.deleteAll(context.Background(), minioMetaTmpBucket, tmpPart)
    		}
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  6. doc/go_spec.html

    <p>
    The capacity, in number of elements, sets the size of the buffer in the channel.
    If the capacity is zero or absent, the channel is unbuffered and communication
    succeeds only when both a sender and receiver are ready. Otherwise, the channel
    is buffered and communication succeeds without blocking if the buffer
    is not full (sends) or not empty (receives).
    A <code>nil</code> channel is never ready for communication.
    </p>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    // most likely need to call `TF_FinishOperation` instead.
    TF_CAPI_EXPORT extern TF_Operation* TF_FinishOperationLocked(
        TF_OperationDescription* desc, TF_Status* status);
    
    // If this function succeeds:
    //   * *status is set to an OK value,
    //   * a TF_Operation is added to the graph,
    //   * a non-null value pointing to the added operation is returned --
    //     this value is valid until the underlying graph is deleted.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      /** @return the request with the conditional get headers. */
      private fun assertConditionallyCached(response: MockResponse): RecordedRequest {
        // scenario 1: condition succeeds
        server.enqueue(
          response.newBuilder()
            .body("A")
            .status("HTTP/1.1 200 A-OK")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
          return oldValue;
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
        public Entry<K, V> next() {
          return nextEntry();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    			err = mkdirAll(volumeDir, 0o777, s.drivePath)
    		}
    		if osIsPermission(err) {
    			return errDiskAccessDenied
    		} else if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    		return err
    	}
    
    	// Stat succeeds we return errVolumeExists.
    	return errVolumeExists
    }
    
    // ListVols - list volumes.
    func (s *xlStorage) ListVols(ctx context.Context) (volsInfo []VolInfo, err error) {
    	return listVols(ctx, s.drivePath)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top