Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for Append (0.18 sec)

  1. internal/ioutil/append-file_nix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. internal/ioutil/append-file_windows.go

    package ioutil
    
    import (
    	"io"
    	"os"
    
    	"github.com/minio/minio/internal/lock"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes_gen.go

    	// map header, size 5
    	// string "Name"
    	o = append(o, 0x85, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	o = msgp.AppendString(o, z.Name)
    	// string "Created"
    	o = append(o, 0xa7, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.Created)
    	// string "Deleted"
    	o = append(o, 0xa7, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.Deleted)
    	// string "Versioning"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  4. cmd/batch-handlers_gen.go

    	// string "v"
    	o = append(o, 0xde, 0x0, 0x10, 0xa1, 0x76)
    	o = msgp.AppendInt(o, z.Version)
    	// string "jid"
    	o = append(o, 0xa3, 0x6a, 0x69, 0x64)
    	o = msgp.AppendString(o, z.JobID)
    	// string "jt"
    	o = append(o, 0xa2, 0x6a, 0x74)
    	o = msgp.AppendString(o, z.JobType)
    	// string "st"
    	o = append(o, 0xa2, 0x73, 0x74)
    	o = msgp.AppendTime(o, z.StartTime)
    	// string "lu"
    	o = append(o, 0xa2, 0x6c, 0x75)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 07 18:58:22 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_gen.go

    	o = append(o, 0xa3, 0x72, 0x73, 0x74)
    	o = msgp.AppendInt(o, int(z.ResyncStatus))
    	// string "fs"
    	o = append(o, 0xa2, 0x66, 0x73)
    	o = msgp.AppendInt64(o, z.FailedSize)
    	// string "frc"
    	o = append(o, 0xa3, 0x66, 0x72, 0x63)
    	o = msgp.AppendInt64(o, z.FailedCount)
    	// string "rs"
    	o = append(o, 0xa2, 0x72, 0x73)
    	o = msgp.AppendInt64(o, z.ReplicatedSize)
    	// string "rrc"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  6. cmd/batch-expire_gen.go

    		return
    	}
    	// string "Type"
    	o = append(o, 0xa4, 0x54, 0x79, 0x70, 0x65)
    	o = msgp.AppendString(o, z.Type)
    	// string "Name"
    	o = append(o, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	o = msgp.AppendString(o, z.Name)
    	// string "Purge"
    	o = append(o, 0xa5, 0x50, 0x75, 0x72, 0x67, 0x65)
    	// map header, size 1
    	// string "RetainVersions"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  7. cmd/last-minute_gen.go

    		// string "Totals"
    		o = append(o, 0x82, 0xa6, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x73)
    		o = msgp.AppendArrayHeader(o, uint32(60))
    		for za0002 := range z[za0001].Totals {
    			// map header, size 3
    			// string "Total"
    			o = append(o, 0x83, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c)
    			o = msgp.AppendInt64(o, z[za0001].Totals[za0002].Total)
    			// string "Size"
    			o = append(o, 0xa4, 0x53, 0x69, 0x7a, 0x65)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 17.2K bytes
    - Viewed (0)
  8. internal/config/certsinfo.go

    			switch oid[3] {
    			case 3:
    				values = append(values, fmt.Sprintf("CN=%s", name.Value))
    			case 6:
    				values = append(values, fmt.Sprintf("C=%s", name.Value))
    			case 8:
    				values = append(values, fmt.Sprintf("ST=%s", name.Value))
    			case 10:
    				values = append(values, fmt.Sprintf("O=%s", name.Value))
    			case 11:
    				values = append(values, fmt.Sprintf("OU=%s", name.Value))
    			default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  9. cmd/erasure.go

    			healing++
    			if inclHealing {
    				healingDisks = append(healingDisks, disks[i])
    				healingInfos = append(healingInfos, infos[i])
    			}
    			continue
    		}
    
    		if !info.Scanning {
    			newDisks = append(newDisks, disks[i])
    			newInfos = append(newInfos, infos[i])
    		} else {
    			scanningDisks = append(scanningDisks, disks[i])
    			scanningInfos = append(scanningInfos, infos[i])
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  10. cmd/bootstrap-peer-server_gen.go

    	// map header, size 3
    	// write "NEndpoints"
    	err = en.Append(0x83, 0xaa, 0x4e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.NEndpoints)
    	if err != nil {
    		err = msgp.WrapError(err, "NEndpoints")
    		return
    	}
    	// write "CmdLines"
    	err = en.Append(0xa8, 0x43, 0x6d, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x73)
    	if err != nil {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 24 21:36:44 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top