Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 855 for result (0.03 seconds)

  1. clause/set_test.go

    			},
    			"UPDATE `users` SET `name`=?",
    			[]interface{}{"jinzhu"},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    }
    
    func TestAssignments(t *testing.T) {
    	set := clause.Assignments(map[string]interface{}{
    		"name": "jinzhu",
    		"age":  18,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 11:18:54 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                    result = file.getAbsolutePath();
                } else {
                    // an ordinary relative path, align with project directory
                    result = new File(new File(basedir, path).toURI().normalize()).getAbsolutePath();
                }
            }
    
            return result;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                }
    
                // we have a value, so it has to match the system value...
                boolean result = propValue.equals(sysValue);
    
                return reverseValue ? !result : result;
            } else {
                boolean result = StringUtils.isNotEmpty(sysValue);
    
                return reverseName ? !result : result;
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                return addExceptionToResult(
                        result, graphResult.getProblems().iterator().next().getException());
            }
    
            try {
                if (result.hasExceptions()) {
                    return result;
                }
    
                result.setTopologicallySortedProjects(session.getProjects());
    
                result.setProject(session.getTopLevelProject());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        private void assertViolations(SimpleProblemCollector result, int fatals, int errors, int warnings) {
            assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals()));
            assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors()));
            assertEquals(warnings, result.getWarnings().size(), String.valueOf(result.getWarnings()));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

            }
    
            buffer.append(":\n");
    
            for (ProjectBuildingResult result : results) {
                if (!result.getProblems().isEmpty()) {
                    String projectInfo = result.getProjectId();
                    if (projectInfo.trim().isEmpty()) {
                        projectInfo =
                                result.getPomFile() != null ? result.getPomFile().getName() : "unknown project";
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. internal/s3select/sql/analysis.go

    	}
    	return result
    }
    
    func (e *AndCondition) analyze(s *Select) (result qProp) {
    	for _, ac := range e.Condition {
    		result.combine(ac.analyze(s))
    	}
    	return result
    }
    
    func (e *Condition) analyze(s *Select) (result qProp) {
    	if e.Operand != nil {
    		result = e.Operand.analyze(s)
    	} else {
    		result = e.Not.analyze(s)
    	}
    	return result
    }
    
    func (e *ListExpr) analyze(s *Select) (result qProp) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

        private final ModelBuilderResult result;
    
        /**
         * Creates a new exception from the specified interim result and its associated problems.
         *
         * @param result The interim result, may be {@code null}.
         */
        public ModelBuilderException(ModelBuilderResult result) {
            super(result.toString());
            this.result = result;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            int result = 17;
            result = 31 * result + a.getGroupId().hashCode();
            result = 31 * result + a.getArtifactId().hashCode();
            result = 31 * result + a.getType().hashCode();
            if (a.getVersion() != null) {
                result = 31 * result + a.getVersion().hashCode();
            }
            result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

            List<ProjectBuildingResult> results = projectBuilder.build(files, isRecursive, projectBuildingRequest);
    
            List<MavenProject> projects = new ArrayList<>(results.size());
    
            long totalProblemsCount = 0;
    
            for (ProjectBuildingResult result : results) {
                projects.add(result.getProject());
    
                int problemsCount = result.getProblems().size();
    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)
Back to Top