- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 612 for x$ (0.02 seconds)
-
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestTrimLeadingFrom("-x-x", "x-x"); doTestTrimLeadingFrom("-xx-", "xx-"); doTestTrimLeadingFrom("x--x", "x--x"); doTestTrimLeadingFrom("x-x-", "x-x-"); doTestTrimLeadingFrom("x-xx", "x-xx"); doTestTrimLeadingFrom("x-x--xx---x----x", "x-x--xx---x----x"); // additional testing using the doc example assertThat(anyOf("ab").trimLeadingFrom("abacatbab")).isEqualTo("catbab"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
android/guava/src/com/google/common/math/ToDoubleRounder.java
/** Returns the sign of x: either -1, 0, or 1. */ abstract int sign(X x); /** Returns d's value as an X, rounded with the specified mode. */ abstract X toX(double d, RoundingMode mode); /** Returns a - b, guaranteed that both arguments are nonnegative. */ abstract X minus(X a, X b); /** Rounds {@code x} to a {@code double}. */ final double roundToDouble(X x, RoundingMode mode) { checkNotNull(x, "x");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
public void testSerialization() throws Exception { AtomicDoubleArray x = new AtomicDoubleArray(SIZE); for (int i = 0; i < SIZE; i++) { x.set(i, (double) -i); } AtomicDoubleArray y = serialClone(x); assertTrue(x != y); assertEquals(x.length(), y.length()); for (int i = 0; i < SIZE; i++) { assertBitEquals(x.get(i), y.get(i)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertFalse(entrySet.remove(immutableEntry(20, 'X'))); assertFalse(entrySet.remove(immutableEntry(15, 'X'))); } public void testRowSize() { table = sortedTable = create( "a", 2, 'X', "a", 2, 'X', "b", 3, 'X', "b", 2, 'X', "c", 10, 'X', "c", 10, 'X', "c", 20, 'X', "d", 15, 'X', "d", 20, 'X', "d", 1, 'X', "e", 5, 'X');
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15.3K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LongMath.java
} return 1L << -Long.numberOfLeadingZeros(x - 1); } /** * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code * checkedPow(2, log2(x, FLOOR))}. * * @throws IllegalArgumentException if {@code x <= 0} * @since 20.0 */ public static long floorPowerOfTwo(long x) { checkPositive("x", x);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 09 23:01:02 GMT 2026 - 46.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
for (double x : VALUES) { at.set(x); assertEquals((long) x, at.longValue()); } } /** floatValue returns current value. */ public void testFloatValue() { AtomicDouble at = new AtomicDouble(); assertEquals(0.0f, at.floatValue()); for (double x : VALUES) { at.set(x); assertEquals((float) x, at.floatValue()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/MathTesting.java
long x = 1L << exponent; longValues.add(x, x + 1, x - 1); } longValues.add(194368031998L).add(194368031999L); // sqrt(2^75) rounded up and down POSITIVE_LONG_CANDIDATES = longValues.build(); NEGATIVE_LONG_CANDIDATES = Iterables.concat( Iterables.transform(POSITIVE_LONG_CANDIDATES, x -> -x), ImmutableList.of(Long.MIN_VALUE));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 9.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
assertThat(Strings.padStart("x", 2, '-')).isEqualTo("-x"); assertThat(Strings.padStart("x", 3, '-')).isEqualTo("--x"); assertThat(Strings.padStart("xx", 3, '-')).isEqualTo("-xx"); } public void testPadStart_negativeMinLength() { assertThat(Strings.padStart("x", -1, '-')).isSameInstanceAs("x"); } @SuppressWarnings("nullness") // test of a bogus call
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
README.md
[][gh-build-4.0] - [3.10.x](https://github.com/apache/maven/tree/maven-3.10.x): [][build-3.10]
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 25 08:06:02 GMT 2026 - 5.9K bytes - Click Count (0) -
src/bytes/bytes_test.go
{" \t\r\n \t\t\r\r\n\n ", nil}, {" \t\r\n x\t\t\r\r\n\n ", []byte("x")}, {" \u2000\t\r\n x\t\t\r\r\ny\n \u3000", []byte("x\t\t\r\r\ny")}, {"1 \t\r\n2", []byte("1 \t\r\n2")}, {" x\x80", []byte("x\x80")}, {" x\xc0", []byte("x\xc0")}, {"x \xc0\xc0 ", []byte("x \xc0\xc0")}, {"x \xc0", []byte("x \xc0")}, {"x \xc0 ", []byte("x \xc0")}, {"x \xc0\xc0 ", []byte("x \xc0\xc0")}, {"x ☺\xc0\xc0 ", []byte("x ☺\xc0\xc0")},Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)