Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 99 for customer (0.24 sec)

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

         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        source.append(newPreFilledByteArray(5, 10));
    
        // The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it
        // should be reading the byte at index 10.
        // We could use a custom InputStream instead to make the read start at index 10, but since this
        // is a racy situation anyway, this behavior seems reasonable.
        assertEquals(-1, in.read());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            // We want to eliminate any relative path nonsense and lock down the path so we
            // need to fully resolve it before any submodules use the path. This can happen
            // when you are using a custom settings.xml that contains a relative path entry
            // for the local repository setting.
    
            File localRepository = new File(url.substring("file://".length()));
    
            if (!localRepository.isAbsolute()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * description of the returned view's behavior.
       *
       * <p><b>Warning:</b> {@code Range}s always represent a range of values using the values' natural
       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered sets can lead to unexpected and undefined behavior.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

          return this;
        }
    
        @Override
        public CharMatcher negate() {
          return new NegatedFastMatcher(this);
        }
      }
    
      /** {@link FastMatcher} which overrides {@code toString()} with a custom name. */
      abstract static class NamedFastMatcher extends FastMatcher {
    
        private final String description;
    
        NamedFastMatcher(String description) {
          this.description = checkNotNull(description);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
      }
    
      final class ValueIterator extends HashIterator<V> {
    
        @Override
        public V next() {
          return nextEntry().getValue();
        }
      }
    
      /**
       * Custom Entry class used by EntryIterator.next(), that relays setValue changes to the underlying
       * map.
       */
      final class WriteThroughEntry extends AbstractMapEntry<K, V> {
        final K key; // non-null
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                      exitLatch.countDown();
                    }
                  }
                },
                "Custom thread name");
        thread.start();
        enterLatch.await();
        assertFalse(task.isDone());
        String result = task.toString();
        assertThat(result).contains("Custom thread name");
        task.cancel(true);
        exitLatch.await();
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        Object listener = new MyListener();
        ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
        queue.addListener(listener, directExecutor());
        queue.enqueue(THROWING_EVENT, "custom-label");
    
        Logger logger = Logger.getLogger(ListenerCallQueue.class.getName());
        logger.setLevel(Level.SEVERE);
        TestLogHandler logHandler = new TestLogHandler();
        logger.addHandler(logHandler);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

                .putString("hello", UTF_8)
                .putString("world", UTF_8)
                .putString("!!!", UTF_8)
                .hash());
      }
    
      public void testCustomKey() throws Exception {
        SecretKey customKey =
            new SecretKey() {
              @Override
              public String getAlgorithm() {
                return "HmacMD5";
              }
    
              @Override
              public byte[] getEncoded() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

    import java.util.concurrent.TimeUnit;
    import javax.annotation.concurrent.GuardedBy;
    import junit.framework.TestCase;
    
    /** Tests for {@link AbstractFuture} with the cancellation cause system property set */
    @AndroidIncompatible // custom classloading
    
    public class AbstractFutureCancellationCauseTest extends TestCase {
    
      private ClassLoader oldClassLoader;
      private URLClassLoader classReloader;
      private Class<?> settableFutureClass;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top