Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for blk (0.23 sec)

  1. src/archive/tar/reader.go

    	if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    		return nil, nil, err // EOF is okay here; exactly 0 bytes read
    	}
    	if bytes.Equal(tr.blk[:], zeroBlock[:]) {
    		if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    			return nil, nil, err // EOF is okay here; exactly 1 block of zeros read
    		}
    		if bytes.Equal(tr.blk[:], zeroBlock[:]) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    			copy(blk.V7().Size(), zeroBlock[:]) // Reset field
    			f.formatNumeric(blk.V7().Size(), hdr.Size)
    			f.formatNumeric(blk.GNU().RealSize(), realSize)
    		}
    	*/
    	blk.setFormat(FormatGNU)
    	if err := tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag); err != nil {
    		return err
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    		// Write the initial GNU header.
    		var blk block
    		gnu := blk.toGNU()
    		sparse := gnu.sparse()
    		copy(gnu.realSize(), size)
    		sps = populateSparseMap(sparse, sps)
    		if format != FormatUnknown {
    			blk.setFormat(format)
    		}
    		out = append(out, blk[:]...)
    
    		// Write extended sparse blocks.
    		for len(sps) > 0 {
    			var blk block
    			sps = populateSparseMap(blk.toSparse(), sps)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    			t.Errorf("test %d, unexpected Close error: %v", i, err)
    		}
    
    		// The prefix field should never appear in the GNU format.
    		var blk block
    		copy(blk[:], b.Bytes())
    		prefix := string(blk.toUSTAR().prefix())
    		prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator
    		if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) {
    			t.Errorf("test %d, found prefix in GNU format: %s", i, prefix)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    			}
    		}
    		if v, ok := h.PAXRecords[paxKey]; ok && v == formatPAXTime(ts) {
    			paxHdrs[paxKey] = v
    		}
    	}
    
    	// Check basic fields.
    	var blk block
    	v7 := blk.toV7()
    	ustar := blk.toUSTAR()
    	gnu := blk.toGNU()
    	verifyString(h.Name, len(v7.name()), "Name", paxPath)
    	verifyString(h.Linkname, len(v7.linkName()), "Linkname", paxLinkpath)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. cmd/erasure-server-pool.go

    	// We skip scanning the parent directory for
    	// more objects matching the prefix.
    	ri := logger.GetReqInfo(ctx)
    	if ri != nil && strings.Contains(ri.UserAgent, `1.0 Veeam/1.0 Backup`) && strings.HasSuffix(prefix, ".blk") {
    		opts.BaseDir = prefix
    		opts.Transient = true
    	}
    
    	// set bucket metadata in opts
    	opts.setBucketMeta(ctx)
    
    	merged, err := z.listPath(ctx, &opts)
    	if err != nil && err != io.EOF {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  7. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), const DLT_WIHART ideal-int
    pkg syscall (freebsd-386-cgo), const DLT_X2E_SERIAL ideal-int
    pkg syscall (freebsd-386-cgo), const DLT_X2E_XORAYA ideal-int
    pkg syscall (freebsd-386-cgo), const DT_BLK ideal-int
    pkg syscall (freebsd-386-cgo), const DT_CHR ideal-int
    pkg syscall (freebsd-386-cgo), const DT_DIR ideal-int
    pkg syscall (freebsd-386-cgo), const DT_FIFO ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  8. api/go1.1.txt

    pkg syscall (darwin-386), const DLT_PRONET = 4
    pkg syscall (darwin-386), const DLT_RAW = 12
    pkg syscall (darwin-386), const DLT_SLIP = 8
    pkg syscall (darwin-386), const DLT_SLIP_BSDOS = 15
    pkg syscall (darwin-386), const DT_BLK = 6
    pkg syscall (darwin-386), const DT_CHR = 2
    pkg syscall (darwin-386), const DT_DIR = 4
    pkg syscall (darwin-386), const DT_FIFO = 1
    pkg syscall (darwin-386), const DT_LNK = 10
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const DLT_X2E_XORAYA = 214
    pkg syscall (netbsd-arm64-cgo), const DLT_X2E_XORAYA ideal-int
    pkg syscall (netbsd-arm64-cgo), const DT_BLK = 6
    pkg syscall (netbsd-arm64-cgo), const DT_BLK ideal-int
    pkg syscall (netbsd-arm64-cgo), const DT_CHR = 2
    pkg syscall (netbsd-arm64-cgo), const DT_CHR ideal-int
    pkg syscall (netbsd-arm64-cgo), const DT_DIR = 4
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  10. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const DLT_X2E_XORAYA = 214 #53466
    pkg syscall (freebsd-riscv64), const DLT_X2E_XORAYA ideal-int #53466
    pkg syscall (freebsd-riscv64), const DT_BLK = 6 #53466
    pkg syscall (freebsd-riscv64), const DT_BLK ideal-int #53466
    pkg syscall (freebsd-riscv64), const DT_CHR = 2 #53466
    pkg syscall (freebsd-riscv64), const DT_CHR ideal-int #53466
    pkg syscall (freebsd-riscv64), const DT_DIR = 4 #53466
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top