Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Field (0.54 sec)

  1. doc/next/6-stdlib/99-minor/net/http/46443.md

    [Cookie] now preserves double quotes surrounding a cookie value.
    The new [Cookie.Quoted] field indicates whether the [Cookie.Value]
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 19 14:33:17 GMT 2024
    - 155 bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    struct {
    	T1        // field name is T1
    	*T2       // field name is T2
    	P.T3      // field name is T3
    	*P.T4     // field name is T4
    	x, y int  // field names are x and y
    }
    </pre>
    
    <p>
    The following declaration is illegal because field names must be unique
    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    # Go references to C
    
    Within the Go file, C's struct field names that are keywords in Go
    can be accessed by prefixing them with an underscore: if x points at a C
    struct with a field named "type", x._type accesses the field.
    C struct fields that cannot be expressed in Go, such as bit fields
    or misaligned data, are omitted in the Go struct, replaced by
    appropriate padding to reach the next field or the end of the struct.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast.go

    	case nil:
    
    	// These are ordered and grouped to match ../../go/ast/ast.go
    	case *ast.Field:
    		if len(n.Names) == 0 && context == ctxField {
    			f.walk(&n.Type, ctxEmbedType, visit)
    		} else {
    			f.walk(&n.Type, ctxType, visit)
    		}
    	case *ast.FieldList:
    		for _, field := range n.List {
    			f.walk(field, context, visit)
    		}
    	case *ast.BadExpr:
    	case *ast.Ident:
    	case *ast.Ellipsis:
    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)
  5. api/go1.5.txt

    pkg debug/dwarf, const ClassStringAlt = 14
    pkg debug/dwarf, const ClassStringAlt Class
    pkg debug/dwarf, method (*Data) LineReader(*Entry) (*LineReader, error)
    pkg debug/dwarf, method (*Entry) AttrField(Attr) *Field
    pkg debug/dwarf, method (*LineReader) Next(*LineEntry) error
    pkg debug/dwarf, method (*LineReader) Reset()
    pkg debug/dwarf, method (*LineReader) Seek(LineReaderPos)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const SYS__SCHED_SETPARAM = 346
    pkg syscall (netbsd-arm64-cgo), const SYS__SCHED_SETPARAM ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_SCHED_YIELD = 350
    pkg syscall (netbsd-arm64-cgo), const SYS_SCHED_YIELD ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_SELECT = 417
    pkg syscall (netbsd-arm64-cgo), const SYS_SELECT ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_SEMCONFIG = 223
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  7. doc/go_spec.html

    struct {
    	T1        // field name is T1
    	*T2       // field name is T2
    	P.T3      // field name is T3
    	*P.T4     // field name is T4
    	x, y int  // field names are x and y
    }
    </pre>
    
    <p>
    The following declaration is illegal because field names must be unique
    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    	default:
    		panic("invalid format")
    	}
    
    	// Update checksum.
    	// This field is special in that it is terminated by a NULL then space.
    	var f formatter
    	field := b.toV7().chksum()
    	chksum, _ := b.computeChecksum() // Possible values are 256..128776
    	f.formatOctal(field[:7], chksum) // Never fails since 128776 < 262143
    	field[7] = ' '
    }
    
    // computeChecksum computes the checksum for the header block.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			break
    		}
    		p[i] = c.FuncArg(f, pos)
    		gp[i] = &ast.Field{Type: p[i].Go}
    	}
    	var r *Type
    	var gr []*ast.Field
    	if _, ok := base(dtype.ReturnType).(*dwarf.VoidType); ok {
    		gr = []*ast.Field{{Type: c.goVoid}}
    	} else if dtype.ReturnType != nil {
    		r = c.Type(unqual(dtype.ReturnType), pos)
    		gr = []*ast.Field{{Type: r.Go}}
    	}
    	return &FuncType{
    		Params: p,
    		Result: r,
    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/bytes/bytes.go

    				start = -1
    			}
    		} else {
    			if start < 0 {
    				start = i
    			}
    		}
    		i += size
    	}
    
    	// Last field might end at EOF.
    	if start >= 0 {
    		spans = append(spans, span{start, len(s)})
    	}
    
    	// Create subslices from recorded field indices.
    	a := make([][]byte, len(spans))
    	for i, span := range spans {
    		a[i] = s[span.start:span.end:span.end]
    	}
    
    	return a
    }
    
    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)
Back to top