Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for model (0.17 sec)

  1. 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)
  2. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const IFT_MIOX25 = 38 #53466
    pkg syscall (freebsd-riscv64), const IFT_MIOX25 ideal-int #53466
    pkg syscall (freebsd-riscv64), const IFT_MODEM = 48 #53466
    pkg syscall (freebsd-riscv64), const IFT_MODEM ideal-int #53466
    pkg syscall (freebsd-riscv64), const IFT_MPC = 113 #53466
    pkg syscall (freebsd-riscv64), const IFT_MPC ideal-int #53466
    pkg syscall (freebsd-riscv64), const IFT_MPLS = 166 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  3. 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)
  4. src/archive/zip/zip_test.go

    	"internal/testenv"
    	"io"
    	"runtime"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestOver65kFiles(t *testing.T) {
    	if testing.Short() && testenv.Builder() == "" {
    		t.Skip("skipping in short mode")
    	}
    	buf := new(strings.Builder)
    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    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)
  5. src/cmd/cgo/internal/test/callback_windows.go

    			continue
    		}
    		fname := f.Name()
    		switch fname {
    		case "goCallback":
    			// TODO(qmuntal): investigate why this function doesn't appear
    			// when using the external linker.
    			continue
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    		if !strings.HasPrefix(fname, "test.") {
    			continue
    		}
    		got = append(got, fname)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. 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)
  7. api/go1.12.txt

    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT = 452
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT ideal-int
    pkg expvar, method (*Map) Delete(string)
    pkg go/doc, const PreserveAST = 4
    pkg go/doc, const PreserveAST Mode
    pkg go/importer, func ForCompiler(*token.FileSet, string, Lookup) types.Importer
    pkg go/token, method (*File) LineStart(int) Pos
    pkg io, type StringWriter interface { WriteString }
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  8. doc/go_spec.html

    </p>
    
    <p>
    Type unification is controlled by a <i>matching mode</i>, which may
    be <i>exact</i> or <i>loose</i>.
    As unification recursively descends a composite type structure,
    the matching mode used for elements of the type, the <i>element matching mode</i>,
    remains the same as the matching mode except when two types are unified for
    <a href="#Assignability">assignability</a> (<code>≡<sub>A</sub></code>):
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg syscall (darwin-386), const IFT_LOCALTALK = 42
    pkg syscall (darwin-386), const IFT_LOOP = 24
    pkg syscall (darwin-386), const IFT_MIOX25 = 38
    pkg syscall (darwin-386), const IFT_MODEM = 48
    pkg syscall (darwin-386), const IFT_NSIP = 27
    pkg syscall (darwin-386), const IFT_OTHER = 1
    pkg syscall (darwin-386), const IFT_P10 = 12
    pkg syscall (darwin-386), const IFT_P80 = 13
    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)
  10. src/cmd/asm/internal/asm/asm.go

    				// The Loong64 RDTIME family of instructions is a bit special,
    				// in that both its register operands are outputs
    				prog.To = a[0]
    				if a[1].Type != obj.TYPE_REG {
    					p.errorf("invalid addressing modes for 2nd operand to %s instruction, must be register", op)
    					return
    				}
    				prog.RegTo2 = a[1].Reg
    				break
    			}
    		}
    		prog.From = a[0]
    		prog.To = a[1]
    	case 3:
    		switch p.arch.Family {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top