Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 955 for hege (0.22 seconds)

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

         * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends
         * IllegalArgumentException here, in part to keep its recommendation simple: Static methods
         * should throw IllegalStateException only when they use static state.
         *
         * Why do we deviate here? The answer: We want for fluentFuture.getDone() to throw the same
         * exception as Futures.getDone(fluentFuture).
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          else {
            nextIndex = takeIndex;
            nextItem = items[takeIndex];
          }
        }
    
        @Override
        public boolean hasNext() {
          /*
           * No sync. We can return true by mistake here
           * only if this iterator passed across threads,
           * which we don't support anyway.
           */
          return nextIndex >= 0;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

              return false;
            }
            TypeVariable<?> typeVar = (TypeVariable<?>) type;
            for (AnnotatedType bound : typeVar.getAnnotatedBounds()) {
              // Until Java 15, the isNullableTypeVariable case here won't help:
              // https://bugs.openjdk.org/browse/JDK-8202469
              if (containsNullable(bound.getAnnotations()) || isNullableTypeVariable(bound.getType())) {
                return true;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * services are started by some mechanism besides {@link #startAsync}, the listeners will be invoked
     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
     * <p>Here is a simple example of how to use a {@code ServiceManager} to start a server.
     *
     * {@snippet :
     * class Server {
     *   public static void main(String[] args) {
     *     Set<Service> services = ...;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  5. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * computes) correspond to minimum intervals between subsequent requests, for the specified number
       * of requested permits.
       *
       * Here is an example of storedPermitsToWaitTime: If storedPermits == 10.0, and we want 3 permits,
       * we take them from storedPermits, reducing them to 7.0, and compute the throttling for these as
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              public final void addListener(Listener listener, Executor executor) {
                service1.startAsync();
                delegate.addListener(listener, executor);
              }
    
              // Delegates from here on down
              @Override
              public final Service startAsync() {
                return delegate.startAsync();
              }
    
              @Override
              public final Service stopAsync() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. cmd/generic-handlers.go

    		// Previously, this value was set right before a response was sent to
    		// the client. So, logger and Error response XML were not using this
    		// value. This is set here so that this header can be logged as
    		// part of the log entry, Error response XML and auditing.
    		// Set custom headers such as x-amz-request-id for each request.
    		w.Header().Set(xhttp.AmzRequestID, mustGetRequestID(UTCNow()))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
  8. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertThat(matcher.negate().negate().toString()).isEqualTo(expectedNormal);
    
        // The precomputed form is different on regular platforms but the same on j2cl and j2kt.
        // Hence isAnyOf here.
        assertThat(matcher.precomputed().toString()).isAnyOf(expectedNormal, expectedPrecomputed);
        assertThat(matcher.negate().precomputed().negate().toString())
            .isAnyOf(expectedNormal, expectedPrecomputed);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  9. docs/smb3-features/03-multi-channel-design.md

                currentWeight += channel.getScore();
                if (random < currentWeight) {
                    return channel;
                }
            }
            
            // Should not reach here
            return channels.iterator().next();
        }
        
        private ChannelInfo selectWithAffinity(SMBMessage message, Collection<ChannelInfo> channels) {
            // Use file handle or tree ID for affinity
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            checkNotNull(removeSnapshot) { "remove() before next()" }
            try {
              ******@****.***(removeSnapshot.key())
            } catch (_: IOException) {
              // Nothing useful to do here. We failed to remove from the cache. Most likely that's
              // because we couldn't update the journal, but the cached entry will still be gone.
            } finally {
              this.removeSnapshot = null
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top