Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,672 for orResult (0.04 sec)

  1. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            final String result = Base64Util.encode(new byte[0]);
            assertEquals("Empty array should return empty string", "", result);
        }
    
        /**
         * Test encode with null returns empty string
         *
         * @throws Exception
         */
        public void testEncode_Null() throws Exception {
            final String result = Base64Util.encode(null);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. schema/constraint_test.go

    			Field: &schema.Field{Name: "Name1", Unique: true},
    		},
    	}
    	for k, result := range results {
    		v, ok := constraints[k]
    		if !ok {
    			t.Errorf("Failed to found unique constraint %v from parsed constraints %+v", k, constraints)
    		}
    		tests.AssertObjEqual(t, result, v, "Name")
    		tests.AssertObjEqual(t, result.Field, v.Field, "Name", "Unique", "UniqueIndex")
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + eventType;
            result = prime * result + ((exception == null) ? 0 : exception.hashCode());
            result = prime * result + ((localFile == null) ? 0 : localFile.hashCode());
            result = prime * result + requestType;
            return result;
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. clause/clause_test.go

    			buildNames = append(buildNames, c.Name())
    			buildNamesMap[c.Name()] = true
    		}
    
    		stmt.AddClause(c)
    	}
    
    	stmt.Build(buildNames...)
    
    	if strings.TrimSpace(stmt.SQL.String()) != result {
    		t.Errorf("SQL expects %v got %v", result, stmt.SQL.String())
    	}
    
    	if !reflect.DeepEqual(stmt.Vars, vars) {
    		t.Errorf("Vars expects %+v got %v", stmt.Vars, vars)
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jun 02 02:50:38 UTC 2020
    - 1012 bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

         * @param result The interim result of the first phase of model building, must not be {@code null}.
         * @return The result of the model building, never {@code null}.
         * @throws ModelBuildingException If the effective model could not be built.
         */
        ModelBuildingResult build(ModelBuildingRequest request, ModelBuildingResult result) throws ModelBuildingException;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFailureUrlBhv.java

        }
    
        @Override
        protected <RESULT extends FailureUrl> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setConfigId(DfTypeUtil.toString(source.get("configId")));
                result.setErrorCount(DfTypeUtil.toInteger(source.get("errorCount")));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRequestHeaderBhv.java

        }
    
        @Override
        protected <RESULT extends RequestHeader> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

         *
         * @param context the upgrade context
         * @param result the upgrade result
         */
        protected void logSummary(UpgradeContext context, UpgradeResult result) {
            context.println();
            context.info(getDescription() + " Summary:");
            context.indent();
            context.info(result.modifiedCount() + " POM(s) modified");
            context.info(result.unmodifiedCount() + " POM(s) needed no changes");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/CollectorTester.java

        for (CollectStrategy scheme : CollectStrategy.values()) {
          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
            R result = (R) finalAccum;
            assertEquivalent(expectedResult, result);
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. 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);
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 20.2K bytes
    - Viewed (0)
Back to top