Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for 0x1234 (0.14 sec)

  1. src/internal/types/testdata/check/literals.go

    	assert(0Xdead_cafep+1 == 0xdeadcafep+1)
    	assert(0x_1234P-10 == 0x1234p-10)
    
    	assert(0X_dead_cafe.p-10 == 0xdeadcafe.p-10)
    	assert(0x12_34.P1_2_3 == 0x1234.p123)
    
    	assert(1_234i == 1234i)
    	assert(1_234_567i == 1234567i)
    
    	assert(0.i == 0i)
    	assert(123.i == 123i)
    	assert(0123.i == 123i)
    
    	assert(0.e+1i == 0i)
    	assert(123.E-1_0i == 123e-10i)
    	assert(01_23.e123i == 123e123i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

                missing("root"),
                regularFile("root", 0x1234)
            ) == [added("root")]
        }
    
        def "type change regular file -> directory"() {
            expect:
            changes(
                regularFile("root", 0x1234),
                directory("root", [
                    regularFile("root/one", 0x1234),
                    regularFile("root/two", 0x2345)
                ])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. test/convinline.go

    			fallthrough
    		case "int32":
    			inputs = append(inputs, "-0x8000_0000", "-0x7fff_ffff", "-0x12_3456", "0x12_3456", "0x7fff_ffff")
    			fallthrough
    		case "int16":
    			inputs = append(inputs, "-0x8000", "-0x7fff", "-0x1234", "0x1234", "0x7fff")
    			fallthrough
    		case "int8":
    			inputs = append(inputs, "-0x80", "-0x7f", "-0x12", "-1", "0", "1", "0x12", "0x7f")
    
    		case "uint64", "uint", "uintptr":
    			if t1 == "uint64" || bits.UintSize == 64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  4. src/go/constant/value_test.go

    	"testing"
    )
    
    var intTests = []string{
    	// 0-octals
    	`0_123 = 0123`,
    	`0123_456 = 0123456`,
    
    	// decimals
    	`1_234 = 1234`,
    	`1_234_567 = 1234567`,
    
    	// hexadecimals
    	`0X_0 = 0`,
    	`0X_1234 = 0x1234`,
    	`0X_CAFE_f00d = 0xcafef00d`,
    
    	// octals
    	`0o0 = 0`,
    	`0o1234 = 01234`,
    	`0o01234567 = 01234567`,
    
    	`0O0 = 0`,
    	`0O1234 = 01234`,
    	`0O01234567 = 01234567`,
    
    	`0o_0 = 0`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top