Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for sheugh (0.19 sec)

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

       * always have the same hash code.
       */
      @Override
      int hashCode();
    
      /**
       * {@inheritDoc}
       *
       * <p>It is recommended, though not mandatory, that this method return the result of invoking
       * {@link #toString} on the {@link #entrySet}, yielding a result such as {@code [a x 3, c, d x 2,
       * e]}.
       */
      @Override
      String toString();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        ReentrantLock lockD = otherFactory.newReentrantLock("LockD");
    
        // lockA -> lockD
        lockA.lock();
        lockD.lock();
        lockA.unlock();
        lockD.unlock();
    
        // lockD -> lockA should fail even though lockD is from a different factory.
        lockD.lock();
        PotentialDeadlockException expected =
            assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            };
        Bar bar = getDone(transform(future, function, directExecutor()));
        assertSame(barChild, bar);
      }
    
      /*
       * Android does not handle this stack overflow gracefully... though somehow some other
       * stack-overflow tests work. It must depend on the exact place the error occurs.
       */
      @AndroidIncompatible
      @J2ktIncompatible
      @GwtIncompatible // StackOverflowError
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        // such that none of the subsequent iterations observed it, despite the fact that at every point
        // in time it was present somewhere int the map. This becomes increasingly unlikely as
        // CONTAINS_VALUE_RETRIES increases, though without locking it is theoretically possible.
        final Segment<K, V, E, S>[] segments = this.segments;
        long last = -1L;
        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
    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)
Back to top