mirror of
https://gitee.com/johng/gf
synced 2026-07-04 21:03:13 +08:00
change gitee.com/johng/gf -> github.com/gogf/gf
This commit is contained in:
@ -6,7 +6,7 @@ LZ4 compression and decompression in pure Go.
|
||||
## Usage
|
||||
|
||||
```go
|
||||
import "gitee.com/johng/gf/third/github.com/pierrec/lz4"
|
||||
import "github.com/gogf/gf/third/github.com/pierrec/lz4"
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
@ -6,7 +6,7 @@ import (
|
||||
"io/ioutil"
|
||||
"testing"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4"
|
||||
)
|
||||
|
||||
func BenchmarkCompress(b *testing.B) {
|
||||
|
||||
@ -8,7 +8,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4"
|
||||
)
|
||||
|
||||
type testcase struct {
|
||||
|
||||
@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"io/ioutil"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4"
|
||||
)
|
||||
|
||||
// lz4.Reader fuzz function
|
||||
|
||||
@ -6,7 +6,7 @@ import (
|
||||
"hash/fnv"
|
||||
"testing"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/xxHash/xxHash32"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/xxHash/xxHash32"
|
||||
)
|
||||
|
||||
type test struct {
|
||||
|
||||
@ -13,8 +13,8 @@ import (
|
||||
"runtime"
|
||||
"strings"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4"
|
||||
"gitee.com/johng/gf/third/github.com/pkg/profile"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4"
|
||||
"github.com/gogf/gf/third/github.com/pkg/profile"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@ -6,7 +6,7 @@ import (
|
||||
"io"
|
||||
"io/ioutil"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4/internal/xxh32"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4/internal/xxh32"
|
||||
)
|
||||
|
||||
// Reader implements the LZ4 frame decoder.
|
||||
|
||||
@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4"
|
||||
)
|
||||
|
||||
func TestReader(t *testing.T) {
|
||||
|
||||
@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4/internal/xxh32"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4/internal/xxh32"
|
||||
)
|
||||
|
||||
// Writer implements the LZ4 frame encoder.
|
||||
|
||||
@ -8,7 +8,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/pierrec/lz4"
|
||||
"github.com/gogf/gf/third/github.com/pierrec/lz4"
|
||||
)
|
||||
|
||||
func TestWriter(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user