Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 155 for utility (0.04 seconds)

  1. cmd/benchmark-utils_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"math"
    	"math/rand"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    // Benchmark utility functions for ObjectLayer.PutObject().
    // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark.
    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. docs/en/docs/how-to/extending-openapi.md

    By default, what the method `.openapi()` does is check the property `.openapi_schema` to see if it has contents and return them.
    
    If it doesn't, it generates them using the utility function at `fastapi.openapi.utils.get_openapi`.
    
    And that function `get_openapi()` receives as parameters:
    
    * `title`: The OpenAPI title, shown in the docs.
    * `version`: The version of your API, e.g. `2.5.0`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Get the user { #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:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Inject the current user { #inject-the-current-user }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptor.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Provides metadata about a build extension. <strong>Warning:</strong> This is an internal utility class that is only
     * public for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted
     * without prior notice.
     *
     */
    public class ExtensionDescriptor {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompileExtension.kt

    import org.gradle.api.NamedDomainObjectProvider
    import org.gradle.api.Project
    import org.gradle.api.tasks.SourceSet
    
    /**
     * A container of [JvmCompilation]s for a JVM project.
     *
     * Utility methods are provided to add compilations based on existing [SourceSet]s.
     */
    abstract class JvmCompileExtension {
    
        companion object {
            const val NAME: String = "jvmCompile"
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 14:00:52 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            if (context == null) {
                return null;
            }
            return context.get(key);
        }
    
        /**
         * Sets the project's class realm. <strong>Warning:</strong> This is an internal utility method that is only public
         * for technical reasons, it is not part of the public API. In particular, this method can be changed or deleted
         * without prior notice and must not be used by plugins.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  7. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java

    import org.apache.maven.project.MavenProject;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Caches project artifacts. <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.
     *
     */
    public interface ProjectArtifactsCache {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java

    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Helps to provide backward-compatibility with plugins that use legacy components. <strong>Warning:</strong> This is an
     * internal utility component that is only public for technical reasons, it is not part of the public API. In
     * particular, this component can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    @Named
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java

    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Helps to provide backward-compatibility with plugins that use legacy components. <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
     */
    public interface LegacySupport {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
Back to Top