- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ByteOrder (0.2 sec)
-
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
processCalled++; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); assertTrue(bb.remaining() >= chunkSize); for (int i = 0; i < chunkSize; i++) { out.write(bb.get()); } } @Override protected void processRemaining(ByteBuffer bb) { assertFalse(remainingCalled); remainingCalled = true; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
rng.nextBytes(bytes); ByteBuffer littleEndian = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); ByteBuffer bigEndian = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN); assertEquals(hashFunction.hashBytes(littleEndian), hashFunction.hashBytes(bigEndian)); assertEquals(ByteOrder.LITTLE_ENDIAN, littleEndian.order()); assertEquals(ByteOrder.BIG_ENDIAN, bigEndian.order()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* */ String arch = System.getProperty("os.arch"); if ("amd64".equals(arch) || "aarch64".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*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
putByte(bytes[off + i]); } return this; } @CanIgnoreReturnValue @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()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 11.8K bytes - Viewed (0) -
api/go1.23.txt
pkg debug/elf, const STT_SRELC = 9 #66836 pkg debug/elf, const STT_SRELC SymType #66836 pkg encoding/binary, func Append([]uint8, ByteOrder, interface{}) ([]uint8, error) #60023 pkg encoding/binary, func Decode([]uint8, ByteOrder, interface{}) (int, error) #60023 pkg encoding/binary, func Encode([]uint8, ByteOrder, interface{}) (int, error) #60023 pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339 pkg go/types, method (*Alias) Origin() *Alias #67143
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 25 17:08:08 UTC 2024 - 10.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
processCalled++; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); assertTrue(bb.remaining() >= chunkSize); for (int i = 0; i < chunkSize; i++) { out.write(bb.get()); } } @Override protected void processRemaining(ByteBuffer bb) { assertFalse(remainingCalled); remainingCalled = true; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
import com.google.common.math.StatsTesting.ManyValues; import com.google.common.testing.EqualsTester; import com.google.common.testing.SerializableTester; import java.nio.ByteBuffer; import java.nio.ByteOrder; import junit.framework.TestCase; /** * Tests for {@link PairedStats}. This tests instances created by {@link * PairedStatsAccumulator#snapshot}. * * @author Pete Gillin */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 21:17:33 UTC 2024 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
import com.google.common.primitives.Longs; import com.google.common.testing.EqualsTester; import com.google.common.testing.SerializableTester; import java.math.BigDecimal; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.DoubleSummaryStatistics; import junit.framework.TestCase; /** * Tests for {@link Stats}. This tests instances created by both {@link Stats#of} and {@link * StatsAccumulator#snapshot}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.MoreObjects; import com.google.common.base.Objects; import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.Iterator; import java.util.stream.Collector; import java.util.stream.DoubleStream; import java.util.stream.IntStream; import java.util.stream.LongStream; import javax.annotation.CheckForNull;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} if f, err := macho.Open(gccTmp()); err == nil { defer f.Close() d, err := f.DWARF() if err != nil { fatalf("cannot load DWARF output from %s: %v", gccTmp(), err) } bo := f.ByteOrder if f.Symtab != nil { for i := range f.Symtab.Syms { s := &f.Symtab.Syms[i] switch { case isDebugInts(s.Name): // Found it. Now find data section.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0)