Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for Ismail (0.14 sec)

  1. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertEquals(-1, read);
    
        lin.reset();
        byte[] small = new byte[5];
        read = lin.read(small);
        assertEquals(2, read);
        assertEquals(big[0], small[0]);
        assertEquals(big[1], small[1]);
    
        lin.reset();
        read = lin.read(small, 2, 3);
        assertEquals(2, read);
        assertEquals(big[0], small[2]);
        assertEquals(big[1], small[3]);
      }
    
      public void testLimit_mark() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

        assertFalse(
            "setCount() with a too-small oldCount should return false",
            getMultiset().setCount(e0(), 0, 2));
        expectUnchanged();
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooSmallNonzero() {
        initThreeCopies();
        assertFalse(
            "setCount() with a too-small oldCount should return false",
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertEscaping(xmlEscaper, "\uFFFD", ch);
          }
        }
    
        // Test _all_ allowed characters (including surrogate values).
        for (char ch = 0x20; ch <= 0xFFFD; ch++) {
          // There are a small number of cases to consider, so just do it manually.
          if (ch == '&') {
            assertEscaping(xmlEscaper, "&amp;", ch);
          } else if (ch == '<') {
            assertEscaping(xmlEscaper, "&lt;", ch);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.CacheBuilder.EMPTY_STATS;
    import static com.google.common.cache.LocalCacheTest.SMALL_MAX_SIZE;
    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.cache.LocalCache.LocalLoadingCache;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  5. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertEscaping(xmlEscaper, "\uFFFD", ch);
          }
        }
    
        // Test _all_ allowed characters (including surrogate values).
        for (char ch = 0x20; ch <= 0xFFFD; ch++) {
          // There are a small number of cases to consider, so just do it manually.
          if (ch == '&') {
            assertEscaping(xmlEscaper, "&amp;", ch);
          } else if (ch == '<') {
            assertEscaping(xmlEscaper, "&lt;", ch);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 4.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * MoreExecutors#newDirectExecutorService} and subject to the same constraints.
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
       * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
       * implement shutdown and termination behavior.
       *
       * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A collection that associates an ordered pair of keys, called a row key and a column key, with a
     * single value. A table may be sparse, with only a small fraction of row key / column key pairs
     * possessing a corresponding value.
     *
     * <p>The mappings corresponding to a given row key may be viewed as a {@link Map} whose keys are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
Back to top