Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 855 for result (0.04 seconds)

  1. docs/iam/access-manager-plugin.go

    	// Allow user `minio` to perform any action.
    	var res Result
    	if accountValue == "minio" {
    		res.Result = true
    	} else {
    		// All other users may not perform any `s3:Put*` operations.
    		res.Result = true
    		if strings.HasPrefix(actionValue, "s3:Put") {
    			res.Result = false
    		}
    	}
    	fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result)
    	json.NewEncoder(w).Encode(res)
    	return
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            MavenSession session = newMavenSession();
    
            Object result = new PluginParameterExpressionEvaluator(session, exec).evaluate("${plugin}");
    
            System.out.println("Result: " + result);
    
            assertSame(
                    exec.getMojoDescriptor().getPluginDescriptor(),
                    result,
                    "${plugin} expression does not return plugin descriptor.");
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. tests/test_fastapi_cli.py

            env={**os.environ, "PYTHONIOENCODING": "utf-8"},
        )
        assert result.returncode == 1, result.stdout
        assert "Path does not exist non_existent_file.py" in result.stdout
    
    
    def test_fastapi_cli_not_installed():
        with patch.object(fastapi.cli, "cli_main", None):
            with pytest.raises(RuntimeError) as exc_info:
                fastapi.cli.main()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 04:02:38 GMT 2025
    - 866 bytes
    - Click Count (0)
  4. cmd/batch-rotate.go

    				success := true
    				if err := r.KeyRotate(ctx, api, result); err != nil {
    					stopFn(result, err)
    					batchLogIf(ctx, err)
    					success = false
    					if attempts >= retryAttempts {
    						auditOptions := AuditLogOptions{
    							Event:     "KeyRotate",
    							APIName:   "StartBatchJob",
    							Bucket:    result.Bucket,
    							Object:    result.Name,
    							VersionID: result.VersionID,
    							Error:     err.Error(),
    						}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. internal/config/policy/plugin/config.go

    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    	// Handle simpler OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz/allow
    	type opaResult struct {
    		Result bool `json:"result"`
    	}
    
    	respBody := bytes.NewReader(opaRespBytes)
    
    	var result opaResult
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            when(mavenExecutionRequest.getPom()).thenReturn(new File(PARENT_MODULE, "pom.xml"));
    
            Result<ProjectDependencyGraph> result = graphBuilder.build(session);
    
            assertFalse(result.hasErrors(), "Expected result not to have errors");
            List<MavenProject> actualReactorProjects = result.get().getSortedProjects();
            assertEquals(2, actualReactorProjects.size());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
  7. tests/count_test.go

    	}
    
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    	result := dryDB.Table("users").Select("name").Count(&count)
    	if !regexp.MustCompile(`SELECT COUNT\(.name.\) FROM .*users.*`).MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Table("users").Distinct("name").Count(&count)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorContext.java

        private final MavenExecutionResult result;
    
        private final ClassLoader originalContextClassLoader;
    
        private final ReactorBuildStatus reactorBuildStatus;
    
        public ReactorContext(
                MavenExecutionResult result,
                ClassLoader originalContextClassLoader,
                ReactorBuildStatus reactorBuildStatus) {
            this.result = result;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            request.setSystemProperties(sysProperties);
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
            assertEquals("activated-1", result.getEffectiveModel().getProperties().get("profile.file"));
            assertNull(result.getEffectiveModel().getProperties().get("profile.miss"));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                RepositorySystemSession repositorySystemSession,
                MavenExecutionRequest request,
                MavenExecutionResult result) {
            this.container = null;
            this.request = requireNonNull(request);
            this.result = requireNonNull(result);
            this.settings = adaptSettings(request);
            this.repositorySystemSession = requireNonNull(repositorySystemSession);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top