Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 155 for utility (0.15 sec)

  1. android/guava-tests/test/com/google/common/graph/TestUtil.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    
    /** Utility methods used in various common.graph tests. */
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

        And be compatible with all of them at the same time.
    
    Create a utility function to hash a password coming from the user.
    
    And another utility to verify if a received password matches the hash stored.
    
    And another one to authenticate and return a user.
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public final class MinimalIterable<E extends @Nullable Object> implements Iterable<E> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public final class MinimalIterable<E extends @Nullable Object> implements Iterable<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import java.util.ArrayList;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Utility class for parsing CSV text
     */
    public final class KuromojiCSVUtil {
        private static final char QUOTE = '"';
    
        private static final char COMMA = ',';
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/GraphConstants.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    
    /** A utility class to hold various constants used by the Guava Graph library. */
    @ElementTypesAreNonnullByDefault
    final class GraphConstants {
    
      private GraphConstants() {}
    
      static final int EXPECTED_DEGREE = 2;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/get-current-user.md

            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="25"
        {!> ../../../docs_src/security/tutorial002.py!}
        ```
    
    ## Get the user
    
    `get_current_user` will use a (fake) utility function we created, that takes a token as a `str` and returns our Pydantic `User` model:
    
    === "Python 3.10+"
    
        ```Python hl_lines="19-22  26-27"
        {!> ../../../docs_src/security/tutorial002_an_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

     * artifact and does not contain any runtime specific data. The cache must not be used for descriptors that hold runtime
     * data like the plugin realm. <strong>Warning:</strong> This is an internal utility interface that is only public for
     * technical reasons, it is not part of the public API. In particular, this interface can be changed or deleted without
     * prior notice.
     *
     * @since 3.0
     */
    @Named
    @Singleton
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/handling-errors.md

    Because it's a Python exception, you don't `return` it, you `raise` it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    // starting offset is aligned up to the nearest block edge, and each
    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    // offsets and lengths that are multiples of blockSize.
    func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry {
    	dst := src[:0]
    	for _, s := range src {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top