Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,357 for Result (0.08 seconds)

  1. tests/scopes_test.go

    	if db.Find(&User{}).Statement.Table != "custom_table" {
    		t.Errorf("failed to call Scopes")
    	}
    
    	result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB {
    		return tx.Session(&gorm.Session{})
    	}).Find(&users1)
    
    	if result.RowsAffected != 2 {
    		t.Errorf("Should found two users's name in 1, 2, but got %v", result.RowsAffected)
    	}
    
    	var maxId int64
    	userTable := func(db *gorm.DB) *gorm.DB {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

            HashMap<String, ChecksumAlgorithmFactory> result = new HashMap<>();
            result.put(Sha512ChecksumAlgorithmFactory.NAME, new Sha512ChecksumAlgorithmFactory());
            result.put(Sha256ChecksumAlgorithmFactory.NAME, new Sha256ChecksumAlgorithmFactory());
            result.put(Sha1ChecksumAlgorithmFactory.NAME, new Sha1ChecksumAlgorithmFactory());
            result.put(Md5ChecksumAlgorithmFactory.NAME, new Md5ChecksumAlgorithmFactory());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 11:31:00 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                cache.put(session, cacheKey, new Record(result.getVersion(), result.getRepository()));
            }
    
            return result;
        }
    
        private boolean resolve(VersionResult result, Map<String, VersionInfo> infos, String key) {
            VersionInfo info = infos.get(key);
            if (info != null) {
                result.setVersion(info.version);
                result.setRepository(info.repository);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ComparisonChain.java

              return classify(Boolean.compare(left, right));
            }
    
            ComparisonChain classify(int result) {
              return (result < 0) ? LESS : (result > 0) ? GREATER : ACTIVE;
            }
    
            @Override
            public int result() {
              return 0;
            }
          };
    
      private static final ComparisonChain LESS = new InactiveComparisonChain(-1);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        }
    
        @Override
        public int hashCode() {
            int result = hashCode;
            if (result == 0) {
                result = java.util.Objects.hash(lineNumber, columnNumber, source, locations, importedFrom);
                hashCode = result;
            }
            return result;
        }
    
        @Override
        public String toString() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

         * @param result Outcome of the current Maven build.
         * @return A {@link BuildResumptionData} instance or {@link Optional#empty()} if resuming the build is not possible.
         */
        Optional<BuildResumptionData> determineBuildResumptionData(MavenExecutionResult result);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. cmd/object-api-getobjectinfo_test.go

    			if testCase.result.Bucket != result.Bucket {
    				t.Fatalf("Test %d: %s: Expected Bucket name to be '%s', but found '%s' instead", i+1, instanceType, testCase.result.Bucket, result.Bucket)
    			}
    			if testCase.result.Name != result.Name {
    				t.Errorf("Test %d: %s: Expected Object name to be %s, but instead found it to be %s", i+1, instanceType, testCase.result.Name, result.Name)
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                UpgradeContext context = createMockContext();
                UpgradeResult result = strategy.doApply(context, pomMap);
    
                // Strategy should handle malformed POMs gracefully
                assertNotNull(result, "Result should not be null");
                assertTrue(result.processedPoms().contains(Paths.get("pom.xml")), "POM should be marked as processed");
            }
        }
    
        @Nested
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals("[1, 2, 3, 4, 5, 6]", result.toString());
      }
    
      public void testAppend_toEmpty() {
        FluentIterable<Integer> result =
            FluentIterable.<Integer>of().append(Lists.newArrayList(1, 2, 3));
        assertEquals(asList(1, 2, 3), Lists.newArrayList(result));
      }
    
      public void testAppend_emptyList() {
        FluentIterable<Integer> result =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                throws ArtifactResolutionException {
            List<ArtifactResult> results = new ArrayList<>();
    
            for (ArtifactRequest request : requests) {
                ArtifactResult result = new ArtifactResult(request);
                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top