Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for result (0.04 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

            }
            return new Result<>(result.hasErrors() || hasErrors(problems), result.get(), list);
        }
    
        public static <T> Result<T> addProblems(Result<T> result, Result<?>... results) {
            final List<ModelProblem> problemsList = new ArrayList<>();
    
            for (Result<?> result1 : results) {
                for (ModelProblem modelProblem : result1.getProblems()) {
                    problemsList.add(modelProblem);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. tests/prepared_stmt_test.go

    		t.Errorf("Failed to commit transaction, got error %v\n", err)
    	}
    
    	if result := db.Where("name=?", "zzjin").Delete(&User{}); result.Error != nil || result.RowsAffected != 1 {
    		t.Fatalf("Failed, got error: %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    
    	tx2 := db.Begin()
    	if result := tx2.Where("name=?", "zzjin").Delete(&User{}); result.Error != nil || result.RowsAffected != 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            });
    
            ModelBuildingResult result = builder.build(request);
            Dependency dep = result.getEffectiveModel().getDelegate().getDependencyManagement().getDependencies().stream()
                    .filter(d -> "test:mydep:jar".equals(d.getManagementKey()))
                    .findFirst()
                    .get();
            assertEquals("0.2", dep.getVersion());
            assertEquals(0, result.getProblems().size());
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. internal/config/dns/etcd_dns_test.go

    	for _, path := range []string{"mydns", "skydns"} {
    		result := msgPath("service.staging.skydns.local.", path)
    		if result != etcdPathSeparator+path+"/local/skydns/staging/service" {
    			t.Errorf("Failure to get domain's path with prefix: %s", result)
    		}
    	}
    }
    
    func TestUnPath(t *testing.T) {
    	result1 := msgUnPath("/skydns/local/cluster/staging/service/")
    	if result1 != "service.staging.cluster.local." {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. 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());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            boolean result = ensureAtLeastOneNonNull(os);
    
            if (result && os.getFamily() != null) {
                result = determineFamilyMatch(os.getFamily());
            }
            if (result && os.getName() != null) {
                result = determineNameMatch(os.getName());
            }
            if (result && os.getArch() != null) {
                result = determineArchMatch(os.getArch());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          HashCode checksum = new Fingerprint2011().hashBytes(testBytes, 0, testBytes.length);
          result = (byte) (result ^ checksum.asLong());
        }
        return result;
      }
    
      // Helpers + main
    
      private byte runHashFunction(int reps, HashFunction hashFunction) {
        byte result = 0x01;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                InternalScopeManager internalScopeManager) {
            ArrayList<org.eclipse.aether.scope.DependencyScope> result = new ArrayList<>();
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.COMPILE.id(), DependencyScope.COMPILE.isTransitive(), all()));
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.RUNTIME.id(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

            HashMap<String, NamedLockFactory> result = new HashMap<>();
            result.put(NoopNamedLockFactory.NAME, new NoopNamedLockFactory());
            result.put(LocalReadWriteLockNamedLockFactory.NAME, new LocalReadWriteLockNamedLockFactory());
            result.put(LocalSemaphoreNamedLockFactory.NAME, new LocalSemaphoreNamedLockFactory());
            result.put(FileLockNamedLockFactory.NAME, new FileLockNamedLockFactory());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    			// Report caller of any failure
    			return res.err
    		}
    		res.result.Type = healType
    		if res.err != nil {
    			res.result.Detail = res.err.Error()
    		}
    		if res.result.ParityBlocks > 0 && res.result.DataBlocks > 0 && res.result.DataBlocks > res.result.ParityBlocks {
    			if got := countOKDrives(res.result.After.Drives); got < res.result.ParityBlocks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top