- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 154 for comparisons (0.08 seconds)
-
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) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
for (int i = 0; i < 10000; i++) { queryFieldConfig.isSortField(testField); } long setDuration = System.nanoTime() - setStartTime; // For comparison, simulate array-based lookup long arrayStartTime = System.nanoTime(); for (int i = 0; i < 10000; i++) { // Simulate original array-based lookup boolean found = false;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log * k). In benchmarks, this implementation performs at least as well as either implementation, and
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
// with the correct parameters. private static final int INITIAL_DELAY = 10; private static final int DELAY = 20; private static final TimeUnit UNIT = MILLISECONDS; // Unique runnable object used for comparison. @SuppressWarnings("AnonymousToLambda") final Runnable testRunnable = new Runnable() { @Override public void run() {} }; boolean called = false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
// with the correct parameters. private static final int INITIAL_DELAY = 10; private static final int DELAY = 20; private static final TimeUnit UNIT = MILLISECONDS; // Unique runnable object used for comparison. @SuppressWarnings("AnonymousToLambda") final Runnable testRunnable = new Runnable() { @Override public void run() {} }; boolean called = false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID, * "Unexpected bill status: %s", bill.status()); * } * * <h3>Comparison to alternatives</h3> * * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclear * which approach to use, <b>don't worry</b> too much about it; just pick something that seems
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
assertTrue(ACE.GENERIC_EXECUTE < ACE.GENERIC_WRITE, "GENERIC_EXECUTE should be less than GENERIC_WRITE"); // Note: GENERIC_READ (0x80000000) is negative, so it's less than positive values in signed comparison assertTrue(ACE.GENERIC_WRITE > 0 && ACE.GENERIC_READ < 0, "GENERIC_WRITE is positive, GENERIC_READ is negative"); } @Test @DisplayName("Should validate constant bit ranges")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
cmd/signature-v4-utils_test.go
t.Errorf("Test %d: Expected the result to `%v`, but instead got `%v`", i+1, testCase.expectedResult, actualResult) } } } // TestIsValidRegion - Tests validate the comparison logic for asserting whether the region from http request is valid. func TestIsValidRegion(t *testing.T) { testCases := []struct { inputReqRegion string inputConfRegion string expectedResult bool }{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 14.3K bytes - Click Count (0)