Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for hdrs (0.03 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)
    		}
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    	modTime := hdr.ModTime
    	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()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/archive/tar/fuzz_test.go

    			header  *Header
    			content []byte
    		}
    		files := []file{}
    		for {
    			hdr, err := r.Next()
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				return
    			}
    			buf := bytes.NewBuffer(nil)
    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    		// If we were unable to read anything out of the archive don't
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. doc/godebug.md

    for compatibility reasons.
    Packages or programs may define additional settings for internal debugging purposes;
    for example,
    see the [runtime documentation](/pkg/runtime#hdr-Environment_Variables)
    and the [go command documentation](/cmd/go#hdr-Build_and_test_caching).
    
    ### Go 1.25
    
    Go 1.25 added a new `decoratemappings` setting that controls whether the Go
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  5. src/archive/tar/testdata/hdr-only.tar

    Joe Tsai <******@****.***> 1446603151 -0800
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Dec 01 20:16:26 UTC 2015
    - 10K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        private static byte[] buildHeader(int status) {
            byte[] hdr = new byte[64]; // SMB2 header is 64 bytes
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);
            // Write Status (little-endian) at offset 8 in the SMB2 header
            SMBUtil.writeInt4(status, hdr, 8);
            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
            // Mark as server response to be realistic (optional)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. cmd/globals.go

    	// tmp directory are deemed stale.
    	GlobalStaleUploadsExpiry = time.Hour * 24 // 24 hrs.
    
    	// GlobalStaleUploadsCleanupInterval - Cleanup interval when the stale uploads cleanup is initiated.
    	GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
    
    	// Refresh interval to update in-memory iam config cache.
    	globalRefreshIAMInterval = 10 * time.Minute
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  8. src/archive/tar/testdata/pax-path-hdr.tar

    Joe Tsai <******@****.***> 1443691829 -0700
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 06 04:31:26 UTC 2015
    - 1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            if (rn == 0 || resp.numReferrals < rn) {
                rn = resp.numReferrals;
            }
    
            final DfsReferral[] drs = new DfsReferral[rn];
            final String[] arr = new String[4];
            final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            for (int di = 0; di < drs.length; di++) {
                final DfsReferral dr = new DfsReferral();
                /* NTLM HTTP Authentication must be re-negotiated
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    						if v == latestCount && latest.header.sortsBefore(k) {
    							// Tiebreak, use sort.
    							continue
    						}
    						for _, a := range tops {
    							hdr := a.header
    							if !strict {
    								hdr.Signature = [4]byte{}
    							}
    							if hdr == k {
    								latest = a
    							}
    						}
    						latestCount = v
    					}
    					break
    				}
    			}
    			if latestCount >= quorum {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
Back to top