Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Let (0.12 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> warmed = warmUp(cache);
          assertEquals(WARMUP_SIZE, cache.size());
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(t);
          return;
        } finally {
          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      @GwtIncompatible // used only from suite
      private static ImmutableDoubleArray makeArray(Double[] values) {
        return ImmutableDoubleArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static ImmutableLongArray makeArray(Long[] values) {
        return ImmutableLongArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                  }
                })
            .start();
    
        // wait for the computingEntry to be created
        computationStarted.await();
        cache.invalidateAll();
        // let the computation proceed
        computingLatch.countDown();
        // don't check cache.size() until we know the get("b") call is complete
        computationComplete.await();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

          this.original = original;
        }
    
        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
         * non-legacy behavior; it just needs to let the behavior of the backing converter shine
         * through. So, we override the correctedDo* methods, after which the do* methods should never
         * be reached.
         */
    
        @Override
        protected A doForward(B b) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

      private static class ConflictingRequirementsExampleDerivedInterfaceTester
          extends ExampleBaseInterfaceTester {}
    
      public void testTestFeatureEnums() throws Exception {
        // Haha! Let's test our own test rig!
        FeatureEnumTest.assertGoodFeatureEnum(FeatureUtilTest.ExampleBaseFeature.class);
        FeatureEnumTest.assertGoodFeatureEnum(FeatureUtilTest.ExampleDerivedFeature.class);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (2)
  10. android/guava/src/com/google/common/collect/TopKSelector.java

          if (iterations >= maxIterations) {
            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
            // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
            Arrays.sort(castBuffer, left, right + 1, comparator);
            break;
          }
        }
        bufferSize = k;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top