Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 303 for Schuck (0.47 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       scalability or other performance factors (see the separate "jtreg" tests for a set intended
     *       to check these for the most central aspects of functionality.) So, most tests use the
     *       smallest sensible numbers of threads, collection sizes, etc needed to check basic
     *       conformance.
     *   <li>The test classes currently do not declare inclusion in any particular package to simplify
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
          // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
          assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize));
          assertEquals(expectedBytes / chunkSize, processCalled);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .resolveType(subtype));
      }
    
      public <T> void testWhere_mapFromBoundedWildcard() {
        Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture();
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        Type unused =
            new TypeResolver()
                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
        for (int i = 0; i < 1000; i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

       * type parameters do not. Still, we use it here so that we can suppress a warning at a smaller
       * level than the whole method but without performing a runtime null check. That way, we can still
       * pass null inputs to LegacyConverter, and it can violate the contract of Converter.
       *
       * TODO(cpovirk): Could this be simplified if we modified implementations of LegacyConverter to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    .concurrencyLevel(1)
                    .ticker(ticker)
                    .expireAfterAccess(1, TimeUnit.NANOSECONDS));
        Segment<Object, Object> segment = map.segments[0];
        // TODO(fry): check recency ordering
    
        Object key = new Object();
        int hash = map.hash(key);
        Object value = new Object();
        AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    .concurrencyLevel(1)
                    .ticker(ticker)
                    .expireAfterAccess(1, TimeUnit.NANOSECONDS));
        Segment<Object, Object> segment = map.segments[0];
        // TODO(fry): check recency ordering
    
        Object key = new Object();
        int hash = map.hash(key);
        Object value = new Object();
        AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

       * direction," converting empty strings to {@code null}, you can use {@link #emptyToNull}.
       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@CheckForNull String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Attach a listener
        SingleCallListener listener = new SingleCallListener();
        compound.addListener(listener, directExecutor());
    
        // Satisfy each input and check the output
        assertFalse(compound.isDone());
        future1.set(DATA1);
        assertFalse(compound.isDone());
        future2.set(DATA2);
        assertFalse(compound.isDone());
        listener.expectCall();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                public void run() {
                  currentFuture.get().addListener(listener, executor);
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties()); // sanity check
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
Back to top