Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for Eide (0.13 sec)

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

    import java.util.regex.MatchResult;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing
     * utilities.
     *
     * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/BigIntegerMath.java

              } else {
                return logFloor + 1;
              }
            }
            // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5
            //
            // To determine which side of logFloor.5 the logarithm is,
            // we compare x^2 to 2^(2 * logFloor + 1).
            BigInteger x2 = x.pow(2);
            int logX2Floor = x2.bitLength() - 1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSet.java

                        uniqueElements, hashCode, hashTable, hashTable.length - 1, size);
              } else {
                result = construct(size, contents);
                // construct has the side effect of deduping contents, so we update size
                // accordingly.
                size = result.size();
              }
              forceCopy = true;
              hashTable = null;
              return result;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Converter.java

       *     then this is not logically a {@code Converter} at all, and should just implement {@link
       *     Function}.
       */
      @ForOverride
      protected abstract A doBackward(B b);
    
      // API (consumer-side) methods
    
      /**
       * Returns a representation of {@code a} as an instance of type {@code B}.
       *
       * @return the converted value; is null <i>if and only if</i> {@code a} is null
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns an unmodifiable view of the specified map entry. The {@link Entry#setValue} operation
       * throws an {@link UnsupportedOperationException}. This also has the side effect of redefining
       * {@code equals} to comply with the Entry contract, to avoid a possible nefarious implementation
       * of equals.
       *
       * @param entry the entry for which to return an unmodifiable view
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.append("Hello,");
        writer.append(' ');
        writer.append("The World Wide Web", 4, 9);
        writer.append("!");
    
        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testCloseFlush() throws IOException {
        SpyAppendable spy = new SpyAppendable();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Function.java

       * expected</i>, but not absolutely required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code Objects.equal(function.apply(a),
       *       function.apply(b))}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              protected char[] escapeUnsafe(int c) {
                return ("{" + (char) c + "}").toCharArray();
              }
            };
        EscaperAsserts.assertBasic(wrappingEscaper);
        // '[' and '@' lie either side of [A-Z].
        assertEquals("{[}FOO{@}BAR{]}", wrappingEscaper.escape("[FOO@BAR]"));
      }
    
      public void testDeleteUnsafeChars() throws IOException {
        UnicodeEscaper deletingEscaper =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/collect/Range.java

     * endpoint) or <i>closed</i> (includes the endpoint) on that side. With three possibilities on each
     * side, this yields nine basic types of ranges, enumerated below. (Notation: a square bracket
     * ({@code [ ]}) indicates that the range is closed on that side; a parenthesis ({@code ( )}) means
     * it is either open or unbounded. The construct {@code {x | statement}} is read "the set of all
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /**
       * Not supported. Use {@link #toImmutableSortedMultiset} instead. This method exists only to hide
       * {@link ImmutableMultiset#toImmutableMultiset} from consumers of {@code
       * ImmutableSortedMultiset}.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top