Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testByteArrayRoundTrips (0.13 seconds)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

                    (byte) 0xBB,
                    (byte) 0xAA,
                    (byte) 0x99,
                    (byte) 0x88))
            .isEqualTo(0xFFEEDDCCBBAA9988L);
      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Longs.BYTES];
    
        for (int i = 0; i < 1000; i++) {
          long num = r.nextLong();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
Back to Top