Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Values (0.17 sec)

  1. src/archive/tar/writer.go

    	if err := tw.writeRawHeader(&tw.blk, int64(len(data)), flag); err != nil {
    		return err
    	}
    	_, err := io.WriteString(tw, data)
    	return err
    }
    
    // writeRawHeader writes the value of blk, regardless of its value.
    // It sets up the Writer such that it can accept a file of the given size.
    // If the flag is a special header-only flag, then the size is treated as zero.
    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)
  2. src/archive/zip/writer.go

    		b.uint32(1)           // total number of disks
    
    		if _, err := w.cw.Write(buf[:]); err != nil {
    			return err
    		}
    
    		// store max values in the regular end record to signal
    		// that the zip64 values should be used instead
    		records = uint16max
    		size = uint32max
    		offset = uint32max
    	}
    
    	// write end record
    	var buf [directoryEndLen]byte
    	b := writeBuf(buf[:])
    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)
Back to top