Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for indexOf (0.19 sec)

  1. doc/go1.17_spec.html

    f := i.M; f(7)  // like i.M(7)
    </pre>
    
    
    <h3 id="Index_expressions">Index expressions</h3>
    
    <p>
    A primary expression of the form
    </p>
    
    <pre>
    a[x]
    </pre>
    
    <p>
    denotes the element of the array, pointer to array, slice, string or map <code>a</code> indexed by <code>x</code>.
    The value <code>x</code> is called the <i>index</i> or <i>map key</i>, respectively.
    The following rules apply:
    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/asm/internal/asm/testdata/ppc64.s

    // This contains the majority of valid opcode combinations
    // available in cmd/internal/obj/ppc64/asm9.go with
    // their valid instruction encodings.
    
    #include "../../../../../runtime/textflag.h"
    
    // In case of index mode instructions, usage of
    // (Rx)(R0) is equivalent to (Rx+R0)
    // In case of base+displacement mode instructions if
    // the offset is 0, usage of (Rx) is equivalent to 0(Rx)
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  3. doc/go_spec.html

    f := i.M; f(7)  // like i.M(7)
    </pre>
    
    
    <h3 id="Index_expressions">Index expressions</h3>
    
    <p>
    A primary expression of the form
    </p>
    
    <pre>
    a[x]
    </pre>
    
    <p>
    denotes the element of the array, pointer to array, slice, string or map <code>a</code> indexed by <code>x</code>.
    The value <code>x</code> is called the <i>index</i> or <i>map key</i>, respectively.
    The following rules apply:
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    type comparable interface{ comparable }
    
    // iota is a predeclared identifier representing the untyped integer ordinal
    // number of the current const specification in a (usually parenthesized)
    // const declaration. It is zero-indexed.
    const iota = 0 // Untyped int.
    
    // nil is a predeclared identifier representing the zero value for a
    // pointer, channel, func, interface, map, or slice type.
    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)
  5. src/cmd/api/main_test.go

    		}
    	}
    
    	var features []string
    	for f, cmap := range featureCtx {
    		if len(cmap) == len(contexts) {
    			features = append(features, f)
    			continue
    		}
    		comma := strings.Index(f, ",")
    		for cname := range cmap {
    			f2 := fmt.Sprintf("%s (%s)%s", f[:comma], cname, f[comma:])
    			features = append(features, f2)
    		}
    	}
    
    	bw := bufio.NewWriter(os.Stdout)
    	defer bw.Flush()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top