Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cafebabe (0.12 sec)

  1. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy

            input                              | type                    | length | hashCode   | bytes
            "12345678"                         | ByteArrayBackedHashCode | 4      | 0x78563412 | toBytes(0x12, 0x34, 0x56, 0x78)
            "CAFEBABE"                         | ByteArrayBackedHashCode | 4      | 0xBEBAFECA | toBytes(0xCA, 0xFE, 0xBA, 0xBE)
            "abbaabba"                         | ByteArrayBackedHashCode | 4      | 0xBAABBAAB | toBytes([0xAB, 0xBA] * 2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
      }
    
      public void testReadFully() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/JavaClassUtil.java

    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * Utility class which operates directly on Java class files.
     */
    public class JavaClassUtil {
    
        private static final int MAGIC_BYTES = 0xCAFEBABE;
    
        private JavaClassUtil() {
            // Private to prevent instantiation.
        }
    
        /**
         * Get the class file major version from the provided {@code file}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/debug/macho/macho.go

    	Cmdsz  uint32
    	Flags  uint32
    }
    
    const (
    	fileHeaderSize32 = 7 * 4
    	fileHeaderSize64 = 8 * 4
    )
    
    const (
    	Magic32  uint32 = 0xfeedface
    	Magic64  uint32 = 0xfeedfacf
    	MagicFat uint32 = 0xcafebabe
    )
    
    // A Type is the Mach-O file type, e.g. an object file, executable, or dynamic library.
    type Type uint32
    
    const (
    	TypeObj    Type = 1
    	TypeExec   Type = 2
    	TypeDylib  Type = 6
    	TypeBundle Type = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 00:56:52 UTC 2021
    - 7.6K bytes
    - Viewed (0)
Back to top