Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 0x1234 (0.11 sec)

  1. 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)
  2. src/image/image_test.go

    		color.NRGBA64Model,
    		color.Alpha16Model,
    		color.Gray16Model,
    	}
    	for _, cm := range testColorModel {
    		c := cm.Convert(color.RGBA64{0x1234, 0x1234, 0x1234, 0x1234}) // Premultiplied alpha.
    		r, _, _, _ := c.RGBA()
    		if r != 0x1234 {
    			t.Errorf("%T: want red value 0x%04x got 0x%04x", c, 0x1234, r)
    			continue
    		}
    	}
    	testImage := []image{
    		NewRGBA64(Rect(0, 0, 10, 10)),
    		NewNRGBA64(Rect(0, 0, 10, 10)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 30 02:00:49 UTC 2021
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go

    // match marker with that change ID, as returned by [Marker].
    // The markers are elided when displaying the lines to the user.
    //
    // A match marker has the form “[bisect-match 0x1234]” where
    // 0x1234 is the change ID in hexadecimal.
    // An alternate form is “[bisect-match 010101]”, giving the change ID in binary.
    //
    // When [Matcher.Visible] returns false, the match reports are only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. src/text/scanner/scanner_test.go

    		{Float, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		// octals
    		{Int, "0o0", "0o0", ""},
    		{Int, "0o1234", "0o1234", ""},
    		{Int, "0O1234", "0O1234", ""},
    
    		{Int, "0o", "0o", "octal literal has no digits"},
    		{Int, "0o8123", "0o8123", "invalid digit '8' in octal literal"},
    		{Int, "0o1293", "0o1293", "invalid digit '9' in octal literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    // or if x>>28 != 0xF and value>>28 == 0.
    // If x matches the format, then the rest of the fields describe how to interpret x.
    // The opBits describe bits that should be extracted from x and added to the opcode.
    // For example opBits = 0x1234 means that the value
    //
    //	(2 bits at offset 1) followed by (4 bits at offset 3)
    //
    // should be added to op.
    // Finally the args describe how to decode the instruction arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  10. src/internal/bisect/bisect.go

    // match marker with that change ID, as returned by [Marker].
    // The markers are elided when displaying the lines to the user.
    //
    // A match marker has the form “[bisect-match 0x1234]” where
    // 0x1234 is the change ID in hexadecimal.
    // An alternate form is “[bisect-match 010101]”, giving the change ID in binary.
    //
    // When [Matcher.Visible] returns false, the match reports are only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top