Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for 123456 (0.21 sec)

  1. src/cmd/cgo/internal/test/callback_c.c

    }
    
    void
    callGoStackCheck(void)
    {
    	extern void goStackCheck(void);
    	goStackCheck();
    }
    
    int
    returnAfterGrow(void)
    {
    	extern int goReturnVal(void);
    	goReturnVal();
    	return 123456;
    }
    
    int
    returnAfterGrowFromGo(void)
    {
    	extern int goReturnVal(void);
    	return goReturnVal();
    }
    
    void
    callGoWithString(void)
    {
    	extern void goWithString(GoString);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewWriter's Writer.Size = %d; want %d", got, want)
    	}
    	if got, want := NewWriterSize(nil, 1234).Size(), 1234; got != want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback.go

    // causes a stack copy.
    func testReturnAfterGrow(t *testing.T) {
    	// Use a new goroutine so that we get a small stack.
    	c := make(chan int)
    	go func() {
    		c <- int(C.returnAfterGrow())
    	}()
    	if got, want := <-c, 123456; got != want {
    		t.Errorf("got %d want %d", got, want)
    	}
    }
    
    // Test that we can return a value from Go->C->Go if the Go code
    // causes a stack copy.
    func testReturnAfterGrowFromGo(t *testing.T) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  4. src/archive/tar/strconv_test.go

    		{"032033\x00 ", 032033, true},
    		{"320330\x00 ", 0320330, true},
    		{"0000660\x00 ", 0660, true},
    		{"\x00 0000660\x00 ", 0660, true},
    		{"0123456789abcdef", 0, false},
    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    hex_exponent      = ( "p" | "P" ) [ "+" | "-" ] decimal_digits .
    </pre>
    
    <pre>
    0.
    72.40
    072.40       // == 72.40
    2.71828
    1.e+0
    6.67428e-11
    1E6
    .25
    .12345E+5
    1_5.         // == 15.0
    0.15e+0_2    // == 15.0
    
    0x1p-2       // == 0.25
    0x2.p10      // == 2048.0
    0x1.Fp+0     // == 1.9375
    0X.8p-0      // == 0.5
    0X_1FFFP-16  // == 0.1249847412109375
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. doc/README.md

    For example, if the directory `6-stdlib/99-minor` is present,
    then an `api/next` file with the line
    
        pkg net/http, function F #12345
    
    should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`.
    At a minimum, that file should contain either a full sentence or a TODO,
    ideally referring to a person with the responsibility to complete the note.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. doc/go_spec.html

    hex_exponent      = ( "p" | "P" ) [ "+" | "-" ] decimal_digits .
    </pre>
    
    <pre>
    0.
    72.40
    072.40       // == 72.40
    2.71828
    1.e+0
    6.67428e-11
    1E6
    .25
    .12345E+5
    1_5.         // == 15.0
    0.15e+0_2    // == 15.0
    
    0x1p-2       // == 0.25
    0x2.p10      // == 2048.0
    0x1.Fp+0     // == 1.9375
    0X.8p-0      // == 0.5
    0X_1FFFP-16  // == 0.1249847412109375
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    	PSTB R1, $1, 12345678(R2)               // 061000bc9822614e
    	PSTD R1, $1, 12345678(R2)               // 041000bcf422614e
    	PSTFD F1, $1, 12345678(R2)              // 061000bcd822614e
    	PSTFS F1, $1, 123456789(R7)             // 0610075bd027cd15
    	PSTH R1, $1, 12345678(R2)               // 061000bcb022614e
    	PSTQ R2, $1, 12345678(R2)               // 041000bcf042614e
    	PSTW R1, $1, 12345678(R2)               // 061000bc9022614e
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 23 20:52:57 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOVF	$8(SP), X5			// ERROR "unsupported address load"
    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 8(SP)			// ERROR "constant load must target register"
    	MOV	$0, 0(SP)			// ERROR "constant load must target register"
    	MOV	$0, 8(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 8(SP)			// ERROR "constant load must target register"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Apr 07 03:32:27 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/ppc64.s

    	MOVD $-32768, R6                // 38c08000
    	MOVD $1234567, R5               // 6405001260a5d687 or 0600001238a0d687
    	MOVW $1, R3                     // 38600001
    	MOVW $-1, R4                    // 3880ffff
    	MOVW $65535, R5                 // 6005ffff
    	MOVW $65536, R6                 // 3cc00001
    	MOVW $-32767, R5                // 38a08001
    	MOVW $-32768, R6                // 38c08000
    	MOVW $1234567, R5               // 6405001260a5d687 or 0600001238a0d687
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
Back to top