Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for texts (0.22 sec)

  1. doc/asm.html

    <h3 id="directives">Directives</h3>
    
    <p>
    The assembler uses various directives to bind text and data to symbol names.
    For example, here is a simple complete function definition. The <code>TEXT</code>
    directive declares the symbol <code>runtime·profileloop</code> and the instructions
    that follow form the body of the function.
    The last instruction in a <code>TEXT</code> block must be some sort of jump, usually a <code>RET</code> (pseudo-)instruction.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/pseudo_test.go

    	}
    
    	nonRuntimeTests := []errtest{
    		{"TEXT", "", "expect two or three operands for TEXT"},
    		{"TEXT", "%", "expect two or three operands for TEXT"},
    		{"TEXT", "1, 1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    		{"TEXT", "$\"foo\", 0, $1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    		{"TEXT", "$0É:0, 0, $1", "expected end of operand, found É"}, // Issue #12467.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	ContentErr error
    	Content    []byte
    	File       string
    	Size       uint64
    }
    
    var tests = []ZipTest{
    	{
    		Name:    "test.zip",
    		Comment: "This is a zipfile comment.",
    		File: []ZipTestFile{
    			{
    				Name:     "test.txt",
    				Content:  []byte("This is a test text file.\n"),
    				Modified: time.Date(2010, 9, 5, 12, 12, 1, 0, timeZone(+10*time.Hour)),
    				Mode:     0644,
    			},
    			{
    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/api/api_test.go

    		}
    	}
    }
    
    func TestSkipInternal(t *testing.T) {
    	tests := []struct {
    		pkg  string
    		want bool
    	}{
    		{"net/http", true},
    		{"net/http/internal-foo", true},
    		{"net/http/internal", false},
    		{"net/http/internal/bar", false},
    		{"internal/foo", false},
    		{"internal", false},
    	}
    	for _, tt := range tests {
    		got := !internalPkg.MatchString(tt.pkg)
    		if got != tt.want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    	f.Comments = ast1.Comments
    	f.AST = ast2
    }
    
    // Like ast.CommentGroup's Text method but preserves
    // leading blank lines, so that line numbers line up.
    func commentText(g *ast.CommentGroup) string {
    	var pieces []string
    	for _, com := range g.List {
    		c := com.Text
    		// Remove comment markers.
    		// The parser has given us exactly the comment text.
    		switch c[1] {
    		case '/':
    			//-style comment (no newline at the end)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/s390x.s

    	VSUMB	V7, V8, V9              // e79780000064
    	VSUMH	V22, V23, V24           // e78670001e64
    
    	RET
    	RET	foo(SB)
    
    TEXT main·init(SB),DUPOK|NOSPLIT,$0 // TEXT main.init(SB), DUPOK|NOSPLIT, $0
    	RET
    
    TEXT main·main(SB),DUPOK|NOSPLIT,$0 // TEXT main.main(SB), DUPOK|NOSPLIT, $0
    	BL      main·foo(SB)    // CALL main.foo(SB)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    		var ok bool
    		if err, ok = e.(error); e != nil && !ok {
    			t.Fatal(e)
    		}
    	}()
    
    	parse()
    
    	return nil
    }
    
    func testBadOperandParser(t *testing.T, parser *Parser, tests []badOperandTest) {
    	for _, test := range tests {
    		err := tryParse(t, func() {
    			parser.start(lex.Tokenize(test.input))
    			addr := obj.Addr{}
    			parser.operand(&addr)
    		})
    
    		switch {
    		case err == nil:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	"fmt"
    	"internal/testenv"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
    
    func init() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    </p>
    
    <ol>
    	<li>The <i>universe block</i> encompasses all Go source text.</li>
    
    	<li>Each <a href="#Packages">package</a> has a <i>package block</i> containing all
    	    Go source text for that package.</li>
    
    	<li>Each file has a <i>file block</i> containing all Go source text
    	    in that file.</li>
    
    	<li>Each <a href="#If_statements">"if"</a>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/mips64.s

    // license that can be found in the LICENSE file.
    
    // This input was created by taking the ppc64 testcase and modified
    // by hand.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    //
    // branch
    //
    //	LBRA rel
    //	{
    //		outcode(int($1), &nullgen, 0, &$2);
    //	}
    	BEQ	R1, 2(PC)
    label0:
    	JMP	1(PC)		// JMP 1(PC)	// 10000001
    	BEQ	R1, 2(PC)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
Back to top