mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
Rename default github.com branch s/master/main/
This commit is contained in:
1 parent
0e76de7c65
commit
2f2bbc6ab0
21 files changed
+49
-49
No files matched your search
@@ -18,7 +18,7 @@
|
||||
// common dictionary format.
|
||||
//
|
||||
// See
|
||||
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md#common-dictionary-format
|
||||
// https://github.com/google/wuffs/blob/main/doc/spec/rac-spec.md#common-dictionary-format
|
||||
package racdict
|
||||
|
||||
import (
|
||||
|
||||
@@ -184,7 +184,7 @@ func Example_indexLocationAtStart() {
|
||||
fmt.Printf("[%2d, %2d): ", chunk.DRange[0], chunk.DRange[1])
|
||||
|
||||
// Parse the RAC+Zlib secondary data. For details, see
|
||||
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md#rac--zlib
|
||||
// https://github.com/google/wuffs/blob/main/doc/spec/rac-spec.md#rac--zlib
|
||||
dict := []byte(nil)
|
||||
if secondary := encoded[chunk.CSecondary[0]:chunk.CSecondary[1]]; len(secondary) > 0 {
|
||||
if len(secondary) < 8 {
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
// sibling "raczlib" package.
|
||||
//
|
||||
// The RAC specification is at
|
||||
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md
|
||||
// https://github.com/google/wuffs/blob/main/doc/spec/rac-spec.md
|
||||
package rac
|
||||
|
||||
import (
|
||||
|
||||
+1
-1
@@ -318,7 +318,7 @@ func (r *Reader) transitionFromStateBToStateC() error {
|
||||
|
||||
// readImplicitZeroes serves the implicit NUL bytes after a chunk's explicit
|
||||
// data. As
|
||||
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md#decompressing-a-leaf-node
|
||||
// https://github.com/google/wuffs/blob/main/doc/spec/rac-spec.md#decompressing-a-leaf-node
|
||||
// says, "The Codec may produce fewer bytes than the DRange size. In that case,
|
||||
// the remaining bytes (in DSpace) are set to NUL (memset to zero)."
|
||||
func (r *Reader) readImplicitZeroes(p []byte) (int, error) {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
// the LZ4 compression codec.
|
||||
//
|
||||
// The RAC specification is at
|
||||
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md
|
||||
// https://github.com/google/wuffs/blob/main/doc/spec/rac-spec.md
|
||||
package raclz4
|
||||
|
||||
import (
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
// with the Zlib compression codec.
|
||||
//
|
||||
// The RAC specification is at
|
||||
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md
|
||||
// https://github.com/google/wuffs/blob/main/doc/spec/rac-spec.md
|
||||
package raczlib
|
||||
|
||||
import (
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
// with the Zstd compression codec.
|
||||
//
|
||||
// The RAC specification is at
|
||||
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md
|
||||
// https://github.com/google/wuffs/blob/main/doc/spec/rac-spec.md
|
||||
package raczstd
|
||||
|
||||
import (
|
||||
|
||||
Reference in new issue
Block a user