Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for sheugh (0.16 sec)

  1. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

       * LinkedHashMap because one target node may be mapped to both a predecessor and a successor. A
       * LinkedHashMap combines two such edges into a single node-value pair, even though the edges may
       * not have been inserted consecutively.
       */
      @CheckForNull private final List<NodeConnection<N>> orderedNodeConnections;
    
      private int predecessorCount;
      private int successorCount;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<Integer> source = Lists.newLinkedList(asList(1, 2, 3));
        Iterable<List<Integer>> partitions = Iterables.partition(source, 2);
        Iterator<List<Integer>> iterator = partitions.iterator();
        // Even though the input list doesn't implement RandomAccess, the output
        // lists do.
        assertTrue(iterator.next() instanceof RandomAccess);
        assertTrue(iterator.next() instanceof RandomAccess);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * multimap and its {@link Multimap#asMap()} view are {@link ImmutableSortedSet} instances.
         * However, serialization does not preserve that property, though it does maintain the key and
         * value ordering.
         *
         * @since 8.0
         */
        // TODO: Make serialization behavior consistent.
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/IntMath.java

             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned int, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
             * halfSquare - sqrtFloor <= x < halfSquare + sqrtFloor + 1
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * The returned list of versions is only dependent on the configured repositories and their contents.
         * The supplied request may also refer to a single concrete version rather than a version range.
         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param artifact the artifact for which to resolve the versions
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

       * remaining 32 bits interpreted as an IPv4 address. These are conventionally represented in
       * string literals as {@code "::192.168.0.1"}, though {@code "::c0a8:1"} is also considered an
       * IPv4 compatible address (and equivalent to {@code "::192.168.0.1"}).
       *
       * <p>For more on IPv4 compatible addresses see section 2.5.5.1 of <a target="_parent"
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        } else {
          statsCounter.recordEviction();
          statsCounter.recordMisses(1);
          // `key` was in the cache, so it's a K.
          // (Or it's a weird case like a LinkedList in a Cache<ArrayList, ...>, but *shrug*.)
          @SuppressWarnings("unchecked")
          K castKey = (K) key;
          alertListenerIfPresent(castKey, value.getValue(), RemovalCause.EXPIRED);
          cachingHashMap.remove(key);
          return null;
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * save that if that location is already full, we try the next index, and the next, until we
       * find an empty table position.  Since the table has a power-of-two size, we use
       * & (table.length - 1) instead of % table.length, though.
       */
    
      @CheckForNull private final transient Object hashTable;
      @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues;
      private final transient int size;
    
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/EventBusTest.java

            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList();
        List<Future<?>> futures = Lists.newArrayList();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList();
        List<Future<?>> futures = Lists.newArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top