SYMBOL INDEX (288 symbols across 42 files) FILE: analysis_fixed.go function analyzeFixed (line 20) | func analyzeFixed(sf *frame.Subframe, bps uint) { function computeFixedResiduals (line 54) | func computeFixedResiduals(samples []int32, order int) []int32 { function chooseRice (line 94) | func chooseRice(residuals []int32) uint { function costFixed (line 116) | func costFixed(order int, bps uint, residuals []int32, k uint) int { function analyzeSubframe (line 136) | func analyzeSubframe(sf *frame.Subframe, bps uint) { FILE: enc_benchmark_test.go function BenchmarkEncodeSyntheticAudio (line 15) | func BenchmarkEncodeSyntheticAudio(b *testing.B) { FILE: enc_test.go function TestEncodeRoundTrip (line 144) | func TestEncodeRoundTrip(t *testing.T) { function TestEncodeComment (line 195) | func TestEncodeComment(t *testing.T) { function TestEncodeAnalysisFixed (line 255) | func TestEncodeAnalysisFixed(t *testing.T) { function getSamples (line 338) | func getSamples(stream *flac.Stream) ([]int32, error) { function exists (line 356) | func exists(path string) bool { FILE: encode.go type Encoder (line 14) | type Encoder struct method Close (line 78) | func (enc *Encoder) Close() error { method EnablePredictionAnalysis (line 117) | func (enc *Encoder) EnablePredictionAnalysis(enable bool) { function NewEncoder (line 39) | func NewEncoder(w io.Writer, info *meta.StreamInfo, blocks ...*meta.Bloc... FILE: encode_frame.go method WriteFrame (line 20) | func (enc *Encoder) WriteFrame(f *frame.Frame) error { method encodeFrameHeader (line 122) | func (enc *Encoder) encodeFrameHeader(w io.Writer, hdr frame.Header) err... function encodeFrameHeaderBlockSize (line 220) | func encodeFrameHeaderBlockSize(bw *bitio.Writer, blockSize uint16) (nbl... function encodeFrameHeaderSampleRate (line 261) | func encodeFrameHeaderSampleRate(bw *bitio.Writer, sampleRate uint32) (s... function encodeFrameHeaderChannels (line 348) | func encodeFrameHeaderChannels(bw *bitio.Writer, channels frame.Channels... function encodeFrameHeaderBitsPerSample (line 400) | func encodeFrameHeaderBitsPerSample(bw *bitio.Writer, bps uint8) error { FILE: encode_meta.go function encodeBlock (line 17) | func encodeBlock(bw *bitio.Writer, block *meta.Block, last bool) error { function encodeEmptyBlock (line 46) | func encodeEmptyBlock(bw *bitio.Writer, typ meta.Type, last bool) error { function encodeBlockHeader (line 62) | func encodeBlockHeader(bw *bitio.Writer, hdr *meta.Header) error { function encodeStreamInfo (line 81) | func encodeStreamInfo(bw *bitio.Writer, info *meta.StreamInfo, last bool... function encodePadding (line 136) | func encodePadding(bw *bitio.Writer, length int64, last bool) error { function encodeApplication (line 156) | func encodeApplication(bw *bitio.Writer, app *meta.Application, last boo... function encodeSeekTable (line 183) | func encodeSeekTable(bw *bitio.Writer, table *meta.SeekTable, last bool)... function encodeVorbisComment (line 207) | func encodeVorbisComment(bw *bitio.Writer, comment *meta.VorbisComment, ... function encodeCueSheet (line 257) | func encodeCueSheet(bw *bitio.Writer, cs *meta.CueSheet, last bool) error { function encodePicture (line 361) | func encodePicture(bw *bitio.Writer, pic *meta.Picture, last bool) error { FILE: encode_subframe.go function encodeSubframe (line 15) | func encodeSubframe(bw *bitio.Writer, hdr frame.Header, subframe *frame.... function encodeSubframeHeader (line 64) | func encodeSubframeHeader(bw *bitio.Writer, subHdr frame.SubHeader) error { function encodeConstantSamples (line 116) | func encodeConstantSamples(bw *bitio.Writer, hdr frame.Header, subframe ... function encodeVerbatimSamples (line 135) | func encodeVerbatimSamples(bw *bitio.Writer, hdr frame.Header, subframe ... function encodeFixedSamples (line 153) | func encodeFixedSamples(bw *bitio.Writer, hdr frame.Header, subframe *fr... function encodeFIRSamples (line 182) | func encodeFIRSamples(bw *bitio.Writer, hdr frame.Header, subframe *fram... function encodeResiduals (line 228) | func encodeResiduals(bw *bitio.Writer, subframe *frame.Subframe, residua... function encodeRicePart (line 253) | func encodeRicePart(bw *bitio.Writer, subframe *frame.Subframe, paramSiz... function encodeRiceResidual (line 323) | func encodeRiceResidual(bw *bitio.Writer, k uint, residual int32) error { function getLPCResiduals (line 349) | func getLPCResiduals(subframe *frame.Subframe, coeffs []int32, shift int... FILE: example_test.go function ExampleParseFile (line 13) | func ExampleParseFile() { function ExampleOpen (line 32) | func ExampleOpen() { FILE: flac.go type Stream (line 46) | type Stream struct method parseStreamInfo (line 155) | func (stream *Stream) parseStreamInfo() (block *meta.Block, err error) { method skipID3v2 (line 193) | func (stream *Stream) skipID3v2() error { method Close (line 292) | func (stream *Stream) Close() error { method Next (line 304) | func (stream *Stream) Next() (f *frame.Frame, err error) { method ParseNext (line 310) | func (stream *Stream) ParseNext() (f *frame.Frame, err error) { method Seek (line 317) | func (stream *Stream) Seek(sampleNum uint64) (uint64, error) { method searchFromStart (line 364) | func (stream *Stream) searchFromStart(sampleNum uint64) (meta.SeekPoin... method makeSeekTable (line 380) | func (stream *Stream) makeSeekTable() (err error) { function New (line 73) | func New(r io.Reader) (stream *Stream, err error) { function NewSeek (line 99) | func NewSeek(rs io.ReadSeeker) (stream *Stream, err error) { constant defaultSeekTableSize (line 148) | defaultSeekTableSize = 100 function Parse (line 218) | func Parse(r io.Reader) (stream *Stream, err error) { function Open (line 256) | func Open(path string) (stream *Stream, err error) { function ParseFile (line 278) | func ParseFile(path string) (stream *Stream, err error) { FILE: flac_test.go function TestSkipID3v2 (line 12) | func TestSkipID3v2(t *testing.T) { function TestSeek (line 18) | func TestSeek(t *testing.T) { function TestDecode (line 84) | func TestDecode(t *testing.T) { FILE: frame/frame.go type Frame (line 49) | type Frame struct method Parse (line 104) | func (frame *Frame) Parse() error { method Hash (line 153) | func (frame *Frame) Hash(md5sum hash.Hash) { method parseHeader (line 219) | func (frame *Frame) parseHeader() error { method parseBitsPerSample (line 324) | func (frame *Frame) parseBitsPerSample(br *bits.Reader) error { method parseChannels (line 367) | func (frame *Frame) parseChannels(br *bits.Reader) error { method parseBlockSize (line 398) | func (frame *Frame) parseBlockSize(br *bits.Reader, blockSize uint64) ... method parseSampleRate (line 439) | func (frame *Frame) parseSampleRate(br *bits.Reader, sampleRate uint64... method Correlate (line 586) | func (frame *Frame) Correlate() { method Decorrelate (line 633) | func (frame *Frame) Decorrelate() { method SampleNumber (line 678) | func (frame *Frame) SampleNumber() uint64 { function New (line 69) | func New(r io.Reader) (frame *Frame, err error) { function Parse (line 87) | func Parse(r io.Reader) (frame *Frame, err error) { type Header (line 191) | type Header struct type Channels (line 527) | type Channels method Count (line 575) | func (channels Channels) Count() int { constant ChannelsMono (line 545) | ChannelsMono Channels = iota constant ChannelsLR (line 546) | ChannelsLR constant ChannelsLRC (line 547) | ChannelsLRC constant ChannelsLRLsRs (line 548) | ChannelsLRLsRs constant ChannelsLRCLsRs (line 549) | ChannelsLRCLsRs constant ChannelsLRCLfeLsRs (line 550) | ChannelsLRCLfeLsRs constant ChannelsLRCLfeCsSlSr (line 551) | ChannelsLRCLfeCsSlSr constant ChannelsLRCLfeLsRsSlSr (line 552) | ChannelsLRCLfeLsRsSlSr constant ChannelsLeftSide (line 553) | ChannelsLeftSide constant ChannelsSideRight (line 554) | ChannelsSideRight constant ChannelsMidSide (line 555) | ChannelsMidSide function unexpected (line 687) | func unexpected(err error) error { FILE: frame/frame_test.go function TestFrameHash (line 97) | func TestFrameHash(t *testing.T) { function BenchmarkFrameParse (line 136) | func BenchmarkFrameParse(b *testing.B) { function BenchmarkFrameHash (line 161) | func BenchmarkFrameHash(b *testing.B) { FILE: frame/subframe.go type Subframe (line 14) | type Subframe struct method parseHeader (line 105) | func (subframe *Subframe) parseHeader(br *bits.Reader) error { method decodeConstant (line 234) | func (subframe *Subframe) decodeConstant(br *bits.Reader, bps uint) er... method decodeVerbatim (line 253) | func (subframe *Subframe) decodeVerbatim(br *bits.Reader, bps uint) er... method decodeFixed (line 288) | func (subframe *Subframe) decodeFixed(br *bits.Reader, bps uint) error { method decodeFIR (line 316) | func (subframe *Subframe) decodeFIR(br *bits.Reader, bps uint) error { method decodeResiduals (line 385) | func (subframe *Subframe) decodeResiduals(br *bits.Reader) error { method decodeRicePart (line 413) | func (subframe *Subframe) decodeRicePart(br *bits.Reader, paramSize ui... method decodeRiceResidual (line 494) | func (subframe *Subframe) decodeRiceResidual(br *bits.Reader, k uint) ... method decodeLPC (line 516) | func (subframe *Subframe) decodeLPC(coeffs []int32, shift int32) error { method parseSubframe (line 30) | func (frame *Frame) parseSubframe(br *bits.Reader, bps uint) (subframe *... type SubHeader (line 63) | type SubHeader struct type RiceSubframe (line 87) | type RiceSubframe struct type RicePartition (line 97) | type RicePartition struct type Pred (line 184) | type Pred constant PredConstant (line 193) | PredConstant Pred = iota constant PredVerbatim (line 197) | PredVerbatim constant PredFixed (line 206) | PredFixed constant PredFIR (line 215) | PredFIR function signExtend (line 220) | func signExtend(x uint64, n uint) int32 { type ResidualCodingMethod (line 371) | type ResidualCodingMethod constant ResidualCodingMethodRice1 (line 376) | ResidualCodingMethodRice1 ResidualCodingMethod = 0 constant ResidualCodingMethodRice2 (line 378) | ResidualCodingMethodRice2 ResidualCodingMethod = 1 FILE: internal/bits/reader.go type Reader (line 11) | type Reader struct method Read (line 29) | func (br *Reader) Read(n uint) (x uint64, err error) { function NewReader (line 23) | func NewReader(r io.Reader) *Reader { FILE: internal/bits/reader_test.go function TestRead (line 16) | func TestRead(t *testing.T) { function TestReadEOF (line 607) | func TestReadEOF(t *testing.T) { function BenchmarkReadAlign1 (line 629) | func BenchmarkReadAlign1(b *testing.B) { function BenchmarkReadAlign32 (line 633) | func BenchmarkReadAlign32(b *testing.B) { function BenchmarkReadAlign64 (line 637) | func BenchmarkReadAlign64(b *testing.B) { function benchmarkReads (line 641) | func benchmarkReads(b *testing.B, chunk, align int) { function prepareBenchmark (line 657) | func prepareBenchmark(size, chunk, align int) ([]byte, []uint, []uint64,... function getNumBits (line 675) | func getNumBits(read, max, chunk, align int) int { FILE: internal/bits/twocomp.go function IntN (line 17) | func IntN(x uint64, n uint) int64 { FILE: internal/bits/twocomp_test.go function TestIntN (line 5) | func TestIntN(t *testing.T) { FILE: internal/bits/unary.go method ReadUnary (line 19) | func (br *Reader) ReadUnary() (x uint64, err error) { function WriteUnary (line 45) | func WriteUnary(bw *bitio.Writer, x uint64) error { FILE: internal/bits/unary_test.go function TestUnary (line 11) | func TestUnary(t *testing.T) { FILE: internal/bits/zigzag.go function DecodeZigZag (line 17) | func DecodeZigZag(x uint32) int32 { function EncodeZigZag (line 35) | func EncodeZigZag(x int32) uint32 { FILE: internal/bits/zigzag_test.go function TestDecodeZigZag (line 7) | func TestDecodeZigZag(t *testing.T) { function TestEncodeZigZag (line 29) | func TestEncodeZigZag(t *testing.T) { FILE: internal/bufseekio/readseeker.go constant defaultBufSize (line 9) | defaultBufSize = 4096 type ReadSeeker (line 15) | type ReadSeeker struct method reset (line 49) | func (b *ReadSeeker) reset(buf []byte, r io.ReadSeeker) { method readErr (line 56) | func (b *ReadSeeker) readErr() error { method Read (line 69) | func (b *ReadSeeker) Read(p []byte) (n int, err error) { method buffered (line 114) | func (b *ReadSeeker) buffered() int { return b.w - b.r } method Seek (line 116) | func (b *ReadSeeker) Seek(offset int64, whence int) (int64, error) { method seek (line 141) | func (b *ReadSeeker) seek(offset int64, whence int) (int64, error) { method position (line 150) | func (b *ReadSeeker) position() int64 { constant minReadBufferSize (line 23) | minReadBufferSize = 16 function NewReadSeekerSize (line 28) | func NewReadSeekerSize(rd io.ReadSeeker, size int) *ReadSeeker { function NewReadSeeker (line 43) | func NewReadSeeker(rd io.ReadSeeker) *ReadSeeker { FILE: internal/bufseekio/readseeker_test.go function TestNewReadSeekerSize (line 11) | func TestNewReadSeekerSize(t *testing.T) { function TestNewReadSeeker (line 31) | func TestNewReadSeeker(t *testing.T) { function TestReadSeeker_Read (line 38) | func TestReadSeeker_Read(t *testing.T) { type readAndError (line 131) | type readAndError struct method Read (line 135) | func (r *readAndError) Read(p []byte) (n int, err error) { method Seek (line 142) | func (r *readAndError) Seek(offset int64, whence int) (int64, error) { function TestReadSeeker_Seek (line 146) | func TestReadSeeker_Seek(t *testing.T) { type seekRecord (line 236) | type seekRecord struct type seekRecorder (line 241) | type seekRecorder struct method Read (line 246) | func (r *seekRecorder) Read(p []byte) (n int, err error) { method Seek (line 250) | func (r *seekRecorder) Seek(offset int64, whence int) (int64, error) { method assertSeeked (line 255) | func (r *seekRecorder) assertSeeked(t *testing.T, expected []seekRecor... method reset (line 264) | func (r *seekRecorder) reset() { FILE: internal/hashutil/crc16/crc16.go constant Size (line 13) | Size = 2 constant IBM (line 17) | IBM = 0x8005 type Table (line 22) | type Table function MakeTable (line 28) | func MakeTable(poly uint16) (table *Table) { function makeTable (line 37) | func makeTable(poly uint16) (table *Table) { type digest (line 54) | type digest struct method Size (line 71) | func (d *digest) Size() int { method BlockSize (line 75) | func (d *digest) BlockSize() int { method Reset (line 79) | func (d *digest) Reset() { method Write (line 91) | func (d *digest) Write(p []byte) (n int, err error) { method Sum16 (line 97) | func (d *digest) Sum16() uint16 { method Sum (line 101) | func (d *digest) Sum(in []byte) []byte { function New (line 61) | func New(table *Table) hashutil.Hash16 { function NewIBM (line 67) | func NewIBM() hashutil.Hash16 { function Update (line 84) | func Update(crc uint16, table *Table, p []byte) uint16 { function Checksum (line 108) | func Checksum(data []byte, table *Table) uint16 { function ChecksumIBM (line 113) | func ChecksumIBM(data []byte) uint16 { FILE: internal/hashutil/crc16/crc16_test.go type test (line 8) | type test struct function TestCrc16IBM (line 48) | func TestCrc16IBM(t *testing.T) { function BenchmarkNewIBM (line 62) | func BenchmarkNewIBM(b *testing.B) { function BenchmarkCrc16_1K (line 68) | func BenchmarkCrc16_1K(b *testing.B) { function BenchmarkCrc16_2K (line 72) | func BenchmarkCrc16_2K(b *testing.B) { function BenchmarkCrc16_4K (line 76) | func BenchmarkCrc16_4K(b *testing.B) { function BenchmarkCrc16_8K (line 80) | func BenchmarkCrc16_8K(b *testing.B) { function BenchmarkCrc16_16K (line 84) | func BenchmarkCrc16_16K(b *testing.B) { function benchmarkCrc16 (line 88) | func benchmarkCrc16(b *testing.B, count int64) { FILE: internal/hashutil/crc8/crc8.go constant Size (line 13) | Size = 1 constant ATM (line 17) | ATM = 0x07 type Table (line 22) | type Table function MakeTable (line 28) | func MakeTable(poly uint8) (table *Table) { function makeTable (line 37) | func makeTable(poly uint8) (table *Table) { type digest (line 54) | type digest struct method Size (line 71) | func (d *digest) Size() int { method BlockSize (line 75) | func (d *digest) BlockSize() int { method Reset (line 79) | func (d *digest) Reset() { method Write (line 91) | func (d *digest) Write(p []byte) (n int, err error) { method Sum8 (line 97) | func (d *digest) Sum8() uint8 { method Sum (line 101) | func (d *digest) Sum(in []byte) []byte { function New (line 61) | func New(table *Table) hashutil.Hash8 { function NewATM (line 67) | func NewATM() hashutil.Hash8 { function Update (line 84) | func Update(crc uint8, table *Table, p []byte) uint8 { function Checksum (line 107) | func Checksum(data []byte, table *Table) uint8 { function ChecksumATM (line 112) | func ChecksumATM(data []byte) uint8 { FILE: internal/hashutil/crc8/crc8_test.go type test (line 8) | type test struct function TestCrc8ATM (line 48) | func TestCrc8ATM(t *testing.T) { function BenchmarkNewATM (line 62) | func BenchmarkNewATM(b *testing.B) { function BenchmarkCrc8_1K (line 68) | func BenchmarkCrc8_1K(b *testing.B) { function BenchmarkCrc8_2K (line 72) | func BenchmarkCrc8_2K(b *testing.B) { function BenchmarkCrc8_4K (line 76) | func BenchmarkCrc8_4K(b *testing.B) { function BenchmarkCrc8_8K (line 80) | func BenchmarkCrc8_8K(b *testing.B) { function BenchmarkCrc8_16K (line 84) | func BenchmarkCrc8_16K(b *testing.B) { function benchmarkCrc8 (line 88) | func benchmarkCrc8(b *testing.B, count int64) { FILE: internal/hashutil/hashutil.go type Hash8 (line 7) | type Hash8 interface type Hash16 (line 14) | type Hash16 interface FILE: internal/ioutilx/byte.go function ReadByte (line 9) | func ReadByte(r io.Reader) (byte, error) { function WriteByte (line 18) | func WriteByte(w io.Writer, b byte) error { FILE: internal/ioutilx/zero.go type zero (line 7) | type zero struct method Read (line 12) | func (zero) Read(b []byte) (n int, err error) { FILE: internal/utf8/decode.go constant tx (line 13) | tx = 0x80 constant t2 (line 14) | t2 = 0xC0 constant t3 (line 15) | t3 = 0xE0 constant t4 (line 16) | t4 = 0xF0 constant t5 (line 17) | t5 = 0xF8 constant t6 (line 18) | t6 = 0xFC constant t7 (line 19) | t7 = 0xFE constant t8 (line 20) | t8 = 0xFF constant maskx (line 22) | maskx = 0x3F constant mask2 (line 23) | mask2 = 0x1F constant mask3 (line 24) | mask3 = 0x0F constant mask4 (line 25) | mask4 = 0x07 constant mask5 (line 26) | mask5 = 0x03 constant mask6 (line 27) | mask6 = 0x01 constant rune1Max (line 29) | rune1Max = 1<<7 - 1 constant rune2Max (line 30) | rune2Max = 1<<11 - 1 constant rune3Max (line 31) | rune3Max = 1<<16 - 1 constant rune4Max (line 32) | rune4Max = 1<<21 - 1 constant rune5Max (line 33) | rune5Max = 1<<26 - 1 constant rune6Max (line 34) | rune6Max = 1<<31 - 1 constant rune7Max (line 35) | rune7Max = 1<<36 - 1 function Decode (line 61) | func Decode(r io.Reader) (x uint64, err error) { FILE: internal/utf8/encode.go function Encode (line 11) | func Encode(w io.Writer, x uint64) error { FILE: meta/application.go type Application (line 11) | type Application struct method parseApplication (line 21) | func (block *Block) parseApplication() error { FILE: meta/cuesheet.go type CueSheet (line 15) | type CueSheet struct method parseCueSheet (line 30) | func (block *Block) parseCueSheet() error { method parseTrack (line 94) | func (block *Block) parseTrack(cs *CueSheet, i int, uniq map[uint8]struc... function stringFromSZ (line 205) | func stringFromSZ(szStr string) string { type CueSheetTrack (line 215) | type CueSheetTrack struct type CueSheetTrackIndex (line 236) | type CueSheetTrackIndex struct FILE: meta/meta.go type Block (line 42) | type Block struct method Parse (line 87) | func (block *Block) Parse() error { method Skip (line 111) | func (block *Block) Skip() error { method parseHeader (line 133) | func (block *Block) parseHeader(r io.Reader) error { function New (line 57) | func New(r io.Reader) (block *Block, err error) { function Parse (line 68) | func Parse(r io.Reader) (block *Block, err error) { type Header (line 123) | type Header struct type Type (line 170) | type Type method String (line 183) | func (t Type) String() string { constant TypeStreamInfo (line 174) | TypeStreamInfo Type = 0 constant TypePadding (line 175) | TypePadding Type = 1 constant TypeApplication (line 176) | TypeApplication Type = 2 constant TypeSeekTable (line 177) | TypeSeekTable Type = 3 constant TypeVorbisComment (line 178) | TypeVorbisComment Type = 4 constant TypeCueSheet (line 179) | TypeCueSheet Type = 5 constant TypePicture (line 180) | TypePicture Type = 6 function unexpected (line 206) | func unexpected(err error) error { FILE: meta/meta_test.go function TestParseBlocks (line 199) | func TestParseBlocks(t *testing.T) { function TestParsePicture (line 231) | func TestParsePicture(t *testing.T) { function TestMissingValue (line 256) | func TestMissingValue(t *testing.T) { function TestVorbisCommentTooManyTags (line 288) | func TestVorbisCommentTooManyTags(t *testing.T) { function TestVorbisCommentTooManyTagsOOM (line 297) | func TestVorbisCommentTooManyTagsOOM(t *testing.T) { FILE: meta/padding.go method verifyPadding (line 13) | func (block *Block) verifyPadding() error { type zeros (line 26) | type zeros struct method Read (line 31) | func (zr zeros) Read(p []byte) (n int, err error) { FILE: meta/picture.go constant maxPictureDataSize (line 9) | maxPictureDataSize = 128 << 20 type Picture (line 14) | type Picture struct method parsePicture (line 57) | func (block *Block) parsePicture() error { FILE: meta/reader.go function readString (line 10) | func readString(r io.Reader, n int) (string, error) { FILE: meta/seektable.go constant maxSeekPoints (line 9) | maxSeekPoints = 1000000 type SeekTable (line 14) | type SeekTable struct method parseSeekTable (line 20) | func (block *Block) parseSeekTable() error { type SeekPoint (line 59) | type SeekPoint struct constant PlaceholderPoint (line 72) | PlaceholderPoint = 0xFFFFFFFFFFFFFFFF FILE: meta/streaminfo.go type StreamInfo (line 17) | type StreamInfo struct method parseStreamInfo (line 43) | func (block *Block) parseStreamInfo() error { FILE: meta/vorbiscomment.go constant maxTags (line 9) | maxTags = 50000 type VorbisComment (line 14) | type VorbisComment struct method parseVorbisComment (line 23) | func (block *Block) parseVorbisComment() (err error) {