Explorar el Código

Bingen streaming support codecs generated.

Matt Bolt hace 5 meses
padre
commit
5c82605ab1
Se han modificado 2 ficheros con 712 adiciones y 82 borrados
  1. 710 80
      core/pkg/opencost/opencost_codecs.go
  2. 2 2
      core/pkg/util/buffer_test.go

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 710 - 80
core/pkg/opencost/opencost_codecs.go


+ 2 - 2
core/pkg/util/buffer_test.go

@@ -289,7 +289,7 @@ type randomByteReader struct {
 	pos   int
 }
 
-func newSingleByteReader(bytes []byte) *randomByteReader {
+func newRandomByteReader(bytes []byte) *randomByteReader {
 	return &randomByteReader{
 		bytes: bytes,
 		pos:   0,
@@ -331,7 +331,7 @@ func TestBufferReaderSupport(t *testing.T) {
 	buf.WriteInt16(44)
 	buf.WriteFloat32(float32(5.0))
 
-	reader := newSingleByteReader(buf.Bytes())
+	reader := newRandomByteReader(buf.Bytes())
 	readerBuff := NewBufferFromReader(reader)
 
 	b := readerBuff.ReadBool()

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio