Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for enforce (0.18 sec)

  1. doc/go1.17_spec.html

    FieldName     = identifier .
    Element       = Expression | LiteralValue .
    </pre>
    
    <p>
    The LiteralType's underlying type must be a struct, array, slice, or map type
    (the grammar enforces this constraint except when the type is given
    as a TypeName).
    The types of the elements and keys must be <a href="#Assignability">assignable</a>
    to the respective field, element, and key types of the literal type;
    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/gcc.go

    	nargs := make([]string, 0, len(args)+len(extraArgs))
    	for _, arg := range args {
    		if !strings.HasPrefix(arg, "-O") {
    			nargs = append(nargs, arg)
    		}
    	}
    
    	// Force -O0 optimization and append extra arguments, but keep the
    	// trailing "-" at the end.
    	li := len(nargs) - 1
    	last := nargs[li]
    	nargs[li] = "-O0"
    	nargs = append(nargs, extraArgs...)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. doc/asm.html

    (The meaning of the offset—offset from the frame pointer—distinct
    from its use with <code>SB</code>, where it is an offset from the symbol.)
    The assembler enforces this convention, rejecting plain <code>0(FP)</code> and <code>8(FP)</code>.
    The actual name is semantically irrelevant but should be used to document
    the argument's name.
    It is worth stressing that <code>FP</code> is always a
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    	case n == 1:
    		return IndexByte(s, sep[0])
    	case n == len(s):
    		if Equal(sep, s) {
    			return 0
    		}
    		return -1
    	case n > len(s):
    		return -1
    	case n <= bytealg.MaxLen:
    		// Use brute force when s and sep both are small
    		if len(s) <= bytealg.MaxBruteForce {
    			return bytealg.Index(s, sep)
    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    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)
  5. doc/go_spec.html

    FieldName     = identifier .
    Element       = Expression | LiteralValue .
    </pre>
    
    <p>
    The LiteralType's <a href="#Core_types">core type</a> <code>T</code>
    must be a struct, array, slice, or map type
    (the syntax enforces this constraint except when the type is given
    as a TypeName).
    The types of the elements and keys must be <a href="#Assignability">assignable</a>
    to the respective field, element, and key types of type <code>T</code>;
    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)
  6. src/archive/tar/writer_test.go

    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    	hdr.Name = longName
    	var buf bytes.Buffer
    	writer := NewWriter(&buf)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top