Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for finds (0.15 sec)

  1. misc/linkcheck/linkcheck.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The linkcheck command finds missing links in the godoc website.
    // It crawls a URL recursively and notes URLs and URL fragments
    // that it's seen and prints a report of missing links at the end.
    package main
    
    import (
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"os"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/swig_test.go

    	}
    
    	re := regexp.MustCompile(`[vV]ersion +(\d+)([.]\d+)?([.]\d+)?`)
    	matches := re.FindSubmatch(out)
    	if matches == nil {
    		// Can't find version number; hope for the best.
    		t.Logf("failed to find swig version, continuing")
    		return
    	}
    
    	var parseError error
    	atoi := func(s string) int {
    		x, err := strconv.Atoi(s)
    		if err != nil && parseError == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/clean.bat

    if...
    Batch File
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 12 16:59:17 GMT 2022
    - 600 bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    parsing these is significantly less work and more robust than parsing
    C source.
    
    Cgo first invokes gcc -E -dM on the preamble, in order to find out
    about simple #defines for constants and the like. These are recorded
    for later use.
    
    Next, cgo needs to identify the kinds for each identifier. For the
    identifiers C.foo, cgo generates this C program:
    
    	<preamble>
    	#line 1 "not-declared"
    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)
  5. .github/ISSUE_TEMPLATE/01-pkgsite.yml

          label: "What is the URL of the page with the issue?"
        validations:
          required: true
      - type: input
        id: user-agent
        attributes:
          label: "What is your user agent?"
          description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent"
        validations:
          required: true
      - type: textarea
        id: screenshot
        attributes:
          label: "Screenshot"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/cgo/ast.go

    	ast2 := parse(abspath, src, parser.SkipObjectResolution)
    
    	f.Package = ast1.Name.Name
    	f.Name = make(map[string]*Name)
    	f.NamePos = make(map[*Name]token.Pos)
    
    	// In ast1, find the import "C" line and get any extra C preamble.
    	sawC := false
    	for _, decl := range ast1.Decls {
    		switch decl := decl.(type) {
    		case *ast.GenDecl:
    			for _, spec := range decl.Specs {
    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)
  7. doc/go1.17_spec.html

    </ol>
    
    <p>
    Blocks nest and influence <a href="#Declarations_and_scope">scoping</a>.
    </p>
    
    
    <h2 id="Declarations_and_scope">Declarations and scope</h2>
    
    <p>
    A <i>declaration</i> binds a non-<a href="#Blank_identifier">blank</a> identifier to a
    <a href="#Constant_declarations">constant</a>,
    <a href="#Type_declarations">type</a>,
    <a href="#Variable_declarations">variable</a>,
    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)
  8. src/cmd/cgo/gcc.go

    			// For FooRef, find out if FooGetTypeID exists.
    			s := n.C[:len(n.C)-3] + "GetTypeID"
    			n := &Name{Go: s, C: s}
    			names = append(names, n)
    			optional[n] = true
    		}
    
    		// Otherwise, we'll need to find out from gcc.
    		names = append(names, n)
    	}
    
    	// Bypass gcc if there's nothing left to find out.
    	if len(names) == 0 {
    		return needType
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    	// data that describes the next file. These meta data "files" should not
    	// normally be visible to the outside. As such, this loop iterates through
    	// one or more "header files" until it finds a "normal file".
    	format := FormatUSTAR | FormatPAX | FormatGNU
    	for {
    		// Discard the remainder of the file and any padding.
    		if err := discard(tr.r, tr.curr.physicalRemaining()); err != nil {
    			return nil, err
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue1435.go

    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top