Home
last modified time | relevance | path

Searched refs:multihash (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/multiformats/go-multihash/multihash/
H A DREADME.md1 # multihash tool
3 The `multihash` tool uses `go-multihash` to hash things much like `shasum`.
5 Warning: this is a **multihash** tool! Its digests follow the [multihash](https://github.com/multif…
11 go get github.com/multiformats/go-multihash/multihash
13 - Precompiled Binaries: https://gobuilder.me/github.com/multiformats/go-multihash/multihash
18 > multihash -h
40 > multihash < main.go
44 > ./multihash main.go
48 > multihash - < main.go
55 > multihash -a ?
[all …]
/dports/math/SCIP/scip-7.0.3/tests/src/misc/
H A Dmultihash.c31 static SCIP_MULTIHASH* multihash; variable
96 SCIPmultihashFree(&multihash); in teardown()
103 TestSuite(multihash, .init = setup, .fini = teardown);
115 SCIP_CALL( SCIPmultihashInsert(multihash, (void*) myptrs[i]) );
117 cr_assert_eq(arraylen, SCIPmultihashGetNElements(multihash));
120 ptr = SCIPmultihashRetrieve(multihash, (void*) myptrs[i]);
132 cr_assert_eq(arraylen, SCIPmultihashGetNElements(multihash));
135 cr_assert(SCIPmultihashExists(multihash, (void*) myptrs[i]));
148 cr_assert_eq(arraylen, SCIPmultihashGetNElements(multihash));
150 SCIPmultihashRemoveAll(multihash);
[all …]
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/multiformats/go-multihash/
H A DREADME.md1 # go-multihash
7 …/godoc.org/github.com/multiformats/go-multihash?status.svg)](https://godoc.org/github.com/multifor…
11 > [multihash](https://github.com/multiformats/multihash) implementation in Go
26 go get github.com/multiformats/go-multihash
47 "github.com/multiformats/go-multihash"
56 // Create a new multihash with it.
57 mHashBuf, _ := multihash.EncodeName(buf, "sha1")
58 // Print the multihash as hex string
61 // Parse the binary multihash to a DecodedMultihash
62 mHash, _ := multihash.Decode(mHashBuf)
[all …]
H A D.gitmodules4 [submodule "spec/multihash"]
5 path = spec/multihash
6 url = https://github.com/multiformats/multihash.git
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/multiformats/go-multihash/opts/
H A DREADME.md1 # mhopts - multihash options for writing commands
4 may take multihash options. Check it out in action:
6 - [multihash](../multihash)
9 …s://godoc.org/github.com/multiformats/go-multihash/opts](https://godoc.org/github.com/multiformats…
/dports/security/R-cran-openssl/openssl/tests/testthat/
H A Dtest_hash_multihash.R7 out1 <- multihash(buf, algos = algos)
8 out2 <- multihash(file(desc), algos = algos)
19 out0 <- multihash(character(), algos = algos)
24 out1 <- multihash("foo", algos = algos)
29 out2 <- multihash(c("foo", "bar"), algos = algos)
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/multiformats/go-multihash/test/sharness/
H A DMakefile10 BINS = bin/multihash
12 MULTIHASH_CMD = ../../multihash
36 bin/multihash: $(MULTIHASH_ROOT)/**/*.go
37 go build -o bin/multihash $(MULTIHASH_CMD)
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/swarm/storage/mru/
H A Dupdate.go63 if r.multihash {
64 if _, _, err := multihash.GetMultihashLength(r.data); err != nil {
125 if r.updateHeader.multihash {
126 mhLength, mhHeaderLength, err := multihash.GetMultihashLength(data)
147 return r.multihash
H A Dupdateheader.go26 multihash bool // Whether the data in this Resource Update should be interpreted as multihash member
53 if h.multihash {
85 h.multihash = flags&0x01 != 0
H A Drequest.go101 return r.multihash
143 func (r *Request) SetData(data []byte, multihash bool) {
145 r.multihash = multihash
165 r.multihash = j.Multihash
290 Multihash: r.multihash,
H A Dhandler.go248 updateRequest.multihash = rsrc.multihash
431 rsrc.multihash = r.multihash
471 …Addr, "lastperiod", r.period, "version", r.version, "data", chunk.Data(), "multihash", r.multihash)
480 rsrc.multihash = r.multihash
/dports/devel/py-glance-store/glance_store-2.7.0/glance_store/tests/unit/
H A Dtest_backend.py34 self.multihash = 'multihash'
58 self.multihash, in_metadata)
98 self.multihash, in_metadata)
102 multihash,
117 self.assertEqual(self.multihash, multihash)
H A Dtest_filesystem_store.py82 loc, size, checksum, multihash, _ = self.store.add(
108 loc, size, checksum, multihash, _ = self.store.add(
165 loc, size, checksum, multihash, _ = self.store.add(
171 self.assertEqual(expected_multihash, multihash)
418 loc, size, checksum, multihash, _ = self.store.add(
450 loc, size, checksum, multihash, _ = self.store.add(
616 loc, size, checksum, multihash, _ = self.store.add(
622 self.assertEqual(expected_multihash, multihash)
670 self.assertEqual(expected_multihash, multihash)
781 self.assertEqual(expected_multihash, multihash)
[all …]
H A Dtest_multistore_s3.py249 loc, size, checksum, multihash, metadata = \
257 self.assertEqual(expected_multihash, multihash)
302 loc, size, checksum, multihash, metadata = \
310 self.assertEqual(expected_multihash, multihash)
356 loc, size, checksum, multihash, metadata = \
364 self.assertEqual(expected_multihash, multihash)
471 loc, size, checksum, multihash, metadata = \
479 self.assertEqual(expected_multihash, multihash)
/dports/math/SCIP/scip-7.0.3/src/scip/
H A Dmisc.c1872 BMSfreeBlockMemoryArray(multihash->blkmem, &(multihash->lists), multihash->nlists); in multihashResize()
1989 key = multihash->hashgetkey(multihash->userptr, element); in SCIPmultihashInsert()
1990 keyval = multihash->hashkeyval(multihash->userptr, key); in SCIPmultihashInsert()
2015 … if( SCIPmultihashRetrieve(multihash, multihash->hashgetkey(multihash->userptr, element)) != NULL ) in SCIPmultihashSafeInsert()
2042 keyval = multihash->hashkeyval(multihash->userptr, key); in SCIPmultihashRetrieve()
2045 …return multihashlistRetrieve(multihash->lists[hashval], multihash->hashgetkey, multihash->hashkeye… in SCIPmultihashRetrieve()
2073 keyval = multihash->hashkeyval(multihash->userptr, key); in SCIPmultihashRetrieveNext()
2108 key = multihash->hashgetkey(multihash->userptr, element); in SCIPmultihashExists()
2109 keyval = multihash->hashkeyval(multihash->userptr, key); in SCIPmultihashExists()
2112 return (multihashlistFind(multihash->lists[hashval], multihash->hashgetkey, multihash->hashkeyeq, in SCIPmultihashExists()
[all …]
H A Dpub_misc.h678 SCIP_MULTIHASH** multihash /**< pointer to the multihash table */
688 SCIP_MULTIHASH* multihash, /**< multihash table */
699 SCIP_MULTIHASH* multihash, /**< multihash table */
706 SCIP_MULTIHASH* multihash, /**< multihash table */
717 SCIP_MULTIHASH* multihash, /**< multihash table */
727 SCIP_MULTIHASH* multihash, /**< multihash table */
734 SCIP_MULTIHASH* multihash, /**< multihash table */
745 SCIP_MULTIHASH* multihash /**< multihash table */
751 SCIP_MULTIHASH* multihash /**< multihash table */
757 SCIP_MULTIHASH* multihash /**< multihash table */
[all …]
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/cmd/swarm/
H A Dmru.go47 multihash = ctx.Bool(SwarmResourceMultihashFlag.Name)
83 newResourceRequest.SetData(initialDataBytes, multihash)
109 multihash = ctx.Bool(SwarmResourceMultihashFlag.Name)
132 updateRequest.SetData(data, multihash)
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/ipfs/go-cid/_rsrch/cidiface/
H A DREADME.md25 - Option A: CIDs as a struct; multihash as bytes.
28 - Option D: CIDs as a struct; multihash also as a struct or string.
34 Option D is distinctive from Option A because multihash as bytes transitively
39 map-key-usability concerns with multihash alone.)
79 for a nil multihash field, since version=0 and codec=0 are both valid values.
95 Since CID (and multihash!) are defined using varints, they require parsing;
99 In order to get to the 'meat' of the CID (the multihash content), we first
104 - the multihash type enum varint;
105 - and the multihash length varint.
108 multihash content (for example, when doing CAS sharding -- see the
[all …]
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/multiformats/go-multihash/test/sharness/lib/
H A Dtest-lib.sh20 if test `which multihash` != $(pwd)/bin/multihash; then
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/multiformats/go-multiaddr-net/
H A Dgo.sum18 github.com/multiformats/go-multihash v0.0.13 h1:06x+mk/zj1FoMsgNejLpy6QTvJqlSt/BhLEy87zidlc=
19 github.com/multiformats/go-multihash v0.0.13/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc=
20 github.com/multiformats/go-multihash v0.0.14 h1:QoBceQYQQtNUuf6s7wHxnE2c8bhbMqhfGzNI032se/I=
21 github.com/multiformats/go-multihash v0.0.14/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc=
/dports/net/py-python-glanceclient/python-glanceclient-3.5.0/releasenotes/notes/
H A Dmultihash-download-verification-596e91bf7b68e7db.yaml5 "multihash" feature introduced in the OpenStack Rocky release. When
33 being said, it is our recommendation that the multihash should be used
37 This release of the glanceclient uses the Glance "multihash" feature,
39 integrity of downloaded data. Legacy images without the "multihash"
H A Dcheck-for-md5-59db8fd67870b214.yaml4 For legacy (pre-Rocky) images that do not contain "multihash" metadata,
6 multihash metadata is present but the specified algorithm is not available
H A Dmultihash-support-f1474590cf3ef5cf.yaml4 This release adds client support for the Glance "multihash" feature
13 If the "multihash" properties are not available on an image, their
/dports/devel/py-glance-store/glance_store-2.7.0/releasenotes/notes/
H A Dmultihash-support-629e9cbc283a8b47.yaml3 This release adds support for Glance multihash computation.
12 containing a ``multihash`` value, which is a hexdigest of the
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/libp2p/go-addr-util/
H A Dgo.sum41 github.com/multiformats/go-multihash v0.0.1 h1:HHwN1K12I+XllBCrqKnhX949Orn4oawPkegHMu2vDqQ=
42 github.com/multiformats/go-multihash v0.0.1/go.mod h1:w/5tugSrLEbWqlcgJabL3oHFKTwfvkofsjW2Qa1ct4U=
43 github.com/multiformats/go-multihash v0.0.8 h1:wrYcW5yxSi3dU07n5jnuS5PrNwyHy0zRHGVoUugWvXg=
44 github.com/multiformats/go-multihash v0.0.8/go.mod h1:YSLudS+Pi8NHE7o6tb3D8vrpKa63epEDmG8nTduyAew=
45 github.com/multiformats/go-multihash v0.0.13 h1:06x+mk/zj1FoMsgNejLpy6QTvJqlSt/BhLEy87zidlc=
46 github.com/multiformats/go-multihash v0.0.13/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc=

1234567