- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 110 for utility (0.04 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
import org.eclipse.aether.artifact.DefaultArtifact; import org.eclipse.aether.repository.RemoteRepository; import org.eclipse.aether.repository.RepositoryPolicy; /** * <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. * * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java
import org.apache.maven.project.ProjectBuildingRequest; import org.apache.maven.project.ProjectBuildingResult; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Utility to select projects for a given set of pom.xml files. */ @Named @Singleton public class DefaultProjectsSelector implements ProjectsSelector {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Sep 30 08:09:09 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
These examples are intentionally simple, but show how it all works. In the chapters about security, there are utility functions that are implemented in this same way. If you understood all this, you already know how those utility tools for security work underneath. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Nov 13 07:37:15 GMT 2025 - 9.1K bytes - Click Count (0)