Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 973 for check2 (0.08 sec)

  1. cmd/xl-storage-disk-id-check.go

    // ctx, on every successful read.
    // This should only be used directly at the os/syscall level,
    // otherwise buffered operations may return false health checks.
    func diskHealthReader(ctx context.Context, r io.Reader) io.Reader {
    	// Check if context has a disk health check.
    	tracker, ok := ctx.Value(healthDiskCtxKey{}).(*healthDiskCtxValue)
    	if !ok {
    		// No need to wrap
    		return r
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /**
     * Automatically runs sanity checks against top level classes in the same package of the test that
     * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link
     * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example:
     *
     * <pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/advanced-dependencies.md

    ## Use the instance as a dependency
    
    Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself.
    
    And when solving the dependency, **FastAPI** will call this `checker` like:
    
    ```Python
    checker(q="somequery")
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /**
     * Automatically runs sanity checks against top level classes in the same package of the test that
     * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link
     * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example:
     *
     * <pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         * Indicates whether remote repositories should be re-checked for updated artifacts/metadata regardless of their
         * configured update policy.
         *
         * @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
         *         otherwise.
         */
        boolean isForceUpdate();
    
        /**
         * Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        setDefault(type, value1);
        return this;
      }
    
      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
       * <ul>
       *   <li>All non-private static methods are checked such that passing null for any parameter
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                            result = false;
                            break;
                        }
                    }
                    // check for exact match
                    else if (repo.equals(originalId)) {
                        result = true;
                        break;
                    }
                    // check for external:*
                    else if (EXTERNAL_WILDCARD.equals(repo) && isExternalRepo(originalRepository)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top