Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for Fs (0.06 sec)

  1. src/archive/tar/writer.go

    	tw.pad = blockPadding(size)
    	return nil
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // 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 name == "." {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/386enc.s

    	MOVL AX, CR0 // 0f22c0
    	MOVL DX, CR0 // 0f22c2
    	MOVL DI, CR4 // 0f22e7
    	MOVL DR0, AX // 0f21c0
    	MOVL DR6, DX // 0f21f2
    	MOVL DR7, SI // 0f21fe
    	// Test other movtab entries.
    	PUSHL SS // 16
    	PUSHL FS // 0fa0
    	POPL FS  // 0fa1
    	POPL SS  // 17
    
    	RDPID AX                                // f30fc7f8
    
    	// End of tests.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. lib/time/mkzip.go

    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/extensions/s3zip/examples/aws-js/main.js

                console.log("Error", err);
            } else {
                console.log("Success", data);
            }
        });
    
    
    // Download a file in the archive and store it in /tmp/data.csv
    var file = require('fs').createWriteStream('/tmp/data.csv');
    s3.getObject({Bucket: 'your-bucket', Key: 'path/to/file.zip/data.csv'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 10 15:17:03 UTC 2021
    - 1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    
        @Disabled("Until we move off fully from File")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/"), Arrays.asList("clean", "verify"));
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. internal/ioutil/read_file.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"io/fs"
    	"os"
    
    	"github.com/minio/minio/internal/disk"
    )
    
    var (
    	// OpenFileDirectIO allows overriding default function.
    	OpenFileDirectIO = disk.OpenFileDirectIO
    	// OsOpen allows overriding default function.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 09 18:17:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            }
        }
    
        private Source convert(org.apache.maven.building.Source source) {
            if (source instanceof FileSource fs) {
                return Source.fromPath(fs.getPath());
            } else if (source != null) {
                return new Source() {
                    @Override
                    public Path getPath() {
                        return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/archive/tar/stat_unix.go

    //go:build unix
    
    package tar
    
    import (
    	"io/fs"
    	"os/user"
    	"runtime"
    	"strconv"
    	"sync"
    	"syscall"
    )
    
    func init() {
    	sysStat = statUnix
    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/archive/zip/writer.go

    	}
    	w.compressors[method] = comp
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // 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
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg io/fs, const ModeSticky = 1048576
    pkg io/fs, const ModeSticky FileMode
    pkg io/fs, const ModeSymlink = 134217728
    pkg io/fs, const ModeSymlink FileMode
    pkg io/fs, const ModeTemporary = 268435456
    pkg io/fs, const ModeTemporary FileMode
    pkg io/fs, const ModeType = 2401763328
    pkg io/fs, const ModeType FileMode
    pkg io/fs, func Glob(FS, string) ([]string, error)
    pkg io/fs, func ReadDir(FS, string) ([]DirEntry, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top