Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 149 of 149 for WriteString (0.13 sec)

  1. cmd/bucket-metadata_gen.go

    func (z *BucketMetadata) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 25
    	// write "Name"
    	err = en.Append(0xde, 0x0, 0x19, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    		return
    	}
    	// write "Created"
    	err = en.Append(0xa7, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    			p.errorf("bad float size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_SCONST:
    		nameAddr.Sym.WriteString(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Val.(string))
    	case obj.TYPE_ADDR:
    		if sz == p.arch.PtrSize {
    			nameAddr.Sym.WriteAddr(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Sym, valueAddr.Offset)
    		} else {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. api/go1.10.txt

    pkg strings, method (*Builder) Write([]uint8) (int, error)
    pkg strings, method (*Builder) WriteByte(uint8) error
    pkg strings, method (*Builder) WriteRune(int32) (int, error)
    pkg strings, method (*Builder) WriteString(string) (int, error)
    pkg strings, type Builder struct
    pkg syscall (freebsd-386), const SYS_UTIMENSAT = 547
    pkg syscall (freebsd-386), const SYS_UTIMENSAT ideal-int
    pkg syscall (freebsd-386-cgo), const SYS_UTIMENSAT = 547
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  4. internal/s3select/csv/reader_contrib_test.go

    				FieldDelimiter: []rune(c.fieldDelimiter)[0],
    				Quote:          '"',
    				QuoteEscape:    '"',
    				AlwaysQuote:    false,
    			}
    			record.WriteCSV(&result, opts)
    			result.Truncate(result.Len() - 1)
    			result.WriteString(c.recordDelimiter)
    		}
    		r.Close()
    		if err != io.EOF {
    			t.Fatalf("Case %d failed with %s", i, err)
    		}
    
    		if result.String() != c.content {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    func (z dataUsageHashMap) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteArrayHeader(uint32(len(z)))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0004 := range z {
    		err = en.WriteString(zb0004)
    		if err != nil {
    			err = msgp.WrapError(err, zb0004)
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    	dst.Reset()
    	added := 0
    	for _, e := range elem {
    		if added > 0 || e != "" {
    			if added > 0 {
    				dst.WriteByte(SlashSeparatorChar)
    			}
    			dst.WriteString(e)
    			added += len(e)
    		}
    	}
    
    	if pathNeedsClean(dst.Bytes()) {
    		s := path.Clean(dst.String())
    		if trailingSlash {
    			return s + SlashSeparator
    		}
    		return s
    	}
    	if trailingSlash {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    	filePath := pathJoin(storage.String(), volName, fileName)
    	f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0o644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Replace first 256 with 'a'.
    	if _, err := f.WriteString(strings.Repeat("a", 256)); err != nil {
    		t.Fatal(err)
    	}
    	f.Close()
    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, nil, shardSize); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg bufio, method (*Writer) Write([]uint8) (int, error)
    pkg bufio, method (*Writer) WriteByte(uint8) error
    pkg bufio, method (*Writer) WriteRune(int32) (int, error)
    pkg bufio, method (*Writer) WriteString(string) (int, error)
    pkg bufio, method (ReadWriter) Available() int
    pkg bufio, method (ReadWriter) Flush() error
    pkg bufio, method (ReadWriter) Peek(int) ([]uint8, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. api/go1.14.txt

    pkg hash/maphash, method (*Hash) Sum64() uint64
    pkg hash/maphash, method (*Hash) Write([]uint8) (int, error)
    pkg hash/maphash, method (*Hash) WriteByte(uint8) error
    pkg hash/maphash, method (*Hash) WriteString(string) (int, error)
    pkg hash/maphash, type Hash struct
    pkg hash/maphash, type Seed struct
    pkg log, const Lmsgprefix = 64
    pkg log, const Lmsgprefix ideal-int
    pkg math, func FMA(float64, float64, float64) float64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
Back to top