Home
last modified time | relevance | path

Searched refs:expected_sha (Results 1 – 15 of 15) sorted by relevance

/dports/devel/libgit2/libgit2-1.3.0/tests/refs/
H A Dpeel.c24 const char* expected_sha, in assert_peel_generic() argument
35 cl_git_pass(git_oid_fromstr(&expected_oid, expected_sha)); in assert_peel_generic()
47 const char* expected_sha, in assert_peel() argument
51 expected_sha, expected_type); in assert_peel()
/dports/devel/brz/breezy-3.2.0/breezy/git/
H A Dobject_store.py160 def _check_expected_sha(expected_sha, object): argument
166 if expected_sha is None:
168 if len(expected_sha) == 40:
172 elif len(expected_sha) == 20:
173 if expected_sha != object.sha().digest():
175 object, sha_to_hex(expected_sha)))
571 for (file_id, revision, expected_sha), chunks in stream:
574 if blob.id != expected_sha and blob.data == b"":
580 _check_expected_sha(expected_sha, blob)
584 expected_sha=None): argument
[all …]
/dports/devel/libgit2/libgit2-1.3.0/tests/revwalk/
H A Dmergebase.c186 static void assert_mergebase_many(const char *expected_sha, int count, ...) in assert_mergebase_many() argument
213 if (expected_sha == NULL) in assert_mergebase_many()
217 cl_git_pass(git_oid_fromstr(&expected, expected_sha)); in assert_mergebase_many()
250 static void assert_mergebase_octopus(const char *expected_sha, int count, ...) in assert_mergebase_octopus() argument
277 if (expected_sha == NULL) in assert_mergebase_octopus()
281 cl_git_pass(git_oid_fromstr(&expected, expected_sha)); in assert_mergebase_octopus()
/dports/net-im/gajim/gajim-gajim-1.3.3/gajim/common/modules/
H A Dvcard_avatars.py47 def _request_vcard(self, jid, expected_sha, type_): argument
58 self._log.warning('Avatar missing: %s %s', jid, expected_sha)
61 if expected_sha != avatar_sha:
64 expected_sha,
/dports/devel/libgit2/libgit2-1.3.0/tests/object/blob/
H A Dfromstream.c62 static void assert_named_chunked_blob(const char *expected_sha, const char *fake_name) in assert_named_chunked_blob() argument
68 cl_git_pass(git_oid_fromstr(&expected_id, expected_sha)); in assert_named_chunked_blob()
/dports/devel/libgit2/libgit2-1.3.0/tests/object/
H A Dpeel.c19 const char* expected_sha, in assert_peel() argument
31 cl_git_pass(git_oid_fromstr(&expected_oid, expected_sha)); in assert_peel()
/dports/devel/libgit2/libgit2-1.3.0/tests/object/tree/
H A Dduplicateentries.c37 const char *expected_sha, in tree_checker() argument
48 cl_git_pass(git_oid_fromstr(&oid, expected_sha)); in tree_checker()
/dports/devel/brz/breezy-3.2.0/breezy/tests/
H A Dtest_filters.py114 expected_sha = sha_string(post_filtered_content)
115 self.assertEqual((expected_len, expected_sha),
H A Dtest_osutils.py1705 expected_sha = osutils.sha_string(b'')
1710 self.assertEqual(expected_sha, sha)
1715 expected_sha = osutils.sha_string(text)
1720 self.assertEqual(expected_sha, sha)
1727 expected_sha = osutils.sha_string(b'')
1728 self.assertEqual(expected_sha, osutils.sha_file_by_name('foo'))
1733 expected_sha = osutils.sha_string(text)
1734 self.assertEqual(expected_sha, osutils.sha_file_by_name('foo'))
/dports/graphics/opencv/opencv-4.5.3/samples/dnn/
H A Ddownload_models.py47 def checkHashsum(expected_sha, filepath, silent=True): argument
48 print(' expected SHA1: {}'.format(expected_sha))
51 hashes_matched = expected_sha == actual_sha
53 raise HashMismatchException(expected_sha, actual_sha)
/dports/devel/libgit2/libgit2-1.3.0/tests/attr/
H A Drepo.c241 … void assert_proper_normalization(git_index *index, const char *filename, const char *expected_sha) in assert_proper_normalization() argument
252 cl_assert_equal_i(0, git_oid_streq(&entry->id, expected_sha)); in assert_proper_normalization()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/
H A DTestDFSClientRetries.java740 final byte[] expected_sha; field in TestDFSClientRetries.DFSClientReader
753 expected_sha = hash_sha; in DFSClientReader()
784 hash_sha.length == expected_sha.length); in run()
787 Arrays.equals(hash_sha, expected_sha)); in run()
/dports/devel/brz/breezy-3.2.0/breezy/bzr/
H A Dgroupcompress.py843 def compress(self, key, chunks, length, expected_sha, nostore_sha=None, argument
871 if expected_sha is not None:
872 sha1 = expected_sha
/dports/devel/brz/breezy-3.2.0/breezy/bzr/tests/
H A Dtest__dirstate_helpers.py1246 expected_sha = osutils.sha_string(text.upper() + b"foo")
1253 self.assertEqual(expected_sha, sha1)
H A Dtest_dirstate.py2454 expected_sha = osutils.sha_string(text)
2456 self.assertEqual(expected_sha, p.sha1('foo'))
2461 expected_sha = osutils.sha_string(text)
2466 self.assertEqual(expected_sha, sha1)