Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 93 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. cmd/url_test.go

    func BenchmarkURLQueryForm(b *testing.B) {
    	req, err := http.NewRequest(http.MethodGet, "http://localhost:9000/bucket/name?uploadId=upload&partNumber=1", http.NoBody)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    
    	if err := req.ParseForm(); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 2K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. misc/chrome/gophertool/manifest.json

    {
      "name": "Hacking Gopher",
      "version": "1.0",
      "manifest_version": 2,
      "description": "Go Hacking utility",
      "background": {
        "page": "background.html"
      },
      "browser_action": {
        "default_icon": "gopher.png",
        "default_popup": "popup.html"
      },
      "omnibox": { "keyword": "golang" },
      "icons": {
        "16": "gopher.png"
      },
      "permissions": [
         "tabs"
      ]
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 05 20:52:13 GMT 2012
    - 378 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