Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for validate (0.2 sec)

  1. android/guava/src/com/google/common/graph/InvalidatableSet.java

        validate();
        return delegate;
      }
    
      private InvalidatableSet(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        this.delegate = delegate;
        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import com.google.common.collect.Lists;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/Escapers.java

       *   <li>{@code safeMax == Character.MAX_VALUE}
       *   <li>{@code unsafeReplacement == null}
       * </ul>
       *
       * <p>For performance reasons escapers created by this builder are not Unicode aware and will not
       * validate the well-formedness of their input.
       */
      public static Builder builder() {
        return new Builder();
      }
    
      /**
       * A builder for simple, fast escapers.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Traverser.java

        ImmutableSet<N> validated = validate(startNodes);
        return new Iterable<N>() {
          @Override
          public Iterator<N> iterator() {
            return newTraversal().postOrder(validated.iterator());
          }
        };
      }
    
      abstract Traversal<N> newTraversal();
    
      @SuppressWarnings("CheckReturnValue")
      private ImmutableSet<N> validate(Iterable<? extends N> startNodes) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import com.google.common.collect.Lists;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        /**
         * If the delegate collection is empty, but the multimap has values for the key, replace the
         * delegate with the new collection for the key.
         *
         * <p>For a subcollection, refresh its ancestor and validate that the ancestor delegate hasn't
         * changed.
         */
        void refreshIfEmpty() {
          if (ancestor != null) {
            ancestor.refreshIfEmpty();
            if (ancestor.getDelegate() != ancestorDelegate) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * <p>Note however that if your escaper does not escape characters in the supplementary range, you
       * should either continue to validate the correctness of any surrogate characters encountered or
       * provide a clear warning to users that your escaper does not validate its input.
       *
       * <p>See {@link com.google.common.net.PercentEscaper} for an example.
       *
       * @param csq a sequence of characters
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  8. .github/workflows/gradle-wrapper-validation.yml

    name: "Validate Gradle Wrapper"
    on: [push, pull_request]
    
    permissions:
      contents: read
    
    jobs:
      validation:
        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 16:57:01 GMT 2024
    - 348 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      @CanIgnoreReturnValue
      @VisibleForTesting
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
          GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X {
        validator.validateClass(exceptionClass);
        try {
          return future.get();
        } catch (InterruptedException e) {
          currentThread().interrupt();
          throw newWithCause(exceptionClass, e);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/AbstractCache.java

      }
    
      @Override
      public void invalidate(Object key) {
        throw new UnsupportedOperationException();
      }
    
      /** @since 11.0 */
      @Override
      // For discussion of <? extends Object>, see getAllPresent.
      public void invalidateAll(Iterable<? extends Object> keys) {
        for (Object key : keys) {
          invalidate(key);
        }
      }
    
      @Override
      public void invalidateAll() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
Back to top