Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for Haddad (0.2 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

        int added = 0;
        boolean interrupted = false;
        try {
          while (added < numElements) {
            // we could rely solely on #poll, but #drainTo might be more efficient when there are
            // multiple elements already available (e.g. LinkedBlockingQueue#drainTo locks only once)
            added += q.drainTo(buffer, numElements - added);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            [many forms](https://github.com/google/guava/wiki/PhilosophyExplained#utility), but taking
            the time to discuss them in detail will make it much clearer why this feature should be
            added to Guava.
    
    
            Please fill out the following fields to give us a better understanding of your proposed
            feature and its potential value for other Guava users.
    
      - type: textarea
        attributes:
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/StandardSystemProperty.java

       * </ul>
       *
       * <p>Note that {@code StandardSystemProperty} does not provide constants for more recently added
       * properties, including:
       *
       * <ul>
       *   <li>{@code java.vendor.version} (added in Java 11, listed as optional as of Java 13)
       *   <li>{@code jdk.module.*} (added in Java 9, optional)
       * </ul>
       */
      @CheckForNull
      public String value() {
        return System.getProperty(key);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
     * complete}. If the computation has already completed when the listener is added, the listener will
     * execute immediately.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/ListenableFutureExplained">{@code
     * ListenableFuture}</a>.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of entries to be added.
       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MyTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /** Support class added to a suite as part of {@link FeatureSpecificTestSuiteBuilderTest}. */
    /*
     * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4
     * annotations even on JUnit 3 tests.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/RemovalListener.java

      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloserTest.java

      }
    
      public void testExceptionThrown_whileClosingLastCloseable() throws IOException {
        Closer closer = new Closer(suppressor);
    
        IOException exception = new IOException();
    
        // c1 is added first, closed last
        TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(exception));
        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        try {
          closer.close();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     * instead of {@code ListenableFuture}.
     *
     * <p>This class is GWT-compatible.
     *
     * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
     *     Guava 27.0
     */
    public abstract class InternalFutureFailureAccess {
      /** Constructor for use by subclasses. */
      protected InternalFutureFailureAccess() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top