Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for Ismail (0.16 sec)

  1. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 14 22:05:11 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        resetWithHole();
        assertEquals(c, navigableSet.higher(a));
        assertEquals(c, navigableSet.higher(b));
        assertEquals(null, navigableSet.higher(c));
      }
    
      /*
       * TODO(cpovirk): make "too small" and "too large" elements available for better navigation
       * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that
       * ContiguousSet's tests would no longer need to suppress them.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

       * Flips the buffer output buffer so we can start reading bytes from it. If we are starting to
       * drain because there was overflow, and there aren't actually any characters to drain, then the
       * overflow must be due to a small output buffer.
       */
      private void startDraining(boolean overflow) {
        Java8Compatibility.flip(byteBuffer);
        if (overflow && byteBuffer.remaining() == 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *
       * <p>Note that this function is necessarily well-defined for any discrete type.
       *
       * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if
       *     the distance is too small or too large, respectively.
       */
      public abstract long distance(C start, C end);
    
      /**
       * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

        // as their length. These files are very small, so it's wasteful to allocate an 8KB buffer.
        int initialBufferSize = min(BUFFER_SIZE, max(128, Integer.highestOneBit(totalLen) * 2));
        // Starting with an 8k buffer, double the size of each successive buffer. Smaller buffers
        // quadruple in size until they reach 8k, to minimize the number of small reads for longer
    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)
  6. guava-tests/test/com/google/common/math/MathTesting.java

        ImmutableSet.Builder<Double> fractionalBuilder = ImmutableSet.builder();
        integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE));
        // Add small multiples of MIN_VALUE and MIN_NORMAL
        for (int scale = 1; scale <= 4; scale++) {
          for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) {
            fractionalBuilder.add(d * scale).add(-d * scale);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
     * {@code int} values. When possible, it is recommended that the {@link UnsignedInteger} wrapper
     * class be used, at a small efficiency penalty, to enforce the distinction in the type system.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
                int indexOfEntryWithValue(V value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName googleDomain = InternetDomainName.from("google.com");
    
        assertEquals(googleDomain, googleDomain.topPrivateDomain());
        assertEquals(googleDomain, googleDomain.child("mail").topPrivateDomain());
        assertEquals(googleDomain, googleDomain.child("foo.bar").topPrivateDomain());
      }
    
      public void testInvalidTopPrivateDomain() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *     new ImmutableBiMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
       *         .put("three", 3)
       *         .buildOrThrow();
       * }</pre>
       *
       * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate bimaps that iterate over entries in the order
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top