Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 75 for RANGE (0.16 sec)

  1. src/bytes/compare_test.go

    	// nil tests
    	{nil, nil, 0},
    	{[]byte(""), nil, 0},
    	{nil, []byte(""), 0},
    	{[]byte("a"), nil, 1},
    	{nil, []byte("a"), -1},
    }
    
    func TestCompare(t *testing.T) {
    	for _, tt := range compareTests {
    		numShifts := 16
    		buffer := make([]byte, len(tt.b)+numShifts)
    		// vary the input alignment of tt.b
    		for offset := 0; offset <= numShifts; offset++ {
    			shiftedB := buffer[offset : len(tt.b)+offset]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. misc/go_android_exec/exitcode_test.go

    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    	check("exitcode=123\n")
    	wantErr = regexp.MustCompile("^bad exit code: .* value out of range")
    	check("exitcode=999999999999999999999999")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    	}
    
    	// Forward SIGQUIT from the go command to show backtraces from
    	// the binary instead of from this wrapper.
    	quit := make(chan os.Signal, 1)
    	signal.Notify(quit, syscall.SIGQUIT)
    	go func() {
    		for range quit {
    			// We don't have the PID of the running process; use the
    			// binary name instead.
    			adb("exec-out", "killall -QUIT "+binName)
    		}
    	}()
    	cmd := `export TMPDIR="` + deviceGotmp + `"` +
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg go/token, const OR_ASSIGN Token
    pkg go/token, const PACKAGE Token
    pkg go/token, const PERIOD Token
    pkg go/token, const QUO Token
    pkg go/token, const QUO_ASSIGN Token
    pkg go/token, const RANGE Token
    pkg go/token, const RBRACE Token
    pkg go/token, const RBRACK Token
    pkg go/token, const REM Token
    pkg go/token, const REM_ASSIGN Token
    pkg go/token, const RETURN Token
    pkg go/token, const RPAREN Token
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  5. src/cmd/asm/internal/arch/arm64.go

    		// Handle some special cases.
    		specialMapping := map[string]arm64.SpecialOperand{
    			// The internal representation of CS(CC) and HS(LO) are the same.
    			"CS": arm64.SPOP_HS,
    			"CC": arm64.SPOP_LO,
    		}
    		for s, opd := range specialMapping {
    			arm64SpecialOperand[s] = opd
    		}
    	}
    	if opd, ok := arm64SpecialOperand[name]; ok {
    		return opd
    	}
    	return arm64.SPOP_END
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  6. api/go1.20.txt

    pkg fmt, func FormatString(State, int32) string #51668
    pkg go/ast, type File struct, FileEnd token.Pos #53202
    pkg go/ast, type File struct, FileStart token.Pos #53202
    pkg go/ast, type RangeStmt struct, Range token.Pos #50429
    pkg go/token, method (*FileSet) RemoveFile(*File) #53200
    pkg go/types, func Satisfies(Type, *Interface) bool #56548
    pkg io/fs, var SkipAll error #47209
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B (x) x",
    			"A",
    			"B(THIS)",
    		),
    		"x.\n",
    	},
    	*/
    }
    
    func TestLex(t *testing.T) {
    	for _, test := range lexTests {
    		input := NewInput(test.name)
    		input.Push(NewTokenizer(test.name, strings.NewReader(test.input), nil))
    		result := drain(input)
    		if result != test.output {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    	full, frag, n, err := b.collectFragments(delim)
    	// Allocate new buffer to hold the full pieces and the fragment.
    	buf := make([]byte, n)
    	n = 0
    	// Copy full pieces and fragment in.
    	for i := range full {
    		n += copy(buf[n:], full[i])
    	}
    	copy(buf[n:], frag)
    	return buf, err
    }
    
    // ReadString reads until the first occurrence of delim in the input,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg go/token, const OR = 18
    pkg go/token, const OR_ASSIGN = 29
    pkg go/token, const PACKAGE = 78
    pkg go/token, const PERIOD = 53
    pkg go/token, const QUO = 15
    pkg go/token, const QUO_ASSIGN = 26
    pkg go/token, const RANGE = 79
    pkg go/token, const RBRACE = 56
    pkg go/token, const RBRACK = 55
    pkg go/token, const REM = 16
    pkg go/token, const REM_ASSIGN = 27
    pkg go/token, const RETURN = 80
    pkg go/token, const RPAREN = 54
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    	}
    	return readGNUSparseMap0x1(hdr.PAXRecords)
    }
    
    // mergePAX merges paxHdrs into hdr for all relevant fields of Header.
    func mergePAX(hdr *Header, paxHdrs map[string]string) (err error) {
    	for k, v := range paxHdrs {
    		if v == "" {
    			continue // Keep the original USTAR value
    		}
    		var id64 int64
    		switch k {
    		case paxPath:
    			hdr.Name = v
    		case paxLinkpath:
    			hdr.Linkname = v
    		case paxUname:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top