Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Carnes (0.51 sec)

  1. src/cmd/dist/buildtag.go

    type val bool
    
    // exprToken describes a single token in the input.
    // Prefix operators define a prefix func that parses the
    // upcoming value. Binary operators define an infix func
    // that combines two values according to the operator.
    // In that case, the parsing loop parses the two values.
    type exprToken struct {
    	tok    string
    	prec   int
    	prefix func(*exprParser) val
    	infix  func(val, val) val
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 03:35:04 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/99-minor/crypto/x509/66249.md

    The new [ParseOID] function parses a dot-encoded ASN.1 Object Identifier string.
    The [OID] type now implements the [encoding.BinaryMarshaler],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:53:51 UTC 2024
    - 238 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/gen/zeroGen.go

    		// function being tested
    		fmt.Fprintf(w, "//go:noinline\n")
    		fmt.Fprintf(w, "func zero%d_ssa(x *[%d]byte) {\n", s, s)
    		fmt.Fprintf(w, "  *x = [%d]byte{}\n", s)
    		fmt.Fprintf(w, "}\n")
    
    		// testing harness
    		fmt.Fprintf(w, "func testZero%d(t *testing.T) {\n", s)
    		fmt.Fprintf(w, "  a := Z%d{[8]byte{255,255,255,255,255,255,255,255},[%d]byte{", s, s)
    		for i := 0; i < s; i++ {
    			fmt.Fprintf(w, "255,")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/net/http/66008.md

    The new [ParseCookie] function parses a Cookie header value and
    returns all the cookies which were set in it. Since the same cookie
    name can appear multiple times the returned Values can contain
    more than one value for a given key.
    
    The new [ParseSetCookie] function parses a Set-Cookie header value and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 17:43:50 UTC 2024
    - 359 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/goversion.go

    		if langWant.major > defVers.major || (langWant.major == defVers.major && langWant.minor > defVers.minor) {
    			log.Fatalf("invalid value %q for -lang: max known version is %q", base.Flag.Lang, def)
    		}
    	}
    }
    
    // parseLang parses a -lang option into a langVer.
    func parseLang(s string) (lang, error) {
    	if s == "go1" { // cmd/go's new spelling of "go1.0" (#65528)
    		s = "go1.0"
    	}
    
    	matches := goVersionRE.FindStringSubmatch(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 21:36:02 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/vcweb/auth.go

    // authHandler serves requests only if the Basic Auth data sent with the request
    // matches the contents of a ".access" file in the requested directory.
    //
    // For each request, the handler looks for a file named ".access" and parses it
    // as a JSON-serialized accessToken. If the credentials from the request match
    // the accessToken, the file is served normally; otherwise, it is rejected with
    // the StatusCode and Message provided by the token.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 17:47:26 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_build_pkg_select.txt

    ! grep 'mod.example/sub/sub.go:' $WORK/covdata2/out.txt
    grep 'rsc.io' $WORK/covdata2/out.txt
    ! grep 'bufio/bufio.go:' $WORK/covdata2/out.txt
    
    #-------------------------------------------
    # end of test cmds, start of harness and related files.
    
    -- go.mod --
    module mod.example
    
    go 1.20
    
    require rsc.io/quote/v3 v3.0.0
    
    -- main/main.go --
    package main
    
    import (
    	"fmt"
    	"mod.example/sub"
    
    	"rsc.io/quote"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix.go

    }
    
    // SocketControlMessage represents a socket control message.
    type SocketControlMessage struct {
    	Header Cmsghdr
    	Data   []byte
    }
    
    // ParseSocketControlMessage parses b as an array of socket control
    // messages.
    func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) {
    	var msgs []SocketControlMessage
    	i := 0
    	for i+CmsgLen(0) <= len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/note.go

    	return []byte(fmt.Sprintf("go.sum database tree\n%d\n%s\n", tree.N, tree.Hash))
    }
    
    var errMalformedTree = errors.New("malformed tree note")
    var treePrefix = []byte("go.sum database tree\n")
    
    // ParseTree parses a formatted tree root description.
    func ParseTree(text []byte) (tree Tree, err error) {
    	// The message looks like:
    	//
    	//	go.sum database tree
    	//	2
    	//	nND/nri/U0xuHUrYSy0HtMeal2vzD9V4k/BO79C+QeI=
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 29 20:10:15 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/gofmt/internal.go

    // in a public API. See also #11844 for context.
    
    package main
    
    import (
    	"bytes"
    	"go/ast"
    	"go/parser"
    	"go/printer"
    	"go/token"
    	"strings"
    )
    
    // parse parses src, which was read from the named file,
    // as a Go source file, declaration, or statement list.
    func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) (
    	file *ast.File,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top