Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for globl12 (0.32 sec)

  1. src/archive/tar/testdata/pax-global-records.tar

    global1 file2 file3 file4...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Aug 25 23:03:52 UTC 2017
    - 7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/pseudo_test.go

    		{"DATA", "·E(SB)/4,$·A(SB)", "bad addr size for DATA argument: 4"},
    		{"DATA", "·F(SB)/8,$·A(SB)", ""},
    		{"DATA", "·G(SB)/5,$\"abcde\"", ""},
    		{"GLOBL", "", "expect two or three operands for GLOBL"},
    		{"GLOBL", "0,1", "GLOBL symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    		{"GLOBL", "@B(SB), 0", "expected '(', found B"}, // Issue 23580.
    		{"PCDATA", "", "expect two operands for PCDATA"},
    		{"PCDATA", "1", "expect two operands for PCDATA"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/duperror.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    TEXT foo(SB), 0, $0
    	RET
    TEXT foo(SB), 0, $0 // ERROR "symbol foo redeclared"
    	RET
    
    GLOBL bar(SB), 0, $8
    GLOBL bar(SB), 0, $8 // ERROR "symbol bar redeclared"
    
    DATA bar+0(SB)/8, $0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 05 23:21:07 UTC 2022
    - 404 bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    			p.errorf("bad addr size for DATA argument: %d", sz)
    		}
    	}
    }
    
    // asmGlobl assembles a GLOBL pseudo-op.
    // GLOBL shifts<>(SB),8,$256
    // GLOBL shifts<>(SB),$256
    func (p *Parser) asmGlobl(operands [][]lex.Token) {
    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for GLOBL")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB).
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	---------- 0/0               0 2017-07-13 19:40 file3
    		//	---------- 0/0               0 2014-05-13 09:53 file4
    		file: "testdata/pax-global-records.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag:   TypeXGlobalHeader,
    				PAXRecords: map[string]string{"path": "global1", "mtime": "1500000000.0"},
    			}, nil},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  6. doc/asm.html

    </p>
    
    <p>
    The <code>GLOBL</code> directive declares a symbol to be global.
    The arguments are optional flags and the size of the data being declared as a global,
    which will have initial value all zeros unless a <code>DATA</code> directive
    has initialized it.
    The <code>GLOBL</code> directive must follow any corresponding <code>DATA</code> directives.
    </p>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    Diff:
    	for _, line := range lines {
    		lineno++
    
    		// Ignore include of textflag.h.
    		if strings.HasPrefix(line, "#include ") {
    			continue
    		}
    
    		// Ignore GLOBL.
    		if strings.HasPrefix(line, "GLOBL ") {
    			continue
    		}
    
    		// The general form of a test input line is:
    		//	// comment
    		//	INST args [// printed form] [// hex encoding]
    		parts := strings.Split(line, "//")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 01:02:50 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. lib/fips140/v1.0.0.zip

    X int }{&NOPTRDATA, 3} var NOPTRBSS int var BSS *int func TEXT() {} var ( globl12 [12]byte globl8 [8]byte ) func init() { globl8 = [8]byte{1, 2, 3, 4, 5, 6, 7, 8} globl12 = [12]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} runtime.Gosched() sum := byte(0) for _, x := range globl12 { sum += x } if sum != 78 { panic("globl12 did not sum properly") } sum = byte(0) for _, x := range globl8 { sum += x } if sum != 36 { panic("globl8 did not sum properly") } } golang.org/fips140@v1.0.0/fips140/v1.0.0/drbg/cast.go...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    	errorCount    int   // Number of errors.
    	sawCode       bool  // saw code in this file (as opposed to comments and blank lines)
    	pc            int64 // virtual PC; count of Progs; doesn't advance for GLOBL or DATA.
    	input         []lex.Token
    	inputPos      int
    	pendingLabels []string // Labels to attach to next instruction.
    	labels        map[string]*obj.Prog
    	toPatch       []Patch
    	addr          []obj.Addr
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/pax-global-records.tar",
    		headers: []*Header{{
    			Typeflag:   TypeXGlobalHeader,
    			Name:       "global1",
    			PAXRecords: map[string]string{"path": "global1", "mtime": "1500000000.0"},
    			Format:     FormatPAX,
    		}, {
    			Typeflag: TypeReg,
    			Name:     "file1",
    			ModTime:  time.Unix(0, 0),
    			Format:   FormatUSTAR,
    		}, {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top