Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for friends (0.19 sec)

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

    The new type [KeepAliveConfig] permits fine-tuning the keep-alive
    options for TCP connections, via a new [TCPConn.SetKeepAliveConfig]
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 205 bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    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.
    
    The standard C numeric types are available under the names
    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)
  3. doc/go1.17_spec.html

    embedded field in a struct <code>x</code> is called <i>promoted</i> if
    <code>x.f</code> is a legal <a href="#Selectors">selector</a> that denotes
    that field or method <code>f</code>.
    </p>
    
    <p>
    Promoted fields act like ordinary fields
    of a struct except that they cannot be used as field names in
    <a href="#Composite_literals">composite literals</a> of the struct.
    </p>
    
    <p>
    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)
  4. src/cmd/cgo/ast.go

    		f.walk(&n.Key, ctxExpr, visit)
    		f.walk(&n.Value, ctxExpr, visit)
    
    	case *ast.ArrayType:
    		f.walk(&n.Len, ctxExpr, visit)
    		f.walk(&n.Elt, ctxType, visit)
    	case *ast.StructType:
    		f.walk(n.Fields, ctxField, visit)
    	case *ast.FuncType:
    		if tparams := funcTypeTypeParams(n); tparams != nil {
    			f.walk(tparams, ctxParam, visit)
    		}
    		f.walk(n.Params, ctxParam, visit)
    		if n.Results != nil {
    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. src/archive/zip/reader_test.go

    				Content:  []byte("This small file is in ZIP64 format.\n"),
    				Modified: time.Date(2012, 8, 10, 14, 33, 32, 0, time.UTC),
    				Mode:     0644,
    			},
    		},
    	},
    	// Another zip64 file with different Extras fields. (golang.org/issue/7069)
    	{
    		Name: "zip64-2.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "README",
    				Content:  []byte("This small file is in ZIP64 format.\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    	}
    	return nil
    }
    
    type (
    	stringFormatter func([]byte, string)
    	numberFormatter func([]byte, int64)
    )
    
    // templateV7Plus fills out the V7 fields of a block using values from hdr.
    // It also fills out fields (uname, gname, devmajor, devminor) that are
    // shared in the USTAR, PAX, and GNU formats using the provided formatters.
    //
    // The block returned is only valid until the next call to
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    // Fields interprets s as a sequence of UTF-8-encoded code points.
    // It splits the slice s around each instance of one or more consecutive white space
    // characters, as defined by unicode.IsSpace, returning a slice of subslices of s or an
    // empty slice if s contains only white space.
    func Fields(s []byte) [][]byte {
    	// First count the fields.
    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)
  8. doc/go_spec.html

    embedded field in a struct <code>x</code> is called <i>promoted</i> if
    <code>x.f</code> is a legal <a href="#Selectors">selector</a> that denotes
    that field or method <code>f</code>.
    </p>
    
    <p>
    Promoted fields act like ordinary fields
    of a struct except that they cannot be used as field names in
    <a href="#Composite_literals">composite literals</a> of the struct.
    </p>
    
    <p>
    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)
  9. src/builtin/builtin.go

    type any = interface{}
    
    // comparable is an interface that is implemented by all comparable types
    // (booleans, numbers, strings, pointers, channels, arrays of comparable types,
    // structs whose fields are all comparable types).
    // The comparable interface may only be used as a type parameter constraint,
    // not as the type of a variable.
    type comparable interface{ comparable }
    
    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)
  10. src/cmd/asm/internal/asm/endtoend_test.go

    					buf = append(buf, ' ')
    				}
    				for i+1 < len(printed) && (printed[i+1] == ' ' || printed[i+1] == '\t') {
    					i++
    				}
    				continue
    			}
    			buf = append(buf, c)
    		}
    
    		f := strings.Fields(string(buf))
    
    		// Turn relative (PC) into absolute (PC) automatically,
    		// so that most branch instructions don't need comments
    		// giving the absolute form.
    		if len(f) > 0 && strings.Contains(printed, "(PC)") {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top