Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 516 for Allocation (0.09 seconds)

  1. cmd/url_test.go

    	b.StopTimer()
    }
    
    // BenchmarkURLQuery - benchmark URL memory allocations
    func BenchmarkURLQuery(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()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 2K bytes
    - Click Count (0)
  2. cmd/handler-utils.go

    		internalLogOnceIf(GlobalContext, err, "location-constraint-xml-parsing")
    		// Treat all other failures as XML parsing errors.
    		return "", ErrMalformedXML
    	} // else for both err as nil or io.EOF
    	location = locationConstraint.Location
    	if location == "" {
    		location = globalSite.Region()
    	}
    	if !isValidLocation(location) {
    		return location, ErrInvalidRegion
    	}
    
    	return location, ErrNone
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

            add(severity, version, message, null, null);
        }
    
        default void add(
                BuilderProblem.Severity severity, ModelProblem.Version version, String message, InputLocation location) {
            add(severity, version, message, location, null);
        }
    
        default void add(
                BuilderProblem.Severity severity, ModelProblem.Version version, String message, Exception exception) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 19 14:50:21 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java

         *
         * @param pom The POM's string representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
         */
        public StringModelSource(CharSequence pom, String location) {
            super(pom, location);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

        }
    
        /**
         * Creates a string with all location details for the specified model problem. If the project identifier is
         * provided, the generated location will omit the model id and source information and only give line/column
         * information for problems originating directly from this POM.
         *
         * @param problem The problem whose location should be formatted, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. fastapi/security/api_key.py

    
    class APIKeyBase(SecurityBase):
        def __init__(
            self,
            location: APIKeyIn,
            name: str,
            description: Union[str, None],
            scheme_name: Union[str, None],
            auto_error: bool,
        ):
            self.auto_error = auto_error
    
            self.model: APIKey = APIKey(
                **{"in": location},
                name=name,
                description=description,
            )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  7. ci/official/requirements_updater/BUILD.bazel

        cmd = """sed -E "s/>=/==/" $(location nvidia-requirements.txt) > $@;""",
    )
    
    compile_pip_requirements(
        name = "requirements",
        srcs = [
            "nvidia-requirements.txt",
            "requirements.in",
            ":nvidia_constraints",
        ],
        extra_args = [
            "--allow-unsafe",
            "--build-isolation",
            "--rebuild",
            "-c $(location :nvidia_constraints)",
        ],
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Sep 18 19:30:45 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java

    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.resolution.ArtifactDescriptorException;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Maven relocation source.
     * Note: implementations of this component should avoid the "default" name (has special meaning in Eclipse Sisu) and
     * explicitly order implementations using Sisu priorities.
     *
     * @since 4.0.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         */
        int getColumnNumber();
    
        /**
         * Gets the location of the problem. The location is a user-friendly combination of the values from
         * {@link #getSource()}, {@link #getLineNumber()} and {@link #getColumnNumber()}. The exact syntax of the returned
         * value is undefined.
         *
         * @return the location of the problem, never {@code null}
         */
        @Nonnull
        String getLocation();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertInstanceOf(Sources.BuildPathSource.class, source);
            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
        void testResolvedSource() {
            String location = "/tmp";
            Path path = Paths.get(location);
            String modelId = "org.example:test:1.0.0";
            ModelSource source = Sources.resolvedSource(path, modelId);
    
            assertNotNull(source);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top