Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for re (0.11 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class CollectionStreamTester<E> extends AbstractCollectionTester<E> {
      /*
       * We're not really testing the implementation of Stream, only that we're getting a Stream
       * that corresponds to the expected elements.
       */
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testStreamToArrayUnknownOrder() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

             * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
             * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic
             * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from
             * aftereffects and bogus error messages.
             */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          super(message);
        }
    
        public Throwable getAntecedent() {
          return antecedent;
        }
      }
    
      @SuppressWarnings("unused") // we're testing that they're not used
      public static final class ExceptionWithSomePrivateConstructors extends Exception {
        private ExceptionWithSomePrivateConstructors(String a) {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       */
      @CanIgnoreReturnValue
      public static <T> T reserialize(T object) {
        return Platform.reserialize(object);
      }
    
      /**
       * Serializes and deserializes the specified object and verifies that the re-serialized object is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/MacHashFunction.java

        @Override
        protected void update(ByteBuffer bytes) {
          checkNotDone();
          checkNotNull(bytes);
          mac.update(bytes);
        }
    
        private void checkNotDone() {
          checkState(!done, "Cannot re-use a Hasher after calling hash() on it");
        }
    
        @Override
        public HashCode hash() {
          checkNotDone();
          done = true;
          return HashCode.fromBytesNoCopy(mac.doFinal());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableSet.java

            return false;
          } else if (candidate.equals(target)) {
            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return size;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CommonPattern.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonPattern {
      public abstract CommonMatcher matcher(CharSequence t);
    
      public abstract String pattern();
    
      public abstract int flags();
    
      // Re-declare this as abstract to force subclasses to override.
      @Override
      public abstract String toString();
    
      public static CommonPattern compile(String pattern) {
        return Platform.compilePattern(pattern);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CommonPattern.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonPattern {
      public abstract CommonMatcher matcher(CharSequence t);
    
      public abstract String pattern();
    
      public abstract int flags();
    
      // Re-declare this as abstract to force subclasses to override.
      @Override
      public abstract String toString();
    
      public static CommonPattern compile(String pattern) {
        return Platform.compilePattern(pattern);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.4K bytes
    - Viewed (0)
Back to top