Lines Matching refs:head
17 head UOffsetT
31 b.head = UOffsetT(initialSize)
53 b.head = UOffsetT(len(b.Bytes))
64 return b.Bytes[b.Head():]
175 b.head = UOffsetT(objectStart)
179 WriteSOffsetT(b.Bytes[b.head:],
217 // Head gives the start of useful data in the underlying byte buffer.
219 func (b *Builder) Head() UOffsetT {
220 return b.head
225 return UOffsetT(len(b.Bytes)) - b.head
247 alignSize := (^(len(b.Bytes) - int(b.Head()) + additionalBytes)) + 1
251 for int(b.head) <= alignSize+size+additionalBytes {
254 b.head += UOffsetT(len(b.Bytes) - oldBufSize)
313 b.head -= l
314 copy(b.Bytes[b.head:b.head+l], s)
329 b.head -= l
330 copy(b.Bytes[b.head:b.head+l], s)
344 b.head -= l
345 copy(b.Bytes[b.head:b.head+l], v)
661 b.head -= UOffsetT(SizeBool)
662 WriteBool(b.Bytes[b.head:], x)
667 b.head -= UOffsetT(SizeUint8)
668 WriteUint8(b.Bytes[b.head:], x)
673 b.head -= UOffsetT(SizeUint16)
674 WriteUint16(b.Bytes[b.head:], x)
679 b.head -= UOffsetT(SizeUint32)
680 WriteUint32(b.Bytes[b.head:], x)
685 b.head -= UOffsetT(SizeUint64)
686 WriteUint64(b.Bytes[b.head:], x)
691 b.head -= UOffsetT(SizeInt8)
692 WriteInt8(b.Bytes[b.head:], x)
697 b.head -= UOffsetT(SizeInt16)
698 WriteInt16(b.Bytes[b.head:], x)
703 b.head -= UOffsetT(SizeInt32)
704 WriteInt32(b.Bytes[b.head:], x)
709 b.head -= UOffsetT(SizeInt64)
710 WriteInt64(b.Bytes[b.head:], x)
715 b.head -= UOffsetT(SizeFloat32)
716 WriteFloat32(b.Bytes[b.head:], x)
721 b.head -= UOffsetT(SizeFloat64)
722 WriteFloat64(b.Bytes[b.head:], x)
727 b.head -= UOffsetT(SizeByte)
728 WriteByte(b.Bytes[b.head:], x)
733 b.head -= UOffsetT(SizeVOffsetT)
734 WriteVOffsetT(b.Bytes[b.head:], x)
739 b.head -= UOffsetT(SizeSOffsetT)
740 WriteSOffsetT(b.Bytes[b.head:], x)
745 b.head -= UOffsetT(SizeUOffsetT)
746 WriteUOffsetT(b.Bytes[b.head:], x)