Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for xxhashv2 (0.54 sec)

  1. pilot/pkg/xds/sds.go

    // limitations under the License.
    
    package xds
    
    import (
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    
    	xxhashv2 "github.com/cespare/xxhash/v2"
    	cryptomb "github.com/envoyproxy/go-control-plane/contrib/envoy/extensions/private_key_providers/cryptomb/v3alpha"
    	qat "github.com/envoyproxy/go-control-plane/contrib/envoy/extensions/private_key_providers/qat/v3alpha"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/internal/zstd/xxhash.go

    )
    
    // xxhash64 is the state of a xxHash-64 checksum.
    type xxhash64 struct {
    	len uint64    // total length hashed
    	v   [4]uint64 // accumulators
    	buf [32]byte  // buffer
    	cnt int       // number of bytes in buffer
    }
    
    // reset discards the current state and prepares to compute a new hash.
    // We assume a seed of 0 since that is what zstd uses.
    func (xh *xxhash64) reset() {
    	xh.len = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/internal/zstd/xxhash_test.go

    }{
    	{
    		"hello, world",
    		0xb33a384e6d1b1242,
    	},
    	{
    		"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789$",
    		0x1032d841e824f998,
    	},
    }
    
    func TestXXHash(t *testing.T) {
    	var xh xxhash64
    	for i, test := range xxHashTests {
    		xh.reset()
    		xh.update([]byte(test.data))
    		if got := xh.digest(); got != test.hash {
    			t.Errorf("#%d: got %#x want %#x", i, got, test.hash)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:34:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. pkg/util/hash/hash.go

    package hash
    
    import (
    	"encoding/hex"
    
    	"github.com/cespare/xxhash/v2"
    )
    
    type Hash interface {
    	Write(p []byte) (n int)
    	WriteString(s string) (n int)
    	Sum() string
    	Sum64() uint64
    }
    
    type instance struct {
    	hash *xxhash.Digest
    }
    
    var _ Hash = &instance{}
    
    func New() Hash {
    	return &instance{
    		hash: xxhash.New(),
    	}
    }
    
    // Write wraps the Hash.Write function call
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 20:24:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. LICENSES/vendor/github.com/cespare/xxhash/v2/LICENSE

    = vendor/github.com/cespare/xxhash/v2 licensed under: =
    
    Copyright (c) 2016 Caleb Spare
    
    MIT License
    
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 19 01:37:10 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  6. docs/debugging/inspect/go.sum

    github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
    github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
    github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
    github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
    github.com/klauspost/compress v1.17.8 h1:YcnTYrq7MikUT7k0Yb5eceMmALQPYBW/Xltxn0NAMnU=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 09:27:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. docs/debugging/inspect/go.mod

    	github.com/klauspost/filepathx v1.1.1
    	github.com/minio/colorjson v1.0.7
    	github.com/minio/madmin-go/v3 v3.0.52
    	github.com/secure-io/sio-go v0.3.1
    	github.com/tinylib/msgp v1.1.9
    )
    
    require (
    	github.com/cespare/xxhash/v2 v2.3.0 // indirect
    	github.com/fatih/color v1.17.0 // indirect
    	github.com/mattn/go-colorable v0.1.13 // indirect
    	github.com/mattn/go-isatty v0.0.20 // indirect
    	github.com/minio/pkg/v3 v3.0.1 // indirect
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 09:27:44 UTC 2024
    - 668 bytes
    - Viewed (0)
  8. licenses/github.com/klauspost/compress/internal/lz4ref/LICENSE

    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
    
    * Neither the name of xxHash nor the names of its
      contributors may be used to endorse or promote products derived from
      this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 07 01:52:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/binary"
    	"encoding/hex"
    	"encoding/json"
    	"fmt"
    	"time"
    
    	"github.com/cespare/xxhash/v2"
    	jsoniter "github.com/json-iterator/go"
    )
    
    // XL constants.
    const (
    	// XL metadata file carries per object metadata.
    	xlStorageFormatFileV1 = "xl.json"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. cmd/erasure-coding.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/hex"
    	"fmt"
    	"os"
    	"reflect"
    	"sync"
    
    	"github.com/cespare/xxhash/v2"
    	"github.com/klauspost/reedsolomon"
    	"github.com/minio/minio/internal/logger"
    )
    
    // Erasure - erasure encoding details.
    type Erasure struct {
    	encoder                  func() reedsolomon.Encoder
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top