- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 40 for Comparison (0.31 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link Service} */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() { // List every valid (direct) state transition. assertLessThan(NEW, STARTING); assertLessThan(NEW, TERMINATED);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link Service} */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() { // List every valid (direct) state transition. assertLessThan(NEW, STARTING); assertLessThan(NEW, TERMINATED);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.1K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arm64.go
// IsARM64ADR reports whether the op (as defined by an arm64.A* constant) is // one of the comparison instructions that require special handling. func IsARM64ADR(op obj.As) bool { switch op { case arm64.AADR, arm64.AADRP: return true } return false } // IsARM64CMP reports whether the op (as defined by an arm64.A* constant) is // one of the comparison instructions that require special handling. func IsARM64CMP(op obj.As) bool {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertTrue(item1.equals(item2)); } @Test public void test_equals_withNullInput() { // Test equals with null input - should not throw, uses null-safe comparison StopwordsItem item1 = new StopwordsItem(1, null); StopwordsItem item2 = new StopwordsItem(2, null); StopwordsItem item3 = new StopwordsItem(1, "word");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertTrue(item2.equals(item1)); } @Test public void test_equals_withNullInput() { // Test equals with null input - should not throw, uses null-safe comparison ProtwordsItem item1 = new ProtwordsItem(1, null); ProtwordsItem item2 = new ProtwordsItem(2, null); ProtwordsItem item3 = new ProtwordsItem(1, "word");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
int permutations = 1; int n = 1; int r = 1; while (n < sortedInputList.size()) { int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n)); if (comparison < 0) { // We move to the next non-repeated element. permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r)); r = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
(field, boost) -> QueryBuilders.matchQuery(field, "test").boost(boost), (field, text, boost) -> QueryBuilders.matchQuery(field, text).boost(boost)); // Manual implementation (for comparison) QueryBuilder result2; context2.addFieldLog("title", "test"); context2.addHighlightedQuery("test"); if (Constants.DEFAULT_FIELD.equals("title")) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Floats.java
if (array[i] == target) { return i; } } return -1; } /** * Returns the least value present in {@code array}, using the same rules of comparison as {@link * Math#min(float, float)}. * * @param array a <i>nonempty</i> array of {@code float} values * @return the value present in {@code array} that is less than or equal to every other value in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertTrue(item1.equals(item2)); } @Test public void test_equals_withNullOutput() { // Test equals with null output - should not throw, uses null-safe comparison String[] inputs1 = { "a", "b" }; String[] inputs2 = { "a", "b" }; String[] inputs3 = { "c", "d" }; CharMappingItem item1 = new CharMappingItem(1L, inputs1, null);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Doubles.java
if (array[i] == target) { return i; } } return -1; } /** * Returns the least value present in {@code array}, using the same rules of comparison as {@link * Math#min(double, double)}. * * @param array a <i>nonempty</i> array of {@code double} values * @return the value present in {@code array} that is less than or equal to every other value in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 27.8K bytes - Click Count (0)