Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for com (0.2 sec)

  1. src/cmd/cgo/ast.go

    }
    
    // Like ast.CommentGroup's Text method but preserves
    // leading blank lines, so that line numbers line up.
    func commentText(g *ast.CommentGroup) string {
    	var pieces []string
    	for _, com := range g.List {
    		c := com.Text
    		// Remove comment markers.
    		// The parser has given us exactly the comment text.
    		switch c[1] {
    		case '/':
    			//-style comment (no newline at the end)
    			c = c[2:] + "\n"
    		case '*':
    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)
  2. misc/wasm/wasm_exec.js

    								this._resume();
    								while (this._scheduledTimeouts.has(id)) {
    									// for some reason Go failed to register the timeout event, log and try again
    									// (temporary workaround for https://github.com/golang/go/issues/28975)
    									console.warn("scheduleTimeoutEvent: missed timeout event");
    									this._resume();
    								}
    							},
    							getInt64(sp + 8),
    						));
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. src/archive/zip/struct.go

    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    [ZIP specification]: https://support.pkware.com/pkzip/appnote
    */
    package zip
    
    import (
    	"io/fs"
    	"path"
    	"time"
    )
    
    // Compression methods.
    const (
    	Store   uint16 = 0 // no compression
    	Deflate uint16 = 8 // DEFLATE compressed
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	// Concurrent use of adb is flaky, so serialize adb commands.
    	// See https://github.com/golang/go/issues/23795 or
    	// https://issuetracker.google.com/issues/73230216.
    	lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock")
    	lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return 0, err
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    				Size:     11,
    				Mode:     0640,
    				Uid:      73025,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				Gid:      5000,
    				ModTime:  time.Unix(1245217492, 0),
    			}, nil},
    			testWrite{"Google.com\n", 11, nil},
    
    			testHeader{Header{
    				Typeflag: TypeSymlink,
    				Name:     "link.txt",
    				Linkname: "small.txt",
    				Mode:     0777,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "strings",
    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)
  6. src/cmd/api/main_test.go

    		ctags[tag] = true
    	}
    	// TODO: ReleaseTags (need to load default)
    	key := dir
    
    	// explicit on GOOS and GOARCH as global cache will use "all" cached packages for
    	// an indirect imported package. See https://github.com/golang/go/issues/21181
    	// for more detail.
    	tags = append(tags, context.GOOS, context.GOARCH)
    	sort.Strings(tags)
    
    	for _, tag := range tags {
    		if ctags[tag] {
    			key += "," + tag
    			ctags[tag] = false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. doc/go_mem.html

    </p>
    
    <h2 id="model">Memory Model</h2>
    
    <p>
    The following formal definition of Go's memory model closely follows
    the approach presented by Hans-J. Boehm and Sarita V. Adve in
    “<a href="https://www.hpl.hp.com/techreports/2008/HPL-2008-56.pdf">Foundations of the C++ Concurrency Memory Model</a>”,
    published in PLDI 2008.
    The definition of data-race-free programs and the guarantee of sequential consistency
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top