- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getInt (0.15 sec)
-
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
crc0 = computeForWord(crc0); crc1 = computeForWord(crc1); crc2 = computeForWord(crc2); crc3 = computeForWord(crc3); crc0 ^= bb.getInt(); crc1 ^= bb.getInt(); crc2 ^= bb.getInt(); crc3 ^= bb.getInt(); } } @Override protected void processRemaining(ByteBuffer bb) { if (finished) { return; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 21.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
}; } /** * Returns the {@code int} value whose big-endian representation is stored in the first 4 bytes of * {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getInt()}. For example, the input * byte array {@code {0x12, 0x13, 0x14, 0x15, 0x33}} would yield the {@code int} value {@code * 0x12131415}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 29.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java
assertTrue( "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0()))); expectAdded(e3()); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_withDuplicates() { MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4()); assertTrue("add(hasDuplicates) should return true", getSet().addAll(elementsToAdd)); expectAdded(e3(), e4()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
expectedHashCode += ((element == null) ? 0 : element.hashCode()); } assertEquals( "A Set's hashCode() should be the sum of those of its elements.", expectedHashCode, getSet().hashCode()); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testHashCode_containingNull() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
@Override public Hasher putBytes(ByteBuffer buffer) { ByteOrder bo = buffer.order(); buffer.order(ByteOrder.LITTLE_ENDIAN); while (buffer.remaining() >= 4) { putInt(buffer.getInt()); } while (buffer.hasRemaining()) { putByte(buffer.get()); } buffer.order(bo); return this; } @CanIgnoreReturnValue @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 11.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
assertFalse( "Sets of different sizes should not be equal.", getSet().equals(MinimalSet.from(moreElements))); } public void testEquals_list() { assertFalse("A List should never equal a Set.", getSet().equals(Helpers.copyToList(getSet()))); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemove_present() { getSet().remove(e0()); assertFalse( "After remove(present) a set should not contain the removed element.", getSet().contains(e0())); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks. // this gets the stripes with #getAt(index) for (int i = 0; i < striped.size(); i++) { Object object = striped.getAt(i); assertNotNull(object); assertSame(object, striped.getAt(i)); // idempotent observed.add(object); } assertTrue("All stripes observed", observed.size() == striped.size());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java
@CollectionFeature.Require(SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedPresent() { assertFalse("add(present) should return false", getSet().add(e0())); expectUnchanged(); } @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedNullPresent() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
expectedHashCode += ((element == null) ? 0 : element.hashCode()); } assertEquals( "A Set's hashCode() should be the sum of those of its elements.", expectedHashCode, getSet().hashCode()); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testHashCode_containingNull() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3K bytes - Viewed (0)