- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for HashSize (0.39 sec)
-
cmd/kube-proxy/app/conntrack.go
if err != nil { return err } if hashsize >= (max / 4) { return nil } // sysfs is expected to be mounted as 'rw'. However, it may be // unexpectedly mounted as 'ro' by docker because of a known docker // issue (https://github.com/docker/docker/issues/24000). Setting // conntrack will fail when sysfs is readonly. When that happens, we // don't set conntrack hashsize and return a special error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 5.6K bytes - Viewed (0) -
src/cmd/go/internal/cache/hash.go
} // Sum returns the hash of the data written previously. func (h *Hash) Sum() [HashSize]byte { var out [HashSize]byte h.h.Sum(out[:0]) if debugHash { fmt.Fprintf(os.Stderr, "HASH[%s]: %x\n", h.name, out) } if h.buf != nil { hashDebug.Lock() if hashDebug.m == nil { hashDebug.m = make(map[[HashSize]byte]string) } hashDebug.m[out] = h.buf.String() hashDebug.Unlock() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 14 16:18:34 UTC 2021 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HashCodeSerializer.java
@Immutable public class HashCodeSerializer extends AbstractSerializer<HashCode> { @Override public HashCode read(Decoder decoder) throws IOException { byte hashSize = decoder.readByte(); byte[] hash = new byte[hashSize]; decoder.readBytes(hash); return HashCode.fromBytes(hash); } @Override public void write(Encoder encoder, HashCode value) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:33:49 UTC 2024 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go
t.W = int((n + 1) << uint(level)) return t, int(n<<uint(level)) * HashSize, int((n+1)<<uint(level)) * HashSize } // HashFromTile returns the hash at the given storage index, // provided that t == TileForIndex(t.H, index) or a wider version, // and data is t's tile data (of length at least t.W*HashSize). func HashFromTile(t Tile, data []byte, index int64) (Hash, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/embed.go
// embed/embed.go type file is: // name string // data string // hash [16]byte // Emit one of these per file in the set. const hashSize = 16 hash := make([]byte, hashSize) for _, file := range files { off = objw.SymPtr(slicedata, off, StringSym(v.Pos(), file), 0) // file string off = objw.Uintptr(slicedata, off, uint64(len(file)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 10 18:22:02 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset/ipset.go
if set.SetType == BitmapPort { if err := validatePortRange(set.PortRange); err != nil { return err } } // check hash size value of ipset if set.HashSize <= 0 { return fmt.Errorf("invalid HashSize: %d", set.HashSize) } // check max elem value of ipset if set.MaxElem <= 0 { return fmt.Errorf("invalid MaxElem %d", set.MaxElem) } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 17.1K bytes - Viewed (0) -
src/cmd/internal/codesign/codesign.go
nSpecialSlots uint32 // number of special hash slots nCodeSlots uint32 // number of ordinary (code) hash slots codeLimit uint32 // limit to main image signature range hashSize uint8 // size of each hash in bytes hashType uint8 // type of hash (cdHashType* constants) _pad1 uint8 // unused (must be zero) pageSize uint8 // log2(page size in bytes); 0 => infinite
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:19 UTC 2022 - 8.3K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset/ipset_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 41.5K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
grid := make([][hashSize]int, n) for z := 0; z < REP; z++ { // pick a random key, hash it k.random(r) h := k.hash() // flip each bit, hash & compare the results for i := 0; i < n; i++ { k.flipBit(i) d := h ^ k.hash() k.flipBit(i) // record the effects of that bit flip g := &grid[i] for j := 0; j < hashSize; j++ { g[j] += int(d & 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go
package tlog import ( "crypto/sha256" "encoding/base64" "errors" "fmt" "math/bits" ) // A Hash is a hash identifying a log record or tree root. type Hash [HashSize]byte // HashSize is the size of a Hash in bytes. const HashSize = 32 // String returns a base64 representation of the hash for printing. func (h Hash) String() string { return base64.StdEncoding.EncodeToString(h[:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 17.9K bytes - Viewed (0)