Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for iconst (0.14 sec)

  1. src/cmd/cgo/gcc.go

    					n.Kind = "iconst"
    					n.Const = n.Define
    				}
    			} else if n.Define[0] == '"' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "sconst"
    					n.Const = n.Define
    				}
    			}
    
    			if n.IsConst() {
    				continue
    			}
    		}
    
    		// If this is a struct, union, or enum type name, no need to guess the kind.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    // fills the buffer before switching over to ReadFrom.
    func TestWriterReadFromWithBufferedData(t *testing.T) {
    	const bufsize = 16
    
    	input := createTestInput(64)
    	rfw := &readFromWriter{}
    	w := NewWriterSize(rfw, bufsize)
    
    	const writeSize = 8
    	if n, err := w.Write(input[:writeSize]); n != writeSize || err != nil {
    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/archive/zip/reader_test.go

    	if want == 0 {
    		t.Errorf("%s mode: got %v, want none", f.Name, mode)
    	} else if mode != want {
    		t.Errorf("%s mode: want %v, got %v", f.Name, want, mode)
    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    	_, err := NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm.s

    //
    //		g = nullgen;
    //		g.Type = obj.TYPE_CONST;
    //		g.Offset = int64($6);
    //		outcode($1, $2, &$3, 0, &g);
    //	}
    	MOVM	0(R1), [R2,R5,R8,g] // MOVM	(R1), [R2,R5,R8,g]
    	MOVM	(R1), [R2-R5] // MOVM (R1), [R2,R3,R4,R5]
    	MOVM	(R1), [R2]
    
    //	LTYPE8 cond '[' reglist ']' ',' ioreg
    //	{
    //		var g obj.Addr
    //
    //		g = nullgen;
    //		g.Type = obj.TYPE_CONST;
    //		g.Offset = int64($4);
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// For backwards compatibility, MOVW $const,Rx and MOVWZ $const,Rx assemble identically
    	// and accept the same constants.
    	MOVW $2147483648, R5            // 64058000
    	MOVWZ $-2147483648, R5          // 3ca08000
    
    	// TODO: These are preprocessed by the assembler into MOVD $const>>shift, R5; SLD $shift, R5.
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	{"A\u0080\U0010FFFF", []byte("a\u0080\U0010FFFF")},                           // test utf8.RuneSelf and utf8.MaxRune
    }
    
    const space = "\t\v\r\f\n\u0085\u00a0\u2000\u3000"
    
    var trimSpaceTests = []StringTest{
    	{"", nil},
    	{"  a", []byte("a")},
    	{"b  ", []byte("b")},
    	{"abc", []byte("abc")},
    	{space + "abc" + space, []byte("abc")},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top