Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for move (0.12 sec)

  1. src/bufio/scan.go

    // the [Scanner] returns it to the user. If the token is nil, the
    // Scanner reads more data and continues scanning; if there is no more
    // data--if atEOF was true--the [Scanner] returns. If the data does not
    // yet hold a complete token, for instance if it has no newline while
    // scanning lines, a [SplitFunc] can return (0, nil, nil) to signal the
    // [Scanner] to read more data into the slice and try again with a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    	case s_IFDIR:
    		mode |= fs.ModeDir
    	case s_IFIFO:
    		mode |= fs.ModeNamedPipe
    	case s_IFLNK:
    		mode |= fs.ModeSymlink
    	case s_IFREG:
    		// nothing to do
    	case s_IFSOCK:
    		mode |= fs.ModeSocket
    	}
    	if m&s_ISGID != 0 {
    		mode |= fs.ModeSetgid
    	}
    	if m&s_ISUID != 0 {
    		mode |= fs.ModeSetuid
    	}
    	if m&s_ISVTX != 0 {
    		mode |= fs.ModeSticky
    	}
    	return mode
    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)
  3. src/cmd/asm/internal/arch/arch.go

    	"fmt"
    	"strings"
    )
    
    // Pseudo-registers whose names are the constant name without the leading R.
    const (
    	RFP = -(iota + 1)
    	RSB
    	RSP
    	RPC
    )
    
    // Arch wraps the link architecture object with more architecture-specific information.
    type Arch struct {
    	*obj.LinkArch
    	// Map of instruction names to enumeration.
    	Instructions map[string]obj.As
    	// Map of register names to enumeration.
    	Register map[string]int16
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    //	------------------+--------+-----------+----------
    //	Name              |   256B | unlimited | unlimited
    //	Linkname          |   100B | unlimited | unlimited
    //	Size              | uint33 | unlimited |    uint89
    //	Mode              | uint21 |    uint21 |    uint57
    //	Uid/Gid           | uint21 | unlimited |    uint57
    //	Uname/Gname       |    32B | unlimited |       32B
    //	ModTime           | uint33 | unlimited |     int89
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    			}
    		}
    		if !atEOF {
    			return 0, nil, nil
    		}
    		// There is one final token to be delivered, which may be the empty string.
    		// Returning bufio.ErrFinalToken here tells Scan there are no more tokens after this
    		// but does not trigger an error to be returned from Scan itself.
    		return 0, data, bufio.ErrFinalToken
    	}
    	scanner.Split(onComma)
    	// Scan.
    	for scanner.Scan() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/godefs.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/printer"
    	"go/token"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    // godefs returns the output for -godefs mode.
    func (p *Package) godefs(f *File, args []string) string {
    	var buf strings.Builder
    
    	fmt.Fprintf(&buf, "// Code generated by cmd/cgo -godefs; DO NOT EDIT.\n")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    	return f, nil
    }
    
    // Only used for directories.
    func (f *fileListEntry) Name() string      { _, elem, _ := split(f.name); return elem }
    func (f *fileListEntry) Size() int64       { return 0 }
    func (f *fileListEntry) Mode() fs.FileMode { return fs.ModeDir | 0555 }
    func (f *fileListEntry) Type() fs.FileMode { return fs.ModeDir }
    func (f *fileListEntry) IsDir() bool       { return true }
    func (f *fileListEntry) Sys() any          { return nil }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    			if prefix != 0 || scale != 0 {
    				p.errorf("illegal address mode for register pair")
    				return
    			}
    			a.Type = obj.TYPE_REGREG
    			a.Offset = int64(r2)
    			// Nothing may follow
    			return
    		}
    		if p.arch.Family == sys.PPC64 {
    			// Special form for PPC64: (R1+R2); alias for (R1)(R2).
    			if prefix != 0 || scale != 0 {
    				p.errorf("illegal address mode for register+register")
    				return
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    	if modTime.IsZero() {
    		modTime = time.Unix(0, 0)
    	}
    
    	v7 := tw.blk.toV7()
    	v7.typeFlag()[0] = hdr.Typeflag
    	fmtStr(v7.name(), hdr.Name)
    	fmtStr(v7.linkName(), hdr.Linkname)
    	fmtNum(v7.mode(), hdr.Mode)
    	fmtNum(v7.uid(), int64(hdr.Uid))
    	fmtNum(v7.gid(), int64(hdr.Gid))
    	fmtNum(v7.size(), hdr.Size)
    	fmtNum(v7.modTime(), modTime.Unix())
    
    	ustar := tw.blk.toUSTAR()
    	fmtStr(ustar.userName(), hdr.Uname)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. src/archive/tar/example_test.go

    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    		hdr := &tar.Header{
    			Name: file.Name,
    			Mode: 0600,
    			Size: int64(len(file.Body)),
    		}
    		if err := tw.WriteHeader(hdr); err != nil {
    			log.Fatal(err)
    		}
    		if _, err := tw.Write([]byte(file.Body)); err != nil {
    			log.Fatal(err)
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Viewed (0)
Back to top