- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for littlest (0.33 sec)
-
android/guava/src/com/google/common/hash/Hasher.java
/** * A {@link PrimitiveSink} that can compute a hash code after reading the input. Each hasher should * translate all multibyte values ({@link #putInt(int)}, {@link #putLong(long)}, etc) to bytes in * little-endian order. * * <p><b>Warning:</b> The result of calling any methods after calling {@link #hash} is undefined. * * <p><b>Warning:</b> Using a specific character encoding when hashing a {@link CharSequence} with
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 5.5K bytes - Viewed (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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
return putBytesInternal(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN)); } @Override @CanIgnoreReturnValue public final Hasher putBytes(ByteBuffer readBuffer) { ByteOrder order = readBuffer.order(); try { readBuffer.order(ByteOrder.LITTLE_ENDIAN); return putBytesInternal(readBuffer); } finally { readBuffer.order(order); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
* * @author Colin Decker */ @ElementTypesAreNonnullByDefault abstract class AbstractByteHasher extends AbstractHasher { private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); /** Updates this hasher with the given byte. */ protected abstract void update(byte b); /** Updates this hasher with the given bytes. */ protected void update(byte[] b) { update(b, 0, b.length);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
* little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeChar(int v) throws IOException { writeShort(v); } /** * Writes a {@code String} as specified by {@link DataOutputStream#writeChars(String)}, except * each character is written using little-endian byte order. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Charsets.java
* */ @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT public static final Charset UTF_16BE = Charset.forName("UTF-16BE"); /** * UTF-16LE: sixteen-bit UCS Transformation Format, little-endian byte order. * * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link * java.nio.charset.StandardCharsets#UTF_16LE} instead. * */ @J2ktIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* */ String arch = System.getProperty("os.arch"); if ("amd64".equals(arch)) { theGetter = ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN) ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN : UnsafeByteArray.UNSAFE_BIG_ENDIAN; } } catch (Throwable t) { // ensure we really catch *everything* } byteArray = theGetter; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
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);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
/** @author Jesse Wilson */ final class Platform { static CharMatcher precomputeCharMatcher(CharMatcher matcher) { // CharMatcher.precomputed() produces CharMatchers that are maybe a little // faster (and that's debatable), but definitely more memory-hungry. We're // choosing to turn .precomputed() into a no-op in GWT, because it doesn't // seem to be a worthwhile tradeoff in a browser.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 17:58:45 GMT 2023 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* this annotation specifies each of the different sizes for which a test suite should be built. (In * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus * a little different from those of other Collection-related features such as {@link * CollectionFeature} or {@link SetFeature}. * * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 3.4K bytes - Viewed (0)