Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for Live (0.12 sec)

  1. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          return new String[length];
        }
    
        @Override
        public SampleElements<String> sampleKeys() {
          return new SampleElements<>("one", "two", "three", "four", "five");
        }
    
        @Override
        public SampleElements<String> sampleValues() {
          return new SampleElements<>("january", "february", "march", "april", "may");
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

            Helpers.mapEntry("one", "January"),
            Helpers.mapEntry("two", "February"),
            Helpers.mapEntry("three", "March"),
            Helpers.mapEntry("four", "April"),
            Helpers.mapEntry("five", "May"));
      }
    
      @Override
      public final BiMap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            But Guava aims to provide functionality that is useful across boundaries of projects,
            companies, or even industries &mdash; utilities useful for a sizable proportion of all Java
            programmers everywhere. If you can give enough detail such that any of us can imagine coming
            across a similar need in our own work, that's extremely helpful in studying how broadly
            useful the proposed change will be.
    
      - type: textarea
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertEquals(
            thread.getName().substring(0, thread.getName().lastIndexOf('-')),
            thread2.getName().substring(0, thread.getName().lastIndexOf('-')));
    
        // Building again should give us a different pool ID.
        ThreadFactory threadFactory2 = builder.build();
        Thread thread3 = threadFactory2.newThread(monitoredRunnable);
        checkThreadPoolName(thread3, 1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

       * graph with an edge connecting node A to node B if node B is {@link #reachableNodes(Graph,
       * Object) reachable} from node A.
       *
       * <p>This is a "snapshot" based on the current topology of {@code graph}, rather than a live view
       * of the transitive closure of {@code graph}. In other words, the returned {@link Graph} will not
       * be updated after modifications to {@code graph}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

     * parameters.
     *
     * @author mike nonemacher
     */
    class CacheBuilderFactory {
      // Default values contain only 'null', which means don't call the CacheBuilder method (just give
      // the CacheBuilder default).
      private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
      private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

            3,
            "four",
            4);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3, "four", 4, "five", 5),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5);
      }
    
      public void testInverse() {
        assertEquals(
            ImmutableSetMultimap.<Integer, String>of(),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          @Override
          public void run() {
            thirdSignal.countDown();
            result.set(1, cache.getUnchecked(key));
            doneSignal.countDown();
          }
        }.start();
    
        // give the second get a chance to run; it is okay for this to be racy
        // as the end result should be the same either way
        thirdSignal.await();
        Thread.yield();
    
        // Expand!
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          assertIntact(queue);
          assertThat(queue).containsExactlyElementsIn(elements);
        }
      }
    
      private enum Element {
        ONE,
        TWO,
        THREE,
        FOUR,
        FIVE;
      }
    
      public void testRandomAddsAndRemoves_duplicateElements() {
        Random random = new Random(0);
        Multiset<Element> elements = HashMultiset.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        node.thread = null; // mark as 'deleted'
        restart:
        while (true) {
          Waiter pred = null;
          Waiter curr = waiters;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top