Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 102 for Peal (0.14 sec)

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

        future2 = null;
    
        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
         * the futures are released once the combiner is done running. But we happen to provide this
    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)
  2. maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

        public Artifact find(Artifact artifact) {
            File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        @Override
        public String getId() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        suite.addTestSuite(MutableClassToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        suite.addTestSuite(MutableClassToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        public Artifact find(Artifact artifact) {
            File artifactFile = new File(getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            if (artifactFile.exists()) {
                artifact.setResolved(true);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        }
    
        @Override
        protected Executor executor() {
          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       */
      /*
       * This test hangs (or maybe is just *very* slow) under Android.
       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
      public void testInterruptIsSlow() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        suite.addTestSuite(ImmutableClassToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                    }
                  }));
        }
    
        /*
         * It's unlikely that any operations would fail by throwing an exception, but let's check them
         * just to be safe.
         *
         * The real purpose of this test is to produce a TSAN failure if MapIteratorCache is unsafe for
         * reads from multiple threads -- unsafe, in fact, even in the absence of a concurrent write.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top