Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for recs (0.15 sec)

  1. src/cmd/asm/internal/asm/pseudo_test.go

    package asm
    
    import (
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    )
    
    func tokenize(s string) [][]lex.Token {
    	res := [][]lex.Token{}
    	if len(s) == 0 {
    		return res
    	}
    	for _, o := range strings.Split(s, ",") {
    		res = append(res, lex.Tokenize(o))
    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    					t := recvType
    					if star, ok := unparen(t).(*ast.StarExpr); ok {
    						t = star.X
    					}
    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)
  3. src/archive/tar/strconv_test.go

    		if v.ok && (key != v.wantKey || val != v.wantVal) {
    			t.Errorf("parsePAXRecord(%q): got (%q: %q), want (%q: %q)",
    				v.in, key, val, v.wantKey, v.wantVal)
    		}
    		if res != v.wantRes {
    			t.Errorf("parsePAXRecord(%q): got residual %q, want residual %q",
    				v.in, res, v.wantRes)
    		}
    	}
    }
    
    func TestFormatPAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg go/types, method (*Selection) Obj() Object
    pkg go/types, method (*Selection) Recv() Type
    pkg go/types, method (*Selection) String() string
    pkg go/types, method (*Selection) Type() Type
    pkg go/types, method (*Signature) Params() *Tuple
    pkg go/types, method (*Signature) Recv() *Var
    pkg go/types, method (*Signature) Results() *Tuple
    pkg go/types, method (*Signature) String() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type BpfStat struct, Drop uint64
    pkg syscall (netbsd-arm64-cgo), type BpfStat struct, Padding [13]uint64
    pkg syscall (netbsd-arm64-cgo), type BpfStat struct, Recv uint64
    pkg syscall (netbsd-arm64-cgo), type BpfTimeval struct
    pkg syscall (netbsd-arm64-cgo), type BpfTimeval struct, Sec int64
    pkg syscall (netbsd-arm64-cgo), type BpfTimeval struct, Usec int64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    with the same name as a result parameter is in
    <a href="#Declarations_and_scope">scope</a> at the place of the return.
    </p>
    
    <pre>
    func f(n int) (res int, err error) {
    	if _, err := f(n-1); err != nil {
    		return  // invalid return statement: err is shadowed
    	}
    	return
    }
    </pre>
    
    <h3 id="Break_statements">Break statements</h3>
    
    <p>
    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)
  7. src/archive/tar/strconv.go

    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/11-language-change.yml

    title: "proposal: Go 2: proposal title"
    
    
    body:
      - type: markdown
        attributes:
          value: |
           ## Our process for evaluating language changes can be found [here](https://go.googlesource.com/proposal/+/refs/heads/master#language-changes)
    
      - type: dropdown
        id: author-go-experience
        attributes:
          label: "Go Programming Experience"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. misc/linkcheck/linkcheck.go

    			// Skip off-site redirects.
    			return nil
    		}
    		crawl(newURL.String(), url)
    		return nil
    	}
    	if res.StatusCode != 200 {
    		return errors.New(res.Status)
    	}
    	slurp, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		log.Fatalf("Error reading %s body: %v", url, err)
    	}
    	if *verbose {
    		log.Printf("Len of %s: %d", url, len(slurp))
    	}
    	body := string(slurp)
    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)
  10. api/go1.txt

    pkg image, type Alpha struct
    pkg image, type Alpha struct, Pix []uint8
    pkg image, type Alpha struct, Rect Rectangle
    pkg image, type Alpha struct, Stride int
    pkg image, type Alpha16 struct
    pkg image, type Alpha16 struct, Pix []uint8
    pkg image, type Alpha16 struct, Rect Rectangle
    pkg image, type Alpha16 struct, Stride int
    pkg image, type Config struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
Back to top