Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for fsys (5.62 sec)

  1. src/archive/zip/writer_test.go

    		var buf bytes.Buffer
    		for pb.Next() {
    			runOnce(&buf)
    		}
    	})
    }
    
    func writeTestsToFS(tests []WriteTest) fs.FS {
    	fsys := fstest.MapFS{}
    	for _, wt := range tests {
    		fsys[wt.Name] = &fstest.MapFile{
    			Data: wt.Data,
    			Mode: wt.Mode,
    		}
    	}
    	return fsys
    }
    
    func TestWriterAddFS(t *testing.T) {
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    	tests := []WriteTest{
    		{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the tar archive while maintaining the directory structure.
    func (tw *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    		if d.IsDir() {
    			return nil
    		}
    		info, err := d.Info()
    		if err != nil {
    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)
  3. src/archive/tar/writer_test.go

    		}
    	}
    }
    
    func TestWriterAddFS(t *testing.T) {
    	fsys := fstest.MapFS{
    		"file.go":              {Data: []byte("hello")},
    		"subfolder/another.go": {Data: []byte("world")},
    	}
    	var buf bytes.Buffer
    	tw := NewWriter(&buf)
    	if err := tw.AddFS(fsys); err != nil {
    		t.Fatal(err)
    	}
    
    	// Test that we can get the files back from the archive
    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)
  4. src/archive/zip/writer.go

    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the zip using deflate while maintaining the directory structure.
    func (w *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    		if d.IsDir() {
    			return nil
    		}
    		info, err := d.Info()
    		if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const SYS_BIND ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_BREAK = 17
    pkg syscall (netbsd-arm64-cgo), const SYS_BREAK ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_CHDIR = 12
    pkg syscall (netbsd-arm64-cgo), const SYS_CHDIR ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_CHFLAGS = 34
    pkg syscall (netbsd-arm64-cgo), const SYS_CHFLAGS ideal-int
    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. api/go1.3.txt

    pkg syscall (openbsd-386), const SYS_NANOSLEEP = 91
    pkg syscall (openbsd-386), const SYS_PPOLL = 109
    pkg syscall (openbsd-386), const SYS_PPOLL ideal-int
    pkg syscall (openbsd-386), const SYS_PSELECT = 110
    pkg syscall (openbsd-386), const SYS_PSELECT ideal-int
    pkg syscall (openbsd-386), const SYS_SELECT = 71
    pkg syscall (openbsd-386), const SYS_SETITIMER = 69
    pkg syscall (openbsd-386), const SYS_SETTIMEOFDAY = 68
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	FSQRT                                   // d9fa
    	//TODO: FST F2                          // ddd2
    	//TODO: FST F3                          // ddd3
    	//TODO: FSTS (BX)                       // d913
    	//TODO: FSTS (R11)                      // 41d913
    	//TODO: FSTL (BX)                       // dd13
    	//TODO: FSTL (R11)                      // 41dd13
    	//TODO: FSTP F2                         // ddda
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  8. api/go1.14.txt

    pkg syscall (freebsd-arm64), const SYS___SYSCTL = 202
    pkg syscall (freebsd-arm64), const SYS___SYSCTL ideal-int
    pkg syscall (freebsd-arm64), const SYS__UMTX_OP = 454
    pkg syscall (freebsd-arm64), const SYS__UMTX_OP ideal-int
    pkg syscall (freebsd-arm64), const SYS_ABORT2 = 463
    pkg syscall (freebsd-arm64), const SYS_ABORT2 ideal-int
    pkg syscall (freebsd-arm64), const SYS_ACCEPT = 30
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_CSOPS_AUDITTOKEN ideal-int
    pkg syscall (darwin-arm64), const SYS_DELETE = 226
    pkg syscall (darwin-arm64), const SYS_DELETE ideal-int
    pkg syscall (darwin-arm64), const SYS_DUP = 41
    pkg syscall (darwin-arm64), const SYS_DUP ideal-int
    pkg syscall (darwin-arm64), const SYS_DUP2 = 90
    pkg syscall (darwin-arm64), const SYS_DUP2 ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg syscall (darwin-386), const SYS_ATPGETREQ ideal-int
    pkg syscall (darwin-386), const SYS_ATPGETRSP ideal-int
    pkg syscall (darwin-386), const SYS_ATPSNDREQ ideal-int
    pkg syscall (darwin-386), const SYS_ATPSNDRSP ideal-int
    pkg syscall (darwin-386), const SYS_ATPUTMSG ideal-int
    pkg syscall (darwin-386), const SYS_ATSOCKET ideal-int
    pkg syscall (darwin-386), const SYS_AUDIT ideal-int
    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