Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 85 for 0x1234 (0.14 sec)

  1. test/fixedbugs/issue5809.go

    // license that can be found in the LICENSE file.
    
    // issue 5809: 6g and 8g attempted to constant propagate indexed LEA
    
    package main
    
    import "fmt"
    
    func main() {
    	const d16 = "0123456789ABCDEF"
    	k := 0x1234
    	var x [4]byte
    	
    	x[0] = d16[k>>12&0xf]
    	x[1] = d16[k>>8&0xf]
    	x[2] = d16[k>>4&0xf]
    	x[3] = d16[k&0xf]
    	
    	if x != [4]byte{'1','2','3','4'} {
    		fmt.Println(x)
    		panic("x != [4]byte{'1','2','3','4'}")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 529 bytes
    - Viewed (0)
  2. test/rotate.go

    	}
    }
    
    const prolog = `
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    var (
    	i8 int8 = 0x12
    	i16 int16 = 0x1234
    	i32 int32 = 0x12345678
    	i64 int64 = 0x123456789abcdef0
    	ui8 uint8 = 0x12
    	ui16 uint16 = 0x1234
    	ui32 uint32 = 0x12345678
    	ui64 uint64 = 0x123456789abcdef0
    
    	ni8 = ^i8
    	ni16 = ^i16
    	ni32 = ^i32
    	ni64 = ^i64
    	nui8 = ^ui8
    	nui16 = ^ui16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStoreTest.groovy

        def "can serialize and deserialize metadata"() {
            def outputHashes = ImmutableListMultimap.<String, HashCode>builder()
                .putAll("out1", hashCodeFrom(0x1234), hashCodeFrom(0x2345))
                .putAll("out2", hashCodeFrom(0x3456))
                .build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetectorTest.groovy

        }
    
        def "detects overlap when there is a stale #type in an output directory"() {
            def emptyDirectory = new DirectorySnapshot("/absolute", "absolute", AccessType.DIRECT, TestHashCodes.hashCodeFrom(0x1234), [])
            def directoryWithStaleBrokenSymlink = new DirectorySnapshot("/absolute", "absolute", AccessType.DIRECT, TestHashCodes.hashCodeFrom(0x5678), [
                staleEntry
            ])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/helpers_test.go

    		},
    		Name:                "test-name",
    		ImageID:             "test-image-id",
    		ImageRef:            "test-image-ref",
    		Image:               "test-image",
    		ImageRuntimeHandler: "",
    		Hash:                uint64(0x1234),
    		State:               kubecontainer.ContainerStateRunning,
    	}
    
    	_, _, m, err := createTestRuntimeManager()
    	assert.NoError(t, err)
    	got, err := m.toKubeContainer(c)
    	assert.NoError(t, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. test/literal.go

    	var cx2 uint8 = '\xff'
    	assert(cx0 == 0, "cx0")
    	assert(cx1 == 15, "cx1")
    	assert(cx2 == 255, "cx2")
    
    	var cu0 uint16 = '\u1234'
    	var cu1 uint32 = '\U00101234'
    	assert(cu0 == 0x1234, "cu0")
    	assert(cu1 == 0x101234, "cu1")
    
    	// string
    	var s0 string = ""
    	var s1 string = "hellĂ´"
    	assert(s1[0] == 'h', "s1-0")
    	assert(s1[4] == 0xc3, "s1-4")
    	assert(s1[5] == 0xb4, "s1-5")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 5K bytes
    - Viewed (0)
  7. src/cmd/link/elf_test.go

    	goTool := testenv.GoToolPath(t)
    
    	cmd := testenv.Command(t, goTool, "build", "-o", outFile, "-ldflags", "-buildid 0x1234 -B gobuildid", goFile)
    	cmd.Dir = t.TempDir()
    
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	expectedGoBuildID := notsha256.Sum256([]byte("0x1234"))
    
    	gnuBuildID, err := buildid.ReadELFNote(outFile, string(ld.ELF_NOTE_BUILDINFO_NAME), ld.ELF_NOTE_BUILDINFO_TAG)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. src/html/template/css_test.go

    		{`\`, ``},
    		{`\A`, "\n"},
    		{`\a`, "\n"},
    		{`\0a`, "\n"},
    		{`\00000a`, "\n"},
    		{`\000000a`, "\u0000a"},
    		{`\1234 5`, "\u1234" + "5"},
    		{`\1234\20 5`, "\u1234" + " 5"},
    		{`\1234\A 5`, "\u1234" + "\n5"},
    		{"\\1234\t5", "\u1234" + "5"},
    		{"\\1234\n5", "\u1234" + "5"},
    		{"\\1234\r\n5", "\u1234" + "5"},
    		{`\12345`, "\U00012345"},
    		{`\\`, `\`},
    		{`\\ `, `\ `},
    		{`\"`, `"`},
    		{`\'`, `'`},
    		{`\.`, `.`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/scanner_test.go

    		{ImagLit, "0b10i", "0b10i", ""},
    		{ImagLit, "0b10.0i", "0b10.0i", "invalid radix point in binary literal"},
    
    		// octals
    		{IntLit, "0o0", "0o0", ""},
    		{IntLit, "0o1234", "0o1234", ""},
    		{IntLit, "0O1234", "0O1234", ""},
    
    		{IntLit, "0o", "0o", "octal literal has no digits"},
    		{IntLit, "0o8123", "0o8123", "invalid digit '8' in octal literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals(0, in.readUnsignedShort());
        assertEquals(1, in.readUnsignedShort());
        assertEquals(65535, in.readUnsignedShort());
        assertEquals(0x1234, in.readUnsignedShort());
      }
    
      public void testNewDataInput_readLong() {
        byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
Back to top