Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/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 junit.framework.TestCase;
    
    /**
     * Tests for {@link Stats}. This tests instances created by both {@link Stats#of} and {@link
     * StatsAccumulator#snapshot}.
     *
     * @author Pete Gillin
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  10. 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.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top