Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for byteorder (0.23 sec)

  1. 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());
    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)
  2. android/guava/src/com/google/common/math/PairedStats.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 javax.annotation.CheckForNull;
    
    /**
     * An immutable value object capturing some basic statistics about a collection of paired double
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. 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*
    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)
  4. 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
     */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. android/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
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/buildid_linux.go

    			// is what we assume here.
    
    			if len(d) < 12 {
    				t.Logf("note section %d too short (%d < 12)", i, len(d))
    				continue sections
    			}
    
    			namesz := f.ByteOrder.Uint32(d)
    			descsz := f.ByteOrder.Uint32(d[4:])
    			typ := f.ByteOrder.Uint32(d[8:])
    
    			an := (namesz + 3) &^ 3
    			ad := (descsz + 3) &^ 3
    
    			if int(12+an+ad) > len(d) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        @VisibleForTesting
        enum UnsafeComparator implements Comparator<byte[]> {
          INSTANCE;
    
          static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN);
    
          /*
           * The following static final fields exist for performance reasons.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  8. android/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 javax.annotation.CheckForNull;
    
    /**
     * A bundle of statistical summary values -- sum, count, mean/average, min and max, and several
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  9. 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());
    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)
  10. guava-tests/test/com/google/common/math/StatsTest.java

    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    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}.
     *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
Back to top