Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 1,742 for modes (0.02 seconds)

  1. guava-tests/test/com/google/common/math/DoubleMathTest.java

          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(
                  "Rounding " + d + " with mode " + mode,
                  expected.intValue(),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  2. tests/test_request_params/test_form/test_optional_list.py

    class FormModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    async def read_model_optional_list_str(p: Annotated[FormModelOptionalListStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
        openapi = app.openapi()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. cmd/bucket-stats_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Nodes":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Nodes")
    				return
    			}
    			if cap(z.Nodes) >= int(zb0002) {
    				z.Nodes = (z.Nodes)[:zb0002]
    			} else {
    				z.Nodes = make([]ReplQNodeStats, zb0002)
    			}
    			for za0001 := range z.Nodes {
    				err = z.Nodes[za0001].DecodeMsg(dc)
    				if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 57.3K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/projects/CheckProject.kt

    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.Project
    import model.CIBuildModel
    import model.FunctionalTestBucketProvider
    import model.Stage
    import model.StageName
    import model.StatisticsBasedPerformanceTestBucketProvider
    import java.io.File
    
    class CheckProject(
        model: CIBuildModel,
        functionalTestBucketProvider: FunctionalTestBucketProvider,
    ) : Project({
            id("Check")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.classrealm;
    
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    import org.eclipse.aether.artifact.Artifact;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    
    import org.apache.maven.model.Model;
    
    /**
     * Assists in the handling of model problems.
     *
     * @author Benjamin Bentmann
     */
    public class ModelProblemUtils {
    
        /**
         * Creates a user-friendly source hint for the specified model.
         *
         * @param model The model to create a source hint for, may 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)
  7. internal/bucket/object/lock/lock.go

    // Enabled indicates object locking is enabled
    const Enabled = "Enabled"
    
    // RetMode - object retention mode.
    type RetMode string
    
    const (
    	// RetGovernance - governance mode.
    	RetGovernance RetMode = "GOVERNANCE"
    
    	// RetCompliance - compliance mode.
    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            Files.delete(tempFile);
            try (InputStream expected = Files.newInputStream(beforePomFile)) {
                Model model = new Model(new MavenStaxReader().read(expected));
                MavenProject project = new MavenProject(model);
                project.setOriginalModel(model);
                ConsumerPomArtifactTransformer t = new ConsumerPomArtifactTransformer((s, p, f) -> {
                    try (InputStream is = f.openStream()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        @Override
        public Model interpolate(Model model, Map<String, ?> context, boolean strict) throws ModelInterpolationException {
            Properties props = new Properties();
            props.putAll(context);
    
            return interpolate(model, null, new DefaultProjectBuilderConfiguration().setExecutionProperties(props), true);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

        @Override
        public ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException {
            if (model == null) {
                return null;
            }
    
            // use DefaultJavaToolChain for compatibility with maven 3.2.3 and earlier
    
            @SuppressWarnings("deprecation")
            JavaToolchainImpl jtc = new DefaultJavaToolChain(model, logger);
    
            // populate the provides section
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top