Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 390 for Parses (0.44 sec)

  1. src/syscall/syscall_darwin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Darwin system calls.
    // This file is compiled as ordinary Go code,
    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and wrap
    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package syscall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    	"github.com/minio/minio/internal/mcontext"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	copyDirective    = "COPY"
    	replaceDirective = "REPLACE"
    	accessDirective  = "ACCESS"
    )
    
    // Parses location constraint from the incoming reader.
    func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) {
    	// If the request has no body with content-length set to 0,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    		}
    		f, err := os.Create(*memprofile)
    		if err != nil {
    			log.Fatalf("%v", err)
    		}
    		AtExit(func() {
    			// Profile all outstanding allocations.
    			runtime.GC()
    			// compilebench parses the memory profile to extract memstats,
    			// which are only written in the legacy pprof format.
    			// See golang.org/issue/18641 and runtime/pprof/pprof.go:writeHeap.
    			const writeLegacyFormat = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    		return true
    	}
    	return false // in progress or completed but expired
    }
    
    // parseRestoreObjStatus parses restoreHdr from AmzRestore header. If the value is valid it returns a
    // restoreObjStatus value with the status and expiry (if any). Otherwise returns
    // the empty value and an error indicating the parse failure.
    func parseRestoreObjStatus(restoreHdr string) (restoreObjStatus, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	"strings"
    
    	md "rsc.io/markdown"
    )
    
    // NewParser returns a properly configured Markdown parser.
    func NewParser() *md.Parser {
    	var p md.Parser
    	p.HeadingIDs = true
    	return &p
    }
    
    // CheckFragment reports problems in a release-note fragment.
    func CheckFragment(data string) error {
    	doc := NewParser().Parse(data)
    	// Check that the content of the document contains either a TODO or at least one sentence.
    	txt := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check_test.go

    		return nopos, err.Error()
    	}
    }
    
    // absDiff returns the absolute difference between x and y.
    func absDiff(x, y uint) uint {
    	if x < y {
    		return y - x
    	}
    	return x - y
    }
    
    // parseFlags parses flags from the first line of the given source if the line
    // starts with "//" (line comment) followed by "-" (possibly with spaces
    // between). Otherwise the line is ignored.
    func parseFlags(src []byte, flags *flag.FlagSet) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server.go

    		DisableFlagParsing: true,
    		SilenceUsage:       true,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			// initial flag parse, since we disable cobra's flag parsing
    			if err := cleanFlagSet.Parse(args); err != nil {
    				return fmt.Errorf("failed to parse kubelet flag: %w", err)
    			}
    
    			// check if there are non-flag arguments in the command line
    			cmds := cleanFlagSet.Args()
    			if len(cmds) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. src/go/types/check_test.go

    )
    
    var fset = token.NewFileSet()
    
    func parseFiles(t *testing.T, filenames []string, srcs [][]byte, mode parser.Mode) ([]*ast.File, []error) {
    	var files []*ast.File
    	var errlist []error
    	for i, filename := range filenames {
    		file, err := parser.ParseFile(fset, filename, srcs[i], mode)
    		if file == nil {
    			t.Fatalf("%s: %s", filename, err)
    		}
    		files = append(files, file)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/net/conf.go

    	case dnsSource:
    		return hostLookupDNS, dnsConf
    	}
    
    	// Something weird. Fallback to the default.
    	return fallbackOrder, dnsConf
    }
    
    var netdns = godebug.New("netdns")
    
    // goDebugNetDNS parses the value of the GODEBUG "netdns" value.
    // The netdns value can be of the form:
    //
    //	1       // debug level 1
    //	2       // debug level 2
    //	cgo     // use cgo for DNS lookups
    //	go      // use go for DNS lookups
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/runtime/runtime1.go

    	parsegodebug(godebugDefault, seen)
    	// apply defaults for as-yet-unseen variables
    	for _, v := range dbgvars {
    		if v.atomic != nil && !seen[v.name] {
    			v.atomic.Store(0)
    		}
    	}
    }
    
    // parsegodebug parses the godebug string, updating variables listed in dbgvars.
    // If seen == nil, this is startup time and we process the string left to right
    // overwriting older settings with newer ones.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top