Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for and (0.15 sec)

  1. src/builtin/builtin.go

    // implementation-specific way and writes the result to standard error.
    // Print is useful for bootstrapping and debugging; it is not guaranteed
    // to stay in the language.
    func print(args ...Type)
    
    // The println built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    // Spaces are always added between arguments and a newline is appended.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    	// The start index is inclusive and the end index is exclusive.
    	type span struct {
    		start int
    		end   int
    	}
    	spans := make([]span, 0, 32)
    
    	// Find the field start and end indices.
    	// Doing this in a separate pass (rather than slicing the string s
    	// and collecting the result substrings right away) is significantly
    	// more efficient, possibly due to cache effects.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	tw.hdr = *hdr // Shallow copy of Header
    
    	// Avoid usage of the legacy TypeRegA flag, and automatically promote
    	// it to use TypeReg or TypeDir.
    	if tw.hdr.Typeflag == TypeRegA {
    		if strings.HasSuffix(tw.hdr.Name, "/") {
    			tw.hdr.Typeflag = TypeDir
    		} else {
    			tw.hdr.Typeflag = TypeReg
    		}
    	}
    
    	// Round ModTime and ignore AccessTime and ChangeTime unless
    	// the format is explicitly chosen.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    // and turn it into a recoverable panic.
    var panicOnError bool
    
    func (p *Parser) errorf(format string, args ...interface{}) {
    	if panicOnError {
    		panic(fmt.Errorf(format, args...))
    	}
    	if p.lineNum == p.errorLine {
    		// Only one error per line.
    		return
    	}
    	p.errorLine = p.lineNum
    	if p.lex != nil {
    		// Put file and line information on head of message.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    	beginningOfLine bool
    	ifdefStack      []bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    		Method: Deflate,
    		Extra:  []byte(ts.Format(time.RFC3339Nano)), // missing tag and len, but Extra is best-effort parsing
    	}
    	h.SetModTime(ts)
    
    	testValidHeader(&h, t)
    }
    
    func TestHeaderTooShort(t *testing.T) {
    	h := FileHeader{
    		Name:   "foo.txt",
    		Method: Deflate,
    		Extra:  []byte{zip64ExtraID}, // missing size and second half of tag, but Extra is best-effort parsing
    	}
    	testValidHeader(&h, t)
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    		return
    	}
    
    	// Labels are function scoped. Patch existing labels and
    	// create a new label space for this TEXT.
    	p.patch()
    	p.labels = make(map[string]*obj.Prog)
    
    	// Operand 0 is the symbol name in the form foo(SB).
    	// That means symbol plus indirect on SB and no offset.
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("TEXT", &nameAddr, false) {
    		return
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/riscv64.s

    	ADD	$-2048, X5				// 93820280
    
    	SLT	X6, X5, X7				// b3a36200
    	SLT	$55, X5, X7				// 93a37203
    	SLTU	X6, X5, X7				// b3b36200
    	SLTU	$55, X5, X7				// 93b37203
    
    	AND	X6, X5, X7				// b3f36200
    	AND	X5, X6					// 33735300
    	AND	$1, X5, X6				// 13f31200
    	AND	$1, X5					// 93f21200
    	OR	X6, X5, X7				// b3e36200
    	OR	X5, X6					// 33635300
    	OR	$1, X5, X6				// 13e31200
    	OR	$1, X5					// 93e21200
    	XOR	X6, X5, X7				// b3c36200
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/armerror.s

    	STREX	R1, (R0), R0       // ERROR "cannot use same register as both source and destination"
    	STREXD	R0, (R2), R0       // ERROR "cannot use same register as both source and destination"
    	STREXD	R0, (R2), R1       // ERROR "cannot use same register as both source and destination"
    	STREXD	R0, (R2), R2       // ERROR "cannot use same register as both source and destination"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 03 14:06:21 GMT 2017
    - 14.4K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm64error.s

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    TEXT errors(SB),$0
    	AND	$1, RSP                                          // ERROR "illegal source register"
    	ANDS	$1, R0, RSP                                      // ERROR "illegal combination"
    	ADDSW	R7->32, R14, R13                                 // ERROR "shift amount out of range 0 to 31"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
Back to top