Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 138 for 012345678Z (0.1 sec)

  1. test/fixedbugs/issue47227.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    package main
    
    // void f(int *p) { *p = 0x12345678; }
    import "C"
    
    func main() {
    	var x C.int
    	func() {
    		defer C.f(&x)
    	}()
    	if x != 0x12345678 {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 382 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/copy_test.go

    	mid  [9]byte
    	post [8]byte
    }
    
    //go:noinline
    func t9copy_ssa(y, x *[9]byte) {
    	*y = *x
    }
    func testCopy9(t *testing.T) {
    	a := T9{[8]byte{201, 202, 203, 204, 205, 206, 207, 208}, [9]byte{0, 1, 2, 3, 4, 5, 6, 7, 8}, [8]byte{211, 212, 213, 214, 215, 216, 217, 218}}
    	x := [9]byte{100, 101, 102, 103, 104, 105, 106, 107, 108}
    	t9copy_ssa(&a.mid, &x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 150.2K bytes
    - Viewed (0)
  3. src/cmd/internal/edit/edit_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package edit
    
    import "testing"
    
    func TestEdit(t *testing.T) {
    	b := NewBuffer([]byte("0123456789"))
    	b.Insert(8, ",7½,")
    	b.Replace(9, 10, "the-end")
    	b.Insert(10, "!")
    	b.Insert(4, "3.14,")
    	b.Insert(4, "π,")
    	b.Insert(4, "3.15,")
    	b.Replace(3, 4, "three,")
    	want := "012three,3.14,π,3.15,4567,7½,8the-end!"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 14:59:26 UTC 2017
    - 653 bytes
    - Viewed (0)
  4. src/strconv/ftoa_test.go

    	{1, 'f', 5, "1.00000"},
    	{1, 'g', 5, "1"},
    	{1, 'g', -1, "1"},
    	{1, 'x', -1, "0x1p+00"},
    	{1, 'x', 5, "0x1.00000p+00"},
    	{20, 'g', -1, "20"},
    	{20, 'x', -1, "0x1.4p+04"},
    	{1234567.8, 'g', -1, "1.2345678e+06"},
    	{1234567.8, 'x', -1, "0x1.2d687cccccccdp+20"},
    	{200000, 'g', -1, "200000"},
    	{200000, 'x', -1, "0x1.86ap+17"},
    	{200000, 'X', -1, "0X1.86AP+17"},
    	{2000000, 'g', -1, "2e+06"},
    	{1e10, 'g', -1, "1e+10"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 });
            assertFalse(cos.done);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(cos.done);
            assertTrue(file.exists());
            cos.close();
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. src/cmd/internal/buildid/buildid_test.go

    		results    []string // expected results of reads
    	}{
    		{12, 15, []string{"0123456789", "ab\x00\x00\x00fghij", "klmn"}},                              // within one read
    		{8, 21, []string{"01234567\x00\x00", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "\x00lmn"}}, // across multiple reads
    		{10, 20, []string{"0123456789", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "klmn"}},         // a whole read
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramTextTest.kt

    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    
    
    class ProgramTextTest {
    
        @Test
        fun `preserve`() {
    
            val text = text("0123456789")
            assertThat(
                text.preserve(0..1),
                equalTo(text("01        "))
            )
    
            assertThat(
                text.preserve(0..1, 7..9),
                equalTo(text("01     789"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/html/template/url_test.go

    	}
    }
    
    func TestURLFilters(t *testing.T) {
    	input := ("\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f" +
    		"\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" +
    		` !"#$%&'()*+,-./` +
    		`0123456789:;<=>?` +
    		`@ABCDEFGHIJKLMNO` +
    		`PQRSTUVWXYZ[\]^_` +
    		"`abcdefghijklmno" +
    		"pqrstuvwxyz{|}~\x7f" +
    		"\u00A0\u0100\u2028\u2029\ufeff\U0001D11E")
    
    	tests := []struct {
    		name    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  9. src/text/tabwriter/example_test.go

    	fmt.Fprintln(w, "123\t12345\t1234567\t123456789\t.")
    	fmt.Fprintln(w)
    	w.Flush()
    
    	// Format right-aligned in space-separated columns of minimal width 5
    	// and at least one blank of padding (so wider column entries do not
    	// touch each other).
    	w.Init(os.Stdout, 5, 0, 1, ' ', tabwriter.AlignRight)
    	fmt.Fprintln(w, "a\tb\tc\td\t.")
    	fmt.Fprintln(w, "123\t12345\t1234567\t123456789\t.")
    	fmt.Fprintln(w)
    	w.Flush()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 23 22:09:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    	}{
    		{
    			description:   "One container",
    			defaultCPUset: cpuset.New(0, 1, 2, 3, 4, 5, 6, 7, 8),
    			assignments: map[string]map[string]cpuset.CPUSet{
    				"pod": {
    					"c1": cpuset.New(0, 1),
    				},
    			},
    		},
    		{
    			description:   "Two containers",
    			defaultCPUset: cpuset.New(0, 1, 2, 3, 4, 5, 6, 7, 8),
    			assignments: map[string]map[string]cpuset.CPUSet{
    				"pod": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top