Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for _index (0.17 sec)

  1. doc/go1.17_spec.html

    <p>
    If <code>a</code> is not a map:
    </p>
    <ul>
    	<li>the index <code>x</code> must be of integer type or an untyped constant</li>
    	<li>a constant index must be non-negative and
    	    <a href="#Representability">representable</a> by a value of type <code>int</code></li>
    	<li>a constant index that is untyped is given type <code>int</code></li>
    	<li>the index <code>x</code> is <i>in range</i> if <code>0 &lt;= x &lt; len(a)</code>,
    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)
  2. src/cmd/cgo/ast.go

    		f.walk(n.Elts, ctxExpr, visit)
    	case *ast.ParenExpr:
    		f.walk(&n.X, context, visit)
    	case *ast.SelectorExpr:
    		f.walk(&n.X, ctxSelector, visit)
    	case *ast.IndexExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(&n.Index, ctxExpr, visit)
    	case *ast.SliceExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		if n.Low != nil {
    			f.walk(&n.Low, ctxExpr, visit)
    		}
    		if n.High != nil {
    			f.walk(&n.High, ctxExpr, visit)
    		}
    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)
  3. src/cmd/asm/internal/asm/operand_test.go

    					wantName = test.output[:len(test.output)-4]
    					if strings.HasPrefix(wantName, "$") || strings.HasPrefix(wantName, "*") {
    						wantName = wantName[1:]
    					}
    					if i := strings.Index(wantName, "+"); i >= 0 {
    						wantName = wantName[:i]
    					}
    				}
    				if ok != isFuncSym || name != wantName {
    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)
  4. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type IfaMsghdr struct, Addrs int32
    pkg syscall (netbsd-arm64-cgo), type IfaMsghdr struct, Flags int32
    pkg syscall (netbsd-arm64-cgo), type IfaMsghdr struct, Index uint16
    pkg syscall (netbsd-arm64-cgo), type IfaMsghdr struct, Metric int32
    pkg syscall (netbsd-arm64-cgo), type IfaMsghdr struct, Msglen uint16
    pkg syscall (netbsd-arm64-cgo), type IfaMsghdr struct, Pad_cgo_0 [6]uint8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VADDPD (AX), Z1, K1, Z1          // 62f1f5495808
    	VADDPD 8(R10), Z10, K4, Z10      // 6251ad4c589208000000
    	VADDPD (R10)(AX*4), Z20, K7, Z20 // 62c1dd47582482
    	// EVEX gather (also tests Z as VSIB index).
    	VPGATHERDD 360(AX)(X2*4), K1, X1    // 62f27d09904c905a
    	VPGATHERDD 640(BP)(X15*8), K3, X14  // 62327d0b90b4fd80020000
    	VPGATHERDD 960(R10)(X25*2), K7, X24 // 62027d0790844ac0030000
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg go/types, method (*Scope) Pos() token.Pos
    pkg go/types, method (*Scope) String() string
    pkg go/types, method (*Scope) WriteTo(io.Writer, int, bool)
    pkg go/types, method (*Selection) Index() []int
    pkg go/types, method (*Selection) Indirect() bool
    pkg go/types, method (*Selection) Kind() SelectionKind
    pkg go/types, method (*Selection) Obj() Object
    pkg go/types, method (*Selection) Recv() Type
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
    
    func TestNegativeRead(t *testing.T) {
    	// should panic with a description pointing at the reader, not at itself.
    	// (should NOT panic with slice index error, for example.)
    	b := NewReader(new(negativeReader))
    	defer func() {
    		switch err := recover().(type) {
    		case nil:
    			t.Fatal("read did not panic")
    		case error:
    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)
  8. src/bytes/boundary_test.go

    		for i := range b {
    			idx := Index(b[i:], q[:j])
    			if idx != -1 {
    				t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx)
    			}
    		}
    		q[j-1] = 0
    	}
    
    	// Test differing alignments and sizes of q which always end on a page boundary.
    	q[len(q)-1] = 1 // difference is only found on the last byte
    	for j := 0; j < len(q); j++ {
    		for i := range b {
    			idx := Index(b[i:], q[j:])
    			if idx != -1 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	if !ok || u.Op != token.AND {
    		return false
    	}
    	index, ok := u.X.(*ast.IndexExpr)
    	if !ok {
    		return false
    	}
    
    	addr := ""
    	deref := ""
    	if p.isVariable(index.X) {
    		addr = "&"
    		deref = "*"
    	}
    
    	fmt.Fprintf(sb, "_cgoIndex%d := %s%s; ", i, addr, gofmtPos(index.X, index.X.Pos()))
    	origX := index.X
    	index.X = ast.NewIdent(fmt.Sprintf("_cgoIndex%d", i))
    	if deref == "*" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    	n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int
    	if perr != nil || n < 5 || n > int64(len(s)) {
    		return "", "", s, ErrHeader
    	}
    	n -= int64(len(nStr) + 1) // convert from index in s to index in rest
    	if n <= 0 {
    		return "", "", s, ErrHeader
    	}
    
    	// Extract everything between the space and the final newline.
    	rec, nl, rem := rest[:n-1], rest[n-1:n], rest[n:]
    	if nl != "\n" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top