Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for Comments (0.25 sec)

  1. src/archive/tar/reader_test.go

    		headers: []*Header{{
    			Typeflag: TypeReg,
    			Name:     "file",
    			Uname:    strings.Repeat("long", 10),
    			ModTime:  time.Unix(0, 0),
    			PAXRecords: map[string]string{
    				"GOLANG.pkg": "tar",
    				"comment":    "Hello, 世界",
    				"uname":      strings.Repeat("long", 10),
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/pax-global-records.tar",
    		headers: []*Header{{
    			Typeflag:   TypeXGlobalHeader,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/buildtagerror.s

    // Copyright 2020 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.
    
    #define X 1
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Oct 13 01:16:56 GMT 2020
    - 227 bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    					remove := thisRecLen - int(remain)
    					commentLen -= remove
    					thisRecLen -= remove
    				}
    				remain -= int64(thisRecLen)
    				f, err := w.CreateHeader(&FileHeader{
    					Name:    uint16string,
    					Comment: uint16string[:commentLen],
    				})
    				if err != nil {
    					t.Fatalf("CreateHeader: %v", err)
    				}
    				f.(*fileWriter).crc32 = fakeHash32{}
    			}
    			if err := w.Close(); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg go/ast, const RECV = 2
    pkg go/ast, const SEND = 1
    pkg go/ast, const Typ = 3
    pkg go/ast, const Var = 4
    pkg go/ast, func NewCommentMap(*token.FileSet, Node, []*CommentGroup) CommentMap
    pkg go/ast, method (CommentMap) Comments() []*CommentGroup
    pkg go/ast, method (CommentMap) Filter(Node) CommentMap
    pkg go/ast, method (CommentMap) String() string
    pkg go/ast, method (CommentMap) Update(Node, Node) Node
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  5. misc/cgo/gmp/gmp.go

    it compiles into a shared object (.so) that is dynamically linked into
    any 6.out that imports the first two files.
    
    The stanza
    
    	// #include <gmp.h>
    	import "C"
    
    is a signal to cgo.  The doc comment on the import of "C" provides
    additional context for the C file.  Here it is just a single #include
    but it could contain arbitrary C definitions to be imported and used.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    				Name:     "file",
    				Uname:    strings.Repeat("long", 10),
    				PAXRecords: map[string]string{
    					"path":           "FILE", // Should be ignored
    					"GNU.sparse.map": "0,0",  // Should be ignored
    					"comment":        "Hello, 世界",
    					"GOLANG.pkg":     "tar",
    				},
    			}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Craft a theoretically valid PAX archive with global headers.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  7. api/go1.4.txt

    # CL 122960043 encoding/xml: add InputOffset method to Decoder, Russ Cox <******@****.***>
    pkg encoding/xml, method (*Decoder) InputOffset() int64
    
    # CL 124940043 cmd/go, go/build: implement import comment checking, Russ Cox <******@****.***>
    pkg go/build, const ImportComment = 4
    pkg go/build, const ImportComment ImportMode
    pkg go/build, type Package struct, ImportComment string
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
  8. api/go1.19.txt

    pkg go/doc/comment, type DocLink struct, Recv string #51082
    pkg go/doc/comment, type DocLink struct, Text []Text #51082
    pkg go/doc/comment, type Heading struct #51082
    pkg go/doc/comment, type Heading struct, Text []Text #51082
    pkg go/doc/comment, type Italic string #51082
    pkg go/doc/comment, type Link struct #51082
    pkg go/doc/comment, type Link struct, Auto bool #51082
    pkg go/doc/comment, type Link struct, Text []Text #51082
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  9. src/cmd/asm/internal/lex/lex.go

    		return "float constant"
    	case scanner.Char:
    		return "rune constant"
    	case scanner.String:
    		return "string constant"
    	case scanner.RawString:
    		return "raw string constant"
    	case scanner.Comment:
    		return "comment"
    	default:
    		return fmt.Sprintf("%q", rune(t))
    	}
    }
    
    // NewLexer returns a lexer for the named file and the given link context.
    func NewLexer(name string) TokenReader {
    	input := NewInput(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/lex_test.go

    			"B",
    		),
    		"THIS.\n",
    	},
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B(x) x",
    			"A",
    			"B(THIS)",
    		),
    		"THIS.\n",
    	},
    	/* This one fails. See comment in Slice.Col.
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B (x) x",
    			"A",
    			"B(THIS)",
    		),
    		"x.\n",
    	},
    	*/
    }
    
    func TestLex(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top