- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 204 for Little (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
} public void testReadLittleEndian() throws IOException { DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); /* Read in various values in LITTLE ENDIAN FORMAT */ byte[] b = new byte[2]; in.readFully(b); assertEquals(-100, b[0]); assertEquals(100, b[1]); assertEquals(true, in.readBoolean()); assertEquals(false, in.readBoolean());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
// For convenience, testing only with big endianness, to match DataOutputStream. // I regard highly unlikely that both the little endianness tests above and this one // passes, and there is still a little endianness bug lurking around. } } Control control = new Control(); Hasher controlSink = control.newHasher(1024);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
public boolean cancel(boolean mayInterruptIfRunning) { throw new AssertionFailedError(); } @Override public V get() throws InterruptedException { /* * Wait a little to give us time to call addListener before the future's * value is set in addition to the call we'll make after then. */ allowGetToComplete.await(1, SECONDS);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
/** * Unit tests for {@link HashCode}. * * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @NullUnmarked public class HashCodeTest extends TestCase { // note: asInt(), asLong() are in little endian private static final ImmutableList<ExpectedHashCode> expectedHashCodes = ImmutableList.of( new ExpectedHashCode( new byte[] {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* number of concurrent accesses instead of the rate (note though that concurrency and rate are * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's * Law</a>). * * <p>A {@code RateLimiter} is defined primarily by the rate at which permits are issued. Absent * additional configuration, permits will be distributed at a fixed rate, defined in terms of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
/* * These arrays are set up to test that the comparator compares bytes within a word in the * correct order—in order words, that it doesn't mix up big-endian and little-endian. The first * array has a smaller element at one index, and then the second array has a smaller element at * the next. */ byte[] a0 = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 99, 15, 16, 17};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
} } // This is safe because we checked `expirationNanos`. return uncheckedCastNullableTToT(value); } @Override public String toString() { // This is a little strange if the unit the user provided was not NANOS, // but we don't want to store the unit just for toString return "Suppliers.memoizeWithExpiration(" + delegate + ", " + durationNanos + ", NANOS)"; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
/** * Unit tests for {@link HashCode}. * * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @NullUnmarked public class HashCodeTest extends TestCase { // note: asInt(), asLong() are in little endian private static final ImmutableList<ExpectedHashCode> expectedHashCodes = ImmutableList.of( new ExpectedHashCode( new byte[] {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
assertThat(simplifyPath("./.././../")).isEqualTo("../.."); } /* * We co-opt some URI resolution tests for our purposes. * Some of the tests have queries and anchors that are a little silly here. */ /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */ public void testRfc2396Normal() { assertThat(simplifyPath("/a/b/c/g")).isEqualTo("/a/b/c/g");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
assertThat(simplifyPath("./.././../")).isEqualTo("../.."); } /* * We co-opt some URI resolution tests for our purposes. * Some of the tests have queries and anchors that are a little silly here. */ /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */ public void testRfc2396Normal() { assertThat(simplifyPath("/a/b/c/g")).isEqualTo("/a/b/c/g");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0)