Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 145 for follow (0.16 sec)

  1. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * local artifact resolution. In the second case, the result needs to precisely obey the path information of the
             * repository's layout to allow pointing at artifacts within the repository. Unfortunately,
             * DefaultRepositoryLayout does not correctly describe the layout of a local repository which unlike a remote
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ContiguousSet.java

     * Collections#frequency}) can cause major performance problems.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    @ElementTypesAreNonnullByDefault
    public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C> {
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
        } else h = hc[0];
        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

             * unprefixed expressions.
             * @param possiblePrefixes The possible prefixes.
             * @param root The root of the graph.
             * @param allowUnprefixedExpressions if we allow undefined expressions or not.
             */
            public PrefixedObjectValueSource(
                    List<String> possiblePrefixes, Object root, boolean allowUnprefixedExpressions) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/IntMath.java

        a >>= aTwos; // divide out all 2s
        int bTwos = Integer.numberOfTrailingZeros(b);
        b >>= bTwos; // divide out all 2s
        while (a != b) { // both a, b are odd
          // The key to the binary GCD algorithm is as follows:
          // Both a and b are odd. Assume a > b; then gcd(a - b, b) = gcd(a, b).
          // But in gcd(a - b, b), a - b is even and b is odd, so we can divide out powers of two.
    
    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. guava-tests/test/com/google/common/base/PreconditionsTest.java

          fail("no exception thrown");
        } catch (IllegalArgumentException e) {
          assertThat(e).hasMessageThat().isEqualTo("A null C");
        }
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testCheckArgument_singleNullArray_failure() {
        try {
          Preconditions.checkArgument(false, "A %s C", (Object[]) null);
          fail("no exception thrown");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

      private static final int TO_BYTE_ARRAY_DEQUE_SIZE = 20;
    
      /**
       * Returns a byte array containing the bytes from the buffers already in {@code bufs} (which have
       * a total combined length of {@code totalLen} bytes) followed by all bytes remaining in the given
       * input stream.
       */
      private static byte[] toByteArrayInternal(InputStream in, Queue<byte[]> bufs, int totalLen)
          throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

      }
    
      /**
       * Returns the string representation of an {@link InetAddress}.
       *
       * <p>For IPv4 addresses, this is identical to {@link InetAddress#getHostAddress()}, but for IPv6
       * addresses, the output follows <a href="http://tools.ietf.org/html/rfc5952">RFC 5952</a> section
       * 4. The main difference is that this method uses "::" for zero compression, while Java's version
       * uses the uncompressed form.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top