rugged 0.1.2 → 0.16.0b1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -36
- data/Rakefile +20 -98
- data/ext/rugged/extconf.rb +44 -4
- data/ext/rugged/remote.c +215 -0
- data/ext/rugged/rugged.c +171 -0
- data/ext/rugged/rugged.h +126 -0
- data/ext/rugged/rugged_blob.c +99 -0
- data/ext/rugged/rugged_commit.c +224 -0
- data/ext/rugged/rugged_config.c +238 -0
- data/ext/rugged/rugged_index.c +440 -0
- data/ext/rugged/rugged_object.c +203 -0
- data/ext/rugged/rugged_reference.c +401 -0
- data/ext/rugged/rugged_repo.c +482 -0
- data/ext/rugged/rugged_revwalk.c +138 -0
- data/ext/rugged/rugged_signature.c +80 -0
- data/ext/rugged/rugged_tag.c +216 -0
- data/ext/rugged/rugged_tree.c +322 -0
- data/ext/rugged/vendor/libgit2-dist.tar.gz +0 -0
- data/ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.c +1778 -0
- data/ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.h +267 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/adler32.c +169 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.c +442 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.h +441 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.c +1834 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.h +342 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.c +340 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.h +11 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inffixed.h +94 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.c +1480 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.h +122 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.c +330 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.h +62 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/trees.c +1244 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/trees.h +128 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zconf.h +54 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zlib.h +1613 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.c +318 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.h +274 -0
- data/ext/rugged/vendor/libgit2-dist/examples/general.c +451 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/common.h +14 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/fetch.c +97 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/git2.c +58 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/index-pack.c +47 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/ls-remote.c +76 -0
- data/ext/rugged/vendor/libgit2-dist/examples/showindex.c +43 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2.h +44 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/blob.h +120 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/branch.h +15 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/commit.h +263 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/common.h +103 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/config.h +278 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/errors.h +144 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/index.h +306 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/indexer.h +76 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/inttypes.h +305 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/net.h +51 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/object.h +173 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/odb.h +331 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/odb_backend.h +100 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/oid.h +218 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/reflog.h +128 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/refs.h +309 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/refspec.h +60 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/remote.h +176 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/repository.h +290 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/revwalk.h +169 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/signature.h +65 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/status.h +63 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/stdint.h +247 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/tag.h +279 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/threads.h +48 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/tree.h +318 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/types.h +169 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/version.h +15 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/windows.h +59 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/zlib.h +40 -0
- data/ext/rugged/vendor/libgit2-dist/src/blob.c +135 -0
- data/ext/rugged/vendor/libgit2-dist/src/blob.h +23 -0
- data/ext/rugged/vendor/libgit2-dist/src/bswap.h +97 -0
- data/ext/rugged/vendor/libgit2-dist/src/buffer.c +113 -0
- data/ext/rugged/vendor/libgit2-dist/src/buffer.h +32 -0
- data/ext/rugged/vendor/libgit2-dist/src/cache.c +111 -0
- data/ext/rugged/vendor/libgit2-dist/src/cache.h +64 -0
- data/ext/rugged/vendor/libgit2-dist/src/cc-compat.h +67 -0
- data/ext/rugged/vendor/libgit2-dist/src/commit.c +299 -0
- data/ext/rugged/vendor/libgit2-dist/src/commit.h +34 -0
- data/ext/rugged/vendor/libgit2-dist/src/common.h +64 -0
- data/ext/rugged/vendor/libgit2-dist/src/config.c +418 -0
- data/ext/rugged/vendor/libgit2-dist/src/config.h +24 -0
- data/ext/rugged/vendor/libgit2-dist/src/config_file.c +1210 -0
- data/ext/rugged/vendor/libgit2-dist/src/delta-apply.c +115 -0
- data/ext/rugged/vendor/libgit2-dist/src/delta-apply.h +33 -0
- data/ext/rugged/vendor/libgit2-dist/src/dir.h +47 -0
- data/ext/rugged/vendor/libgit2-dist/src/errors.c +104 -0
- data/ext/rugged/vendor/libgit2-dist/src/fetch.c +172 -0
- data/ext/rugged/vendor/libgit2-dist/src/fetch.h +18 -0
- data/ext/rugged/vendor/libgit2-dist/src/filebuf.c +400 -0
- data/ext/rugged/vendor/libgit2-dist/src/filebuf.h +72 -0
- data/ext/rugged/vendor/libgit2-dist/src/fileops.c +358 -0
- data/ext/rugged/vendor/libgit2-dist/src/fileops.h +151 -0
- data/ext/rugged/vendor/libgit2-dist/src/global.c +134 -0
- data/ext/rugged/vendor/libgit2-dist/src/global.h +24 -0
- data/ext/rugged/vendor/libgit2-dist/src/hash.c +74 -0
- data/ext/rugged/vendor/libgit2-dist/src/hash.h +29 -0
- data/ext/rugged/vendor/libgit2-dist/src/hashtable.c +243 -0
- data/ext/rugged/vendor/libgit2-dist/src/hashtable.h +80 -0
- data/ext/rugged/vendor/libgit2-dist/src/index.c +918 -0
- data/ext/rugged/vendor/libgit2-dist/src/index.h +34 -0
- data/ext/rugged/vendor/libgit2-dist/src/indexer.c +401 -0
- data/ext/rugged/vendor/libgit2-dist/src/map.h +37 -0
- data/ext/rugged/vendor/libgit2-dist/src/mwindow.c +272 -0
- data/ext/rugged/vendor/libgit2-dist/src/mwindow.h +45 -0
- data/ext/rugged/vendor/libgit2-dist/src/netops.c +198 -0
- data/ext/rugged/vendor/libgit2-dist/src/netops.h +36 -0
- data/ext/rugged/vendor/libgit2-dist/src/object.c +295 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb.c +672 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb.h +43 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb_loose.c +855 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb_pack.c +485 -0
- data/ext/rugged/vendor/libgit2-dist/src/oid.c +388 -0
- data/ext/rugged/vendor/libgit2-dist/src/pack.c +788 -0
- data/ext/rugged/vendor/libgit2-dist/src/pack.h +99 -0
- data/ext/rugged/vendor/libgit2-dist/src/path.c +270 -0
- data/ext/rugged/vendor/libgit2-dist/src/path.h +84 -0
- data/ext/rugged/vendor/libgit2-dist/src/pkt.c +426 -0
- data/ext/rugged/vendor/libgit2-dist/src/pkt.h +77 -0
- data/ext/rugged/vendor/libgit2-dist/src/posix.c +94 -0
- data/ext/rugged/vendor/libgit2-dist/src/posix.h +69 -0
- data/ext/rugged/vendor/libgit2-dist/src/ppc/sha1.c +70 -0
- data/ext/rugged/vendor/libgit2-dist/src/ppc/sha1.h +26 -0
- data/ext/rugged/vendor/libgit2-dist/src/pqueue.c +141 -0
- data/ext/rugged/vendor/libgit2-dist/src/pqueue.h +81 -0
- data/ext/rugged/vendor/libgit2-dist/src/protocol.c +50 -0
- data/ext/rugged/vendor/libgit2-dist/src/protocol.h +23 -0
- data/ext/rugged/vendor/libgit2-dist/src/reflog.c +318 -0
- data/ext/rugged/vendor/libgit2-dist/src/reflog.h +34 -0
- data/ext/rugged/vendor/libgit2-dist/src/refs.c +1693 -0
- data/ext/rugged/vendor/libgit2-dist/src/refs.h +58 -0
- data/ext/rugged/vendor/libgit2-dist/src/refspec.c +95 -0
- data/ext/rugged/vendor/libgit2-dist/src/refspec.h +23 -0
- data/ext/rugged/vendor/libgit2-dist/src/remote.c +339 -0
- data/ext/rugged/vendor/libgit2-dist/src/remote.h +25 -0
- data/ext/rugged/vendor/libgit2-dist/src/repository.c +849 -0
- data/ext/rugged/vendor/libgit2-dist/src/repository.h +60 -0
- data/ext/rugged/vendor/libgit2-dist/src/revwalk.c +569 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1.c +280 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1.h +21 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1_lookup.c +177 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1_lookup.h +18 -0
- data/ext/rugged/vendor/libgit2-dist/src/signature.c +335 -0
- data/ext/rugged/vendor/libgit2-dist/src/signature.h +18 -0
- data/ext/rugged/vendor/libgit2-dist/src/status.c +696 -0
- data/ext/rugged/vendor/libgit2-dist/src/tag.c +446 -0
- data/ext/rugged/vendor/libgit2-dist/src/tag.h +28 -0
- data/ext/rugged/vendor/libgit2-dist/src/thread-utils.c +55 -0
- data/ext/rugged/vendor/libgit2-dist/src/thread-utils.h +108 -0
- data/ext/rugged/vendor/libgit2-dist/src/transport.c +85 -0
- data/ext/rugged/vendor/libgit2-dist/src/transport.h +110 -0
- data/ext/rugged/vendor/libgit2-dist/src/transports/git.c +502 -0
- data/ext/rugged/vendor/libgit2-dist/src/transports/http.c +756 -0
- data/ext/rugged/vendor/libgit2-dist/src/transports/local.c +235 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree-cache.c +201 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree-cache.h +31 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree.c +758 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree.h +37 -0
- data/ext/rugged/vendor/libgit2-dist/src/tsort.c +365 -0
- data/ext/rugged/vendor/libgit2-dist/src/unix/map.c +70 -0
- data/ext/rugged/vendor/libgit2-dist/src/unix/posix.h +25 -0
- data/ext/rugged/vendor/libgit2-dist/src/util.c +381 -0
- data/ext/rugged/vendor/libgit2-dist/src/util.h +137 -0
- data/ext/rugged/vendor/libgit2-dist/src/vector.c +174 -0
- data/ext/rugged/vendor/libgit2-dist/src/vector.h +45 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/dir.c +115 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/fnmatch.c +180 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/fnmatch.h +27 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/map.c +131 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/mingw-compat.h +24 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/msvc-compat.h +38 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/posix.h +53 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/posix_w32.c +404 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/pthread.c +65 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/pthread.h +40 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.c +88 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.h +17 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/buf/basic.c +29 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/clay.h +187 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/clay_libgit2.h +28 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/clay_main.c +1073 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/add.c +37 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/new.c +36 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/read.c +209 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/stress.c +39 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/write.c +77 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/dirent.c +222 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/filebuf.c +106 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/oid.c +18 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/path.c +139 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/rmdir.c +50 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/string.c +28 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/strtol.c +37 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/vector.c +66 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/index/rename.c +60 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/network/remotes.c +50 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/chars.c +52 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/compare.c +124 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/convert.c +75 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/data.h +323 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/fromstr.c +30 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/hash.c +162 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/short.c +94 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/size.c +13 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/type2string.c +54 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/tree/frompath.c +75 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/loose.c +84 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/loose_data.h +522 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/pack_data.h +151 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/packed.c +78 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/sorting.c +71 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/repo/getters.c +68 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/repo/init.c +104 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/repo/open.c +54 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/status/single.c +38 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/status/status_data.h +48 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/status/worktree.c +124 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t00-core.c +628 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t01-data.h +322 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t01-rawobj.c +638 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t03-data.h +344 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t03-objwrite.c +255 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t04-commit.c +788 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t05-revwalk.c +140 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t06-index.c +219 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t07-hashtable.c +192 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t08-tag.c +357 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t09-tree.c +221 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t10-refs.c +1294 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t12-repo.c +174 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t13-threads.c +41 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t17-bufs.c +61 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t18-status.c +448 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_helpers.c +310 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_helpers.h +83 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_lib.c +198 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_lib.h +54 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_main.c +89 -0
- data/lib/rugged.rb +4 -3
- data/lib/rugged/index.rb +0 -8
- data/lib/rugged/objects.rb +45 -0
- data/lib/rugged/repository.rb +29 -0
- data/lib/rugged/tree.rb +16 -6
- data/lib/rugged/version.rb +1 -1
- data/lib/rugged/walker.rb +5 -0
- data/test/blob_test.rb +18 -14
- data/test/commit_test.rb +28 -26
- data/test/coverage/HEAD.json +1 -0
- data/test/coverage/cover.rb +106 -0
- data/test/fixtures/testrepo.git/refs/heads/new_name +1 -0
- data/test/index_test.rb +101 -78
- data/test/lib_test.rb +4 -4
- data/test/object_test.rb +3 -3
- data/test/reference_test.rb +75 -0
- data/test/remote_test.rb +19 -0
- data/test/repo_pack_test.rb +4 -4
- data/test/repo_test.rb +44 -15
- data/test/tag_test.rb +7 -17
- data/test/test_helper.rb +24 -5
- data/test/tree_test.rb +30 -12
- data/test/walker_test.rb +40 -31
- metadata +273 -50
- data/lib/rugged/person.rb +0 -20
- data/lib/rugged/tree_entry.rb +0 -9
- data/test/fixtures/testrepo.git/objects/1d/83f106355e4309a293e42ad2a2c4b8bdbe77ae +0 -0
- data/test/fixtures/testrepo.git/objects/2f/3321418db5b2a841375b8b70880a8ab5a4148f +0 -0
- data/test/fixtures/testrepo.git/objects/36/9b00a7700cca3a506d79e301d6ad8bf735d9ee +0 -3
- data/test/fixtures/testrepo.git/objects/3d/b1b5ceace59ff65279757003763046fd4cbbe6 +0 -0
- data/test/fixtures/testrepo.git/objects/4c/d1604907792e2c43e03dcec1216f99d63e68c4 +0 -3
- data/test/fixtures/testrepo.git/objects/e0/f46d77041c149296549b01ed4a18b02c4b7400 +0 -0
@@ -0,0 +1,522 @@
|
|
1
|
+
typedef struct object_data {
|
2
|
+
unsigned char *bytes; /* (compressed) bytes stored in object store */
|
3
|
+
size_t blen; /* length of data in object store */
|
4
|
+
char *id; /* object id (sha1) */
|
5
|
+
char *type; /* object type */
|
6
|
+
char *dir; /* object store (fan-out) directory name */
|
7
|
+
char *file; /* object store filename */
|
8
|
+
unsigned char *data; /* (uncompressed) object data */
|
9
|
+
size_t dlen; /* length of (uncompressed) object data */
|
10
|
+
} object_data;
|
11
|
+
|
12
|
+
/* one == 8b137891791fe96927ad78e64b0aad7bded08bdc */
|
13
|
+
static unsigned char one_bytes[] = {
|
14
|
+
0x31, 0x78, 0x9c, 0xe3, 0x02, 0x00, 0x00, 0x0b,
|
15
|
+
0x00, 0x0b,
|
16
|
+
};
|
17
|
+
|
18
|
+
static unsigned char one_data[] = {
|
19
|
+
0x0a,
|
20
|
+
};
|
21
|
+
|
22
|
+
static object_data one = {
|
23
|
+
one_bytes,
|
24
|
+
sizeof(one_bytes),
|
25
|
+
"8b137891791fe96927ad78e64b0aad7bded08bdc",
|
26
|
+
"blob",
|
27
|
+
"test-objects/8b",
|
28
|
+
"test-objects/8b/137891791fe96927ad78e64b0aad7bded08bdc",
|
29
|
+
one_data,
|
30
|
+
sizeof(one_data),
|
31
|
+
};
|
32
|
+
|
33
|
+
|
34
|
+
/* commit == 3d7f8a6af076c8c3f20071a8935cdbe8228594d1 */
|
35
|
+
static unsigned char commit_bytes[] = {
|
36
|
+
0x78, 0x01, 0x85, 0x50, 0xc1, 0x6a, 0xc3, 0x30,
|
37
|
+
0x0c, 0xdd, 0xd9, 0x5f, 0xa1, 0xfb, 0x96, 0x12,
|
38
|
+
0xbb, 0x29, 0x71, 0x46, 0x19, 0x2b, 0x3d, 0x97,
|
39
|
+
0x1d, 0xd6, 0x7d, 0x80, 0x1d, 0xcb, 0x89, 0x21,
|
40
|
+
0xb6, 0x82, 0xed, 0x40, 0xf3, 0xf7, 0xf3, 0x48,
|
41
|
+
0x29, 0x3b, 0x6d, 0xd2, 0xe5, 0xbd, 0x27, 0xbd,
|
42
|
+
0x27, 0x50, 0x4f, 0xde, 0xbb, 0x0c, 0xfb, 0x43,
|
43
|
+
0xf3, 0x94, 0x23, 0x22, 0x18, 0x6b, 0x85, 0x51,
|
44
|
+
0x5d, 0xad, 0xc5, 0xa1, 0x41, 0xae, 0x51, 0x4b,
|
45
|
+
0xd9, 0x19, 0x6e, 0x4b, 0x0b, 0x29, 0x35, 0x72,
|
46
|
+
0x59, 0xef, 0x5b, 0x29, 0x8c, 0x65, 0x6a, 0xc9,
|
47
|
+
0x23, 0x45, 0x38, 0xc1, 0x17, 0x5c, 0x7f, 0xc0,
|
48
|
+
0x71, 0x13, 0xde, 0xf1, 0xa6, 0xfc, 0x3c, 0xe1,
|
49
|
+
0xae, 0x27, 0xff, 0x06, 0x5c, 0x88, 0x56, 0xf2,
|
50
|
+
0x46, 0x74, 0x2d, 0x3c, 0xd7, 0xa5, 0x58, 0x51,
|
51
|
+
0xcb, 0xb9, 0x8c, 0x11, 0xce, 0xf0, 0x01, 0x97,
|
52
|
+
0x0d, 0x1e, 0x1f, 0xea, 0x3f, 0x6e, 0x76, 0x02,
|
53
|
+
0x0a, 0x58, 0x4d, 0x2e, 0x20, 0x6c, 0x1e, 0x48,
|
54
|
+
0x8b, 0xf7, 0x2a, 0xae, 0x8c, 0x5d, 0x47, 0x04,
|
55
|
+
0x4d, 0x66, 0x05, 0xb2, 0x90, 0x0b, 0xbe, 0xcf,
|
56
|
+
0x3d, 0xa6, 0xa4, 0x06, 0x7c, 0x29, 0x3c, 0x64,
|
57
|
+
0xe5, 0x82, 0x0b, 0x03, 0xd8, 0x25, 0x96, 0x8d,
|
58
|
+
0x08, 0x78, 0x9b, 0x27, 0x15, 0x54, 0x76, 0x14,
|
59
|
+
0xd8, 0xdd, 0x35, 0x2f, 0x71, 0xa6, 0x84, 0x8f,
|
60
|
+
0x90, 0x51, 0x85, 0x01, 0x13, 0xb8, 0x90, 0x23,
|
61
|
+
0x99, 0xa5, 0x47, 0x03, 0x7a, 0xfd, 0x15, 0xbf,
|
62
|
+
0x63, 0xec, 0xd3, 0x0d, 0x01, 0x4d, 0x45, 0xb6,
|
63
|
+
0xd2, 0xeb, 0xeb, 0xdf, 0xef, 0x60, 0xdf, 0xef,
|
64
|
+
0x1f, 0x78, 0x35,
|
65
|
+
};
|
66
|
+
|
67
|
+
static unsigned char commit_data[] = {
|
68
|
+
0x74, 0x72, 0x65, 0x65, 0x20, 0x64, 0x66, 0x66,
|
69
|
+
0x32, 0x64, 0x61, 0x39, 0x30, 0x62, 0x32, 0x35,
|
70
|
+
0x34, 0x65, 0x31, 0x62, 0x65, 0x62, 0x38, 0x38,
|
71
|
+
0x39, 0x64, 0x31, 0x66, 0x31, 0x66, 0x31, 0x32,
|
72
|
+
0x38, 0x38, 0x62, 0x65, 0x31, 0x38, 0x30, 0x33,
|
73
|
+
0x37, 0x38, 0x32, 0x64, 0x66, 0x0a, 0x61, 0x75,
|
74
|
+
0x74, 0x68, 0x6f, 0x72, 0x20, 0x41, 0x20, 0x55,
|
75
|
+
0x20, 0x54, 0x68, 0x6f, 0x72, 0x20, 0x3c, 0x61,
|
76
|
+
0x75, 0x74, 0x68, 0x6f, 0x72, 0x40, 0x65, 0x78,
|
77
|
+
0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
|
78
|
+
0x6d, 0x3e, 0x20, 0x31, 0x32, 0x32, 0x37, 0x38,
|
79
|
+
0x31, 0x34, 0x32, 0x39, 0x37, 0x20, 0x2b, 0x30,
|
80
|
+
0x30, 0x30, 0x30, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
81
|
+
0x69, 0x74, 0x74, 0x65, 0x72, 0x20, 0x43, 0x20,
|
82
|
+
0x4f, 0x20, 0x4d, 0x69, 0x74, 0x74, 0x65, 0x72,
|
83
|
+
0x20, 0x3c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
|
84
|
+
0x74, 0x65, 0x72, 0x40, 0x65, 0x78, 0x61, 0x6d,
|
85
|
+
0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x3e,
|
86
|
+
0x20, 0x31, 0x32, 0x32, 0x37, 0x38, 0x31, 0x34,
|
87
|
+
0x32, 0x39, 0x37, 0x20, 0x2b, 0x30, 0x30, 0x30,
|
88
|
+
0x30, 0x0a, 0x0a, 0x41, 0x20, 0x6f, 0x6e, 0x65,
|
89
|
+
0x2d, 0x6c, 0x69, 0x6e, 0x65, 0x20, 0x63, 0x6f,
|
90
|
+
0x6d, 0x6d, 0x69, 0x74, 0x20, 0x73, 0x75, 0x6d,
|
91
|
+
0x6d, 0x61, 0x72, 0x79, 0x0a, 0x0a, 0x54, 0x68,
|
92
|
+
0x65, 0x20, 0x62, 0x6f, 0x64, 0x79, 0x20, 0x6f,
|
93
|
+
0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x6f,
|
94
|
+
0x6d, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x65, 0x73,
|
95
|
+
0x73, 0x61, 0x67, 0x65, 0x2c, 0x20, 0x63, 0x6f,
|
96
|
+
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67,
|
97
|
+
0x20, 0x66, 0x75, 0x72, 0x74, 0x68, 0x65, 0x72,
|
98
|
+
0x20, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61,
|
99
|
+
0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x6f, 0x66, 0x20,
|
100
|
+
0x74, 0x68, 0x65, 0x20, 0x70, 0x75, 0x72, 0x70,
|
101
|
+
0x6f, 0x73, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74,
|
102
|
+
0x68, 0x65, 0x20, 0x63, 0x68, 0x61, 0x6e, 0x67,
|
103
|
+
0x65, 0x73, 0x20, 0x69, 0x6e, 0x74, 0x72, 0x6f,
|
104
|
+
0x64, 0x75, 0x63, 0x65, 0x64, 0x20, 0x62, 0x79,
|
105
|
+
0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x6f, 0x6d,
|
106
|
+
0x6d, 0x69, 0x74, 0x2e, 0x0a, 0x0a, 0x53, 0x69,
|
107
|
+
0x67, 0x6e, 0x65, 0x64, 0x2d, 0x6f, 0x66, 0x2d,
|
108
|
+
0x62, 0x79, 0x3a, 0x20, 0x41, 0x20, 0x55, 0x20,
|
109
|
+
0x54, 0x68, 0x6f, 0x72, 0x20, 0x3c, 0x61, 0x75,
|
110
|
+
0x74, 0x68, 0x6f, 0x72, 0x40, 0x65, 0x78, 0x61,
|
111
|
+
0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
|
112
|
+
0x3e, 0x0a,
|
113
|
+
};
|
114
|
+
|
115
|
+
static object_data commit = {
|
116
|
+
commit_bytes,
|
117
|
+
sizeof(commit_bytes),
|
118
|
+
"3d7f8a6af076c8c3f20071a8935cdbe8228594d1",
|
119
|
+
"commit",
|
120
|
+
"test-objects/3d",
|
121
|
+
"test-objects/3d/7f8a6af076c8c3f20071a8935cdbe8228594d1",
|
122
|
+
commit_data,
|
123
|
+
sizeof(commit_data),
|
124
|
+
};
|
125
|
+
|
126
|
+
/* tree == dff2da90b254e1beb889d1f1f1288be1803782df */
|
127
|
+
static unsigned char tree_bytes[] = {
|
128
|
+
0x78, 0x01, 0x2b, 0x29, 0x4a, 0x4d, 0x55, 0x30,
|
129
|
+
0x34, 0x32, 0x63, 0x30, 0x34, 0x30, 0x30, 0x33,
|
130
|
+
0x31, 0x51, 0xc8, 0xcf, 0x4b, 0x65, 0xe8, 0x16,
|
131
|
+
0xae, 0x98, 0x58, 0x29, 0xff, 0x32, 0x53, 0x7d,
|
132
|
+
0x6d, 0xc5, 0x33, 0x6f, 0xae, 0xb5, 0xd5, 0xf7,
|
133
|
+
0x2e, 0x74, 0xdf, 0x81, 0x4a, 0x17, 0xe7, 0xe7,
|
134
|
+
0xa6, 0x32, 0xfc, 0x6d, 0x31, 0xd8, 0xd3, 0xe6,
|
135
|
+
0xf3, 0xe7, 0xea, 0x47, 0xbe, 0xd0, 0x09, 0x3f,
|
136
|
+
0x96, 0xb8, 0x3f, 0x90, 0x9e, 0xa2, 0xfd, 0x0f,
|
137
|
+
0x2a, 0x5f, 0x52, 0x9e, 0xcf, 0x50, 0x31, 0x43,
|
138
|
+
0x52, 0x29, 0xd1, 0x5a, 0xeb, 0x77, 0x82, 0x2a,
|
139
|
+
0x8b, 0xfe, 0xb7, 0xbd, 0xed, 0x5d, 0x07, 0x67,
|
140
|
+
0xfa, 0xb5, 0x42, 0xa5, 0xab, 0x52, 0x8b, 0xf2,
|
141
|
+
0x19, 0x9e, 0xcd, 0x7d, 0x34, 0x7b, 0xd3, 0xc5,
|
142
|
+
0x6b, 0xce, 0xde, 0xdd, 0x9a, 0xeb, 0xca, 0xa3,
|
143
|
+
0x6e, 0x1c, 0x7a, 0xd2, 0x13, 0x3c, 0x11, 0x00,
|
144
|
+
0xe2, 0xaa, 0x38, 0x57,
|
145
|
+
};
|
146
|
+
|
147
|
+
static unsigned char tree_data[] = {
|
148
|
+
0x31, 0x30, 0x30, 0x36, 0x34, 0x34, 0x20, 0x6f,
|
149
|
+
0x6e, 0x65, 0x00, 0x8b, 0x13, 0x78, 0x91, 0x79,
|
150
|
+
0x1f, 0xe9, 0x69, 0x27, 0xad, 0x78, 0xe6, 0x4b,
|
151
|
+
0x0a, 0xad, 0x7b, 0xde, 0xd0, 0x8b, 0xdc, 0x31,
|
152
|
+
0x30, 0x30, 0x36, 0x34, 0x34, 0x20, 0x73, 0x6f,
|
153
|
+
0x6d, 0x65, 0x00, 0xfd, 0x84, 0x30, 0xbc, 0x86,
|
154
|
+
0x4c, 0xfc, 0xd5, 0xf1, 0x0e, 0x55, 0x90, 0xf8,
|
155
|
+
0xa4, 0x47, 0xe0, 0x1b, 0x94, 0x2b, 0xfe, 0x31,
|
156
|
+
0x30, 0x30, 0x36, 0x34, 0x34, 0x20, 0x74, 0x77,
|
157
|
+
0x6f, 0x00, 0x78, 0x98, 0x19, 0x22, 0x61, 0x3b,
|
158
|
+
0x2a, 0xfb, 0x60, 0x25, 0x04, 0x2f, 0xf6, 0xbd,
|
159
|
+
0x87, 0x8a, 0xc1, 0x99, 0x4e, 0x85, 0x31, 0x30,
|
160
|
+
0x30, 0x36, 0x34, 0x34, 0x20, 0x7a, 0x65, 0x72,
|
161
|
+
0x6f, 0x00, 0xe6, 0x9d, 0xe2, 0x9b, 0xb2, 0xd1,
|
162
|
+
0xd6, 0x43, 0x4b, 0x8b, 0x29, 0xae, 0x77, 0x5a,
|
163
|
+
0xd8, 0xc2, 0xe4, 0x8c, 0x53, 0x91,
|
164
|
+
};
|
165
|
+
|
166
|
+
static object_data tree = {
|
167
|
+
tree_bytes,
|
168
|
+
sizeof(tree_bytes),
|
169
|
+
"dff2da90b254e1beb889d1f1f1288be1803782df",
|
170
|
+
"tree",
|
171
|
+
"test-objects/df",
|
172
|
+
"test-objects/df/f2da90b254e1beb889d1f1f1288be1803782df",
|
173
|
+
tree_data,
|
174
|
+
sizeof(tree_data),
|
175
|
+
};
|
176
|
+
|
177
|
+
/* tag == 09d373e1dfdc16b129ceec6dd649739911541e05 */
|
178
|
+
static unsigned char tag_bytes[] = {
|
179
|
+
0x78, 0x01, 0x35, 0x4e, 0xcb, 0x0a, 0xc2, 0x40,
|
180
|
+
0x10, 0xf3, 0xbc, 0x5f, 0x31, 0x77, 0xa1, 0xec,
|
181
|
+
0xa3, 0xed, 0x6e, 0x41, 0x44, 0xf0, 0x2c, 0x5e,
|
182
|
+
0xfc, 0x81, 0xe9, 0x76, 0xb6, 0xad, 0xb4, 0xb4,
|
183
|
+
0x6c, 0x07, 0xd1, 0xbf, 0x77, 0x44, 0x0d, 0x39,
|
184
|
+
0x84, 0x10, 0x92, 0x30, 0xf6, 0x60, 0xbc, 0xdb,
|
185
|
+
0x2d, 0xed, 0x9d, 0x22, 0x83, 0xeb, 0x7c, 0x0a,
|
186
|
+
0x58, 0x63, 0xd2, 0xbe, 0x8e, 0x21, 0xba, 0x64,
|
187
|
+
0xb5, 0xf6, 0x06, 0x43, 0xe3, 0xaa, 0xd8, 0xb5,
|
188
|
+
0x14, 0xac, 0x0d, 0x55, 0x53, 0x76, 0x46, 0xf1,
|
189
|
+
0x6b, 0x25, 0x88, 0xcb, 0x3c, 0x8f, 0xac, 0x58,
|
190
|
+
0x3a, 0x1e, 0xba, 0xd0, 0x85, 0xd8, 0xd8, 0xf7,
|
191
|
+
0x94, 0xe1, 0x0c, 0x57, 0xb8, 0x8c, 0xcc, 0x22,
|
192
|
+
0x0f, 0xdf, 0x90, 0xc8, 0x13, 0x3d, 0x71, 0x5e,
|
193
|
+
0x27, 0x2a, 0xc4, 0x39, 0x82, 0xb1, 0xd6, 0x07,
|
194
|
+
0x53, 0xda, 0xc6, 0xc3, 0x5e, 0x0b, 0x94, 0xba,
|
195
|
+
0x0d, 0xe3, 0x06, 0x42, 0x1e, 0x08, 0x3e, 0x95,
|
196
|
+
0xbf, 0x4b, 0x69, 0xc9, 0x90, 0x69, 0x22, 0xdc,
|
197
|
+
0xe8, 0xbf, 0xf2, 0x06, 0x42, 0x9a, 0x36, 0xb1,
|
198
|
+
};
|
199
|
+
|
200
|
+
static unsigned char tag_data[] = {
|
201
|
+
0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x33,
|
202
|
+
0x64, 0x37, 0x66, 0x38, 0x61, 0x36, 0x61, 0x66,
|
203
|
+
0x30, 0x37, 0x36, 0x63, 0x38, 0x63, 0x33, 0x66,
|
204
|
+
0x32, 0x30, 0x30, 0x37, 0x31, 0x61, 0x38, 0x39,
|
205
|
+
0x33, 0x35, 0x63, 0x64, 0x62, 0x65, 0x38, 0x32,
|
206
|
+
0x32, 0x38, 0x35, 0x39, 0x34, 0x64, 0x31, 0x0a,
|
207
|
+
0x74, 0x79, 0x70, 0x65, 0x20, 0x63, 0x6f, 0x6d,
|
208
|
+
0x6d, 0x69, 0x74, 0x0a, 0x74, 0x61, 0x67, 0x20,
|
209
|
+
0x76, 0x30, 0x2e, 0x30, 0x2e, 0x31, 0x0a, 0x74,
|
210
|
+
0x61, 0x67, 0x67, 0x65, 0x72, 0x20, 0x43, 0x20,
|
211
|
+
0x4f, 0x20, 0x4d, 0x69, 0x74, 0x74, 0x65, 0x72,
|
212
|
+
0x20, 0x3c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
|
213
|
+
0x74, 0x65, 0x72, 0x40, 0x65, 0x78, 0x61, 0x6d,
|
214
|
+
0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x3e,
|
215
|
+
0x20, 0x31, 0x32, 0x32, 0x37, 0x38, 0x31, 0x34,
|
216
|
+
0x32, 0x39, 0x37, 0x20, 0x2b, 0x30, 0x30, 0x30,
|
217
|
+
0x30, 0x0a, 0x0a, 0x54, 0x68, 0x69, 0x73, 0x20,
|
218
|
+
0x69, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x74,
|
219
|
+
0x61, 0x67, 0x20, 0x6f, 0x62, 0x6a, 0x65, 0x63,
|
220
|
+
0x74, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x72, 0x65,
|
221
|
+
0x6c, 0x65, 0x61, 0x73, 0x65, 0x20, 0x76, 0x30,
|
222
|
+
0x2e, 0x30, 0x2e, 0x31, 0x0a,
|
223
|
+
};
|
224
|
+
|
225
|
+
static object_data tag = {
|
226
|
+
tag_bytes,
|
227
|
+
sizeof(tag_bytes),
|
228
|
+
"09d373e1dfdc16b129ceec6dd649739911541e05",
|
229
|
+
"tag",
|
230
|
+
"test-objects/09",
|
231
|
+
"test-objects/09/d373e1dfdc16b129ceec6dd649739911541e05",
|
232
|
+
tag_data,
|
233
|
+
sizeof(tag_data),
|
234
|
+
};
|
235
|
+
|
236
|
+
/* zero == e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 */
|
237
|
+
static unsigned char zero_bytes[] = {
|
238
|
+
0x78, 0x01, 0x4b, 0xca, 0xc9, 0x4f, 0x52, 0x30,
|
239
|
+
0x60, 0x00, 0x00, 0x09, 0xb0, 0x01, 0xf0,
|
240
|
+
};
|
241
|
+
|
242
|
+
static unsigned char zero_data[] = {
|
243
|
+
0x00 /* dummy data */
|
244
|
+
};
|
245
|
+
|
246
|
+
static object_data zero = {
|
247
|
+
zero_bytes,
|
248
|
+
sizeof(zero_bytes),
|
249
|
+
"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
|
250
|
+
"blob",
|
251
|
+
"test-objects/e6",
|
252
|
+
"test-objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391",
|
253
|
+
zero_data,
|
254
|
+
0,
|
255
|
+
};
|
256
|
+
|
257
|
+
/* two == 78981922613b2afb6025042ff6bd878ac1994e85 */
|
258
|
+
static unsigned char two_bytes[] = {
|
259
|
+
0x78, 0x01, 0x4b, 0xca, 0xc9, 0x4f, 0x52, 0x30,
|
260
|
+
0x62, 0x48, 0xe4, 0x02, 0x00, 0x0e, 0x64, 0x02,
|
261
|
+
0x5d,
|
262
|
+
};
|
263
|
+
|
264
|
+
static unsigned char two_data[] = {
|
265
|
+
0x61, 0x0a,
|
266
|
+
};
|
267
|
+
|
268
|
+
static object_data two = {
|
269
|
+
two_bytes,
|
270
|
+
sizeof(two_bytes),
|
271
|
+
"78981922613b2afb6025042ff6bd878ac1994e85",
|
272
|
+
"blob",
|
273
|
+
"test-objects/78",
|
274
|
+
"test-objects/78/981922613b2afb6025042ff6bd878ac1994e85",
|
275
|
+
two_data,
|
276
|
+
sizeof(two_data),
|
277
|
+
};
|
278
|
+
|
279
|
+
/* some == fd8430bc864cfcd5f10e5590f8a447e01b942bfe */
|
280
|
+
static unsigned char some_bytes[] = {
|
281
|
+
0x78, 0x01, 0x7d, 0x54, 0xc1, 0x4e, 0xe3, 0x30,
|
282
|
+
0x10, 0xdd, 0x33, 0x5f, 0x31, 0xc7, 0x5d, 0x94,
|
283
|
+
0xa5, 0x84, 0xd5, 0x22, 0xad, 0x7a, 0x0a, 0x15,
|
284
|
+
0x85, 0x48, 0xd0, 0x56, 0x49, 0x2a, 0xd4, 0xa3,
|
285
|
+
0x13, 0x4f, 0x88, 0x85, 0x63, 0x47, 0xb6, 0x43,
|
286
|
+
0xc9, 0xdf, 0xef, 0x8c, 0x69, 0x17, 0x56, 0x0b,
|
287
|
+
0x7b, 0xaa, 0x62, 0x7b, 0xde, 0xbc, 0xf7, 0xe6,
|
288
|
+
0x4d, 0x6b, 0x6d, 0x6b, 0x48, 0xd3, 0xcb, 0x5f,
|
289
|
+
0x5f, 0x66, 0xa7, 0x27, 0x70, 0x0a, 0x55, 0xa7,
|
290
|
+
0x3c, 0xb4, 0x4a, 0x23, 0xf0, 0xaf, 0x43, 0x04,
|
291
|
+
0x6f, 0xdb, 0xb0, 0x17, 0x0e, 0xe7, 0x30, 0xd9,
|
292
|
+
0x11, 0x1a, 0x61, 0xc0, 0xa1, 0x54, 0x3e, 0x38,
|
293
|
+
0x55, 0x8f, 0x81, 0x9e, 0x05, 0x10, 0x46, 0xce,
|
294
|
+
0xac, 0x83, 0xde, 0x4a, 0xd5, 0x4e, 0x0c, 0x42,
|
295
|
+
0x67, 0xa3, 0x91, 0xe8, 0x20, 0x74, 0x08, 0x01,
|
296
|
+
0x5d, 0xef, 0xc1, 0xb6, 0xf1, 0xe3, 0x66, 0xb5,
|
297
|
+
0x85, 0x1b, 0x34, 0xe8, 0x84, 0x86, 0xcd, 0x58,
|
298
|
+
0x6b, 0xd5, 0xc0, 0x9d, 0x6a, 0xd0, 0x78, 0x4c,
|
299
|
+
0xe0, 0x19, 0x9d, 0x57, 0xd6, 0xc0, 0x45, 0xc2,
|
300
|
+
0x18, 0xc2, 0xc3, 0xc0, 0x0f, 0x7c, 0x87, 0x12,
|
301
|
+
0xea, 0x29, 0x56, 0x2f, 0x99, 0x4f, 0x79, 0xe0,
|
302
|
+
0x03, 0x4b, 0x4b, 0x4d, 0x44, 0xa0, 0x92, 0x33,
|
303
|
+
0x2a, 0xe0, 0x9a, 0xdc, 0x80, 0x90, 0x52, 0xf1,
|
304
|
+
0x11, 0x04, 0x1b, 0x4b, 0x06, 0xea, 0xae, 0x3c,
|
305
|
+
0xe3, 0x7a, 0x50, 0x74, 0x4a, 0x84, 0xfe, 0xc3,
|
306
|
+
0x81, 0x41, 0xf8, 0x89, 0x18, 0x43, 0x67, 0x9d,
|
307
|
+
0x87, 0x47, 0xf5, 0x8c, 0x51, 0xf6, 0x68, 0xb4,
|
308
|
+
0xea, 0x55, 0x20, 0x2a, 0x6f, 0x80, 0xdc, 0x42,
|
309
|
+
0x2b, 0xf3, 0x14, 0x2b, 0x1a, 0xdb, 0x0f, 0xe4,
|
310
|
+
0x9a, 0x64, 0x84, 0xa3, 0x90, 0xa8, 0xf9, 0x8f,
|
311
|
+
0x9d, 0x86, 0x9e, 0xd3, 0xab, 0x5a, 0x99, 0xc8,
|
312
|
+
0xd9, 0xc3, 0x5e, 0x85, 0x0e, 0x2c, 0xb5, 0x73,
|
313
|
+
0x30, 0x38, 0xfb, 0xe8, 0x44, 0xef, 0x5f, 0x95,
|
314
|
+
0x1b, 0xc9, 0xd0, 0xef, 0x3c, 0x26, 0x32, 0x1e,
|
315
|
+
0xff, 0x2d, 0xb6, 0x23, 0x7b, 0x3f, 0xd1, 0x3c,
|
316
|
+
0x78, 0x1a, 0x0d, 0xcb, 0xe6, 0xf6, 0xd4, 0x44,
|
317
|
+
0x99, 0x47, 0x1a, 0x9e, 0xed, 0x23, 0xb5, 0x91,
|
318
|
+
0x6a, 0xdf, 0x53, 0x39, 0x03, 0xf8, 0x5a, 0xb1,
|
319
|
+
0x0f, 0x1f, 0xce, 0x81, 0x11, 0xde, 0x01, 0x7a,
|
320
|
+
0x90, 0x16, 0xc4, 0x30, 0xe8, 0x89, 0xed, 0x7b,
|
321
|
+
0x65, 0x4b, 0xd7, 0x03, 0x36, 0xc1, 0xcf, 0xa1,
|
322
|
+
0xa5, 0xb1, 0xe3, 0x8b, 0xe8, 0x07, 0x4d, 0xf3,
|
323
|
+
0x23, 0x25, 0x13, 0x35, 0x27, 0xf5, 0x8c, 0x11,
|
324
|
+
0xd3, 0xa0, 0x9a, 0xa8, 0xf5, 0x38, 0x7d, 0xce,
|
325
|
+
0x55, 0xc2, 0x71, 0x79, 0x13, 0xc7, 0xa3, 0xda,
|
326
|
+
0x77, 0x68, 0xc0, 0xd8, 0x10, 0xdd, 0x24, 0x8b,
|
327
|
+
0x15, 0x59, 0xc5, 0x10, 0xe2, 0x20, 0x99, 0x8e,
|
328
|
+
0xf0, 0x05, 0x9b, 0x31, 0x88, 0x5a, 0xe3, 0xd9,
|
329
|
+
0x37, 0xba, 0xe2, 0xdb, 0xbf, 0x92, 0xfa, 0x66,
|
330
|
+
0x16, 0x97, 0x47, 0xd9, 0x9d, 0x1d, 0x28, 0x7c,
|
331
|
+
0x9d, 0x08, 0x1c, 0xc7, 0xbd, 0xd2, 0x1a, 0x6a,
|
332
|
+
0x04, 0xf2, 0xa2, 0x1d, 0x75, 0x02, 0x14, 0x5d,
|
333
|
+
0xc6, 0x78, 0xc8, 0xab, 0xdb, 0xf5, 0xb6, 0x82,
|
334
|
+
0x6c, 0xb5, 0x83, 0x87, 0xac, 0x28, 0xb2, 0x55,
|
335
|
+
0xb5, 0x9b, 0xc7, 0xc1, 0xb0, 0xb7, 0xf8, 0x4c,
|
336
|
+
0xbc, 0x38, 0x0e, 0x8a, 0x04, 0x2a, 0x62, 0x41,
|
337
|
+
0x6b, 0xe0, 0x84, 0x09, 0x13, 0xe9, 0xe1, 0xea,
|
338
|
+
0xfb, 0xeb, 0x62, 0x71, 0x4b, 0x25, 0xd9, 0x55,
|
339
|
+
0x7e, 0x97, 0x57, 0x3b, 0x20, 0x33, 0x96, 0x79,
|
340
|
+
0xb5, 0xba, 0x2e, 0x4b, 0x58, 0xae, 0x0b, 0xc8,
|
341
|
+
0x60, 0x93, 0x15, 0x55, 0xbe, 0xd8, 0xde, 0x65,
|
342
|
+
0x05, 0x6c, 0xb6, 0xc5, 0x66, 0x5d, 0x5e, 0x93,
|
343
|
+
0xf7, 0x25, 0x65, 0x98, 0x41, 0x29, 0x86, 0x0c,
|
344
|
+
0xf2, 0xf1, 0x14, 0xa2, 0xb3, 0xbd, 0x75, 0x08,
|
345
|
+
0x12, 0x83, 0x50, 0xda, 0x1f, 0x23, 0xbe, 0xa3,
|
346
|
+
0x1d, 0xf4, 0x9d, 0x1d, 0xb5, 0x84, 0x4e, 0x50,
|
347
|
+
0x38, 0x1d, 0x36, 0x48, 0x21, 0x95, 0xd1, 0xac,
|
348
|
+
0x81, 0x99, 0x1d, 0xc1, 0x3f, 0x41, 0xe6, 0x9e,
|
349
|
+
0x42, 0x5b, 0x0a, 0x48, 0xcc, 0x5f, 0xe0, 0x7d,
|
350
|
+
0x3f, 0xc4, 0x6f, 0x0e, 0xfe, 0xc0, 0x2d, 0xfe,
|
351
|
+
0x01, 0x2c, 0xd6, 0x9b, 0x5d, 0xbe, 0xba, 0x21,
|
352
|
+
0xca, 0x79, 0xcb, 0xe3, 0x49, 0x60, 0xef, 0x68,
|
353
|
+
0x05, 0x28, 0x9b, 0x8c, 0xc1, 0x12, 0x3e, 0xdb,
|
354
|
+
0xc7, 0x04, 0x7e, 0xa6, 0x74, 0x29, 0xcc, 0x13,
|
355
|
+
0xed, 0x07, 0x94, 0x81, 0xd6, 0x96, 0xaa, 0x97,
|
356
|
+
0xaa, 0xa5, 0xc0, 0x2f, 0xb5, 0xb5, 0x2e, 0xe6,
|
357
|
+
0xfc, 0xca, 0xfa, 0x60, 0x4d, 0x02, 0xf7, 0x19,
|
358
|
+
0x9c, 0x5f, 0xa4, 0xe9, 0xf9, 0xf7, 0xf4, 0xc7,
|
359
|
+
0x79, 0x9a, 0xc0, 0xb6, 0xcc, 0x58, 0xec, 0xec,
|
360
|
+
0xe4, 0x37, 0x22, 0xfa, 0x8b, 0x53,
|
361
|
+
};
|
362
|
+
|
363
|
+
static unsigned char some_data[] = {
|
364
|
+
0x2f, 0x2a, 0x0a, 0x20, 0x2a, 0x20, 0x54, 0x68,
|
365
|
+
0x69, 0x73, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20,
|
366
|
+
0x69, 0x73, 0x20, 0x66, 0x72, 0x65, 0x65, 0x20,
|
367
|
+
0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65,
|
368
|
+
0x3b, 0x20, 0x79, 0x6f, 0x75, 0x20, 0x63, 0x61,
|
369
|
+
0x6e, 0x20, 0x72, 0x65, 0x64, 0x69, 0x73, 0x74,
|
370
|
+
0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x69,
|
371
|
+
0x74, 0x20, 0x61, 0x6e, 0x64, 0x2f, 0x6f, 0x72,
|
372
|
+
0x20, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x0a,
|
373
|
+
0x20, 0x2a, 0x20, 0x69, 0x74, 0x20, 0x75, 0x6e,
|
374
|
+
0x64, 0x65, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20,
|
375
|
+
0x74, 0x65, 0x72, 0x6d, 0x73, 0x20, 0x6f, 0x66,
|
376
|
+
0x20, 0x74, 0x68, 0x65, 0x20, 0x47, 0x4e, 0x55,
|
377
|
+
0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
|
378
|
+
0x20, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20,
|
379
|
+
0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x2c,
|
380
|
+
0x20, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
381
|
+
0x20, 0x32, 0x2c, 0x0a, 0x20, 0x2a, 0x20, 0x61,
|
382
|
+
0x73, 0x20, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
|
383
|
+
0x68, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74,
|
384
|
+
0x68, 0x65, 0x20, 0x46, 0x72, 0x65, 0x65, 0x20,
|
385
|
+
0x53, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65,
|
386
|
+
0x20, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74,
|
387
|
+
0x69, 0x6f, 0x6e, 0x2e, 0x0a, 0x20, 0x2a, 0x0a,
|
388
|
+
0x20, 0x2a, 0x20, 0x49, 0x6e, 0x20, 0x61, 0x64,
|
389
|
+
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x74,
|
390
|
+
0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x65,
|
391
|
+
0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
392
|
+
0x73, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65,
|
393
|
+
0x20, 0x47, 0x4e, 0x55, 0x20, 0x47, 0x65, 0x6e,
|
394
|
+
0x65, 0x72, 0x61, 0x6c, 0x20, 0x50, 0x75, 0x62,
|
395
|
+
0x6c, 0x69, 0x63, 0x20, 0x4c, 0x69, 0x63, 0x65,
|
396
|
+
0x6e, 0x73, 0x65, 0x2c, 0x0a, 0x20, 0x2a, 0x20,
|
397
|
+
0x74, 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68,
|
398
|
+
0x6f, 0x72, 0x73, 0x20, 0x67, 0x69, 0x76, 0x65,
|
399
|
+
0x20, 0x79, 0x6f, 0x75, 0x20, 0x75, 0x6e, 0x6c,
|
400
|
+
0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x20, 0x70,
|
401
|
+
0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
|
402
|
+
0x6e, 0x20, 0x74, 0x6f, 0x20, 0x6c, 0x69, 0x6e,
|
403
|
+
0x6b, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x6f,
|
404
|
+
0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x0a, 0x20,
|
405
|
+
0x2a, 0x20, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
406
|
+
0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x69,
|
407
|
+
0x73, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, 0x69,
|
408
|
+
0x6e, 0x74, 0x6f, 0x20, 0x63, 0x6f, 0x6d, 0x62,
|
409
|
+
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
410
|
+
0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x6f, 0x74,
|
411
|
+
0x68, 0x65, 0x72, 0x20, 0x70, 0x72, 0x6f, 0x67,
|
412
|
+
0x72, 0x61, 0x6d, 0x73, 0x2c, 0x0a, 0x20, 0x2a,
|
413
|
+
0x20, 0x61, 0x6e, 0x64, 0x20, 0x74, 0x6f, 0x20,
|
414
|
+
0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75,
|
415
|
+
0x74, 0x65, 0x20, 0x74, 0x68, 0x6f, 0x73, 0x65,
|
416
|
+
0x20, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61,
|
417
|
+
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x77, 0x69,
|
418
|
+
0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x61, 0x6e,
|
419
|
+
0x79, 0x20, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69,
|
420
|
+
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x20, 0x2a,
|
421
|
+
0x20, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x20,
|
422
|
+
0x66, 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65,
|
423
|
+
0x20, 0x75, 0x73, 0x65, 0x20, 0x6f, 0x66, 0x20,
|
424
|
+
0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x69, 0x6c,
|
425
|
+
0x65, 0x2e, 0x20, 0x20, 0x28, 0x54, 0x68, 0x65,
|
426
|
+
0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
|
427
|
+
0x20, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20,
|
428
|
+
0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x0a,
|
429
|
+
0x20, 0x2a, 0x20, 0x72, 0x65, 0x73, 0x74, 0x72,
|
430
|
+
0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20,
|
431
|
+
0x64, 0x6f, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x79,
|
432
|
+
0x20, 0x69, 0x6e, 0x20, 0x6f, 0x74, 0x68, 0x65,
|
433
|
+
0x72, 0x20, 0x72, 0x65, 0x73, 0x70, 0x65, 0x63,
|
434
|
+
0x74, 0x73, 0x3b, 0x20, 0x66, 0x6f, 0x72, 0x20,
|
435
|
+
0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2c,
|
436
|
+
0x20, 0x74, 0x68, 0x65, 0x79, 0x20, 0x63, 0x6f,
|
437
|
+
0x76, 0x65, 0x72, 0x0a, 0x20, 0x2a, 0x20, 0x6d,
|
438
|
+
0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
|
439
|
+
0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74,
|
440
|
+
0x68, 0x65, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2c,
|
441
|
+
0x20, 0x61, 0x6e, 0x64, 0x20, 0x64, 0x69, 0x73,
|
442
|
+
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f,
|
443
|
+
0x6e, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6e,
|
444
|
+
0x6f, 0x74, 0x20, 0x6c, 0x69, 0x6e, 0x6b, 0x65,
|
445
|
+
0x64, 0x20, 0x69, 0x6e, 0x74, 0x6f, 0x0a, 0x20,
|
446
|
+
0x2a, 0x20, 0x61, 0x20, 0x63, 0x6f, 0x6d, 0x62,
|
447
|
+
0x69, 0x6e, 0x65, 0x64, 0x20, 0x65, 0x78, 0x65,
|
448
|
+
0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e,
|
449
|
+
0x29, 0x0a, 0x20, 0x2a, 0x0a, 0x20, 0x2a, 0x20,
|
450
|
+
0x54, 0x68, 0x69, 0x73, 0x20, 0x66, 0x69, 0x6c,
|
451
|
+
0x65, 0x20, 0x69, 0x73, 0x20, 0x64, 0x69, 0x73,
|
452
|
+
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64,
|
453
|
+
0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20,
|
454
|
+
0x68, 0x6f, 0x70, 0x65, 0x20, 0x74, 0x68, 0x61,
|
455
|
+
0x74, 0x20, 0x69, 0x74, 0x20, 0x77, 0x69, 0x6c,
|
456
|
+
0x6c, 0x20, 0x62, 0x65, 0x20, 0x75, 0x73, 0x65,
|
457
|
+
0x66, 0x75, 0x6c, 0x2c, 0x20, 0x62, 0x75, 0x74,
|
458
|
+
0x0a, 0x20, 0x2a, 0x20, 0x57, 0x49, 0x54, 0x48,
|
459
|
+
0x4f, 0x55, 0x54, 0x20, 0x41, 0x4e, 0x59, 0x20,
|
460
|
+
0x57, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x54, 0x59,
|
461
|
+
0x3b, 0x20, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75,
|
462
|
+
0x74, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x20, 0x74,
|
463
|
+
0x68, 0x65, 0x20, 0x69, 0x6d, 0x70, 0x6c, 0x69,
|
464
|
+
0x65, 0x64, 0x20, 0x77, 0x61, 0x72, 0x72, 0x61,
|
465
|
+
0x6e, 0x74, 0x79, 0x20, 0x6f, 0x66, 0x0a, 0x20,
|
466
|
+
0x2a, 0x20, 0x4d, 0x45, 0x52, 0x43, 0x48, 0x41,
|
467
|
+
0x4e, 0x54, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54,
|
468
|
+
0x59, 0x20, 0x6f, 0x72, 0x20, 0x46, 0x49, 0x54,
|
469
|
+
0x4e, 0x45, 0x53, 0x53, 0x20, 0x46, 0x4f, 0x52,
|
470
|
+
0x20, 0x41, 0x20, 0x50, 0x41, 0x52, 0x54, 0x49,
|
471
|
+
0x43, 0x55, 0x4c, 0x41, 0x52, 0x20, 0x50, 0x55,
|
472
|
+
0x52, 0x50, 0x4f, 0x53, 0x45, 0x2e, 0x20, 0x20,
|
473
|
+
0x53, 0x65, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20,
|
474
|
+
0x47, 0x4e, 0x55, 0x0a, 0x20, 0x2a, 0x20, 0x47,
|
475
|
+
0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x20, 0x50,
|
476
|
+
0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x4c, 0x69,
|
477
|
+
0x63, 0x65, 0x6e, 0x73, 0x65, 0x20, 0x66, 0x6f,
|
478
|
+
0x72, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20, 0x64,
|
479
|
+
0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x0a,
|
480
|
+
0x20, 0x2a, 0x0a, 0x20, 0x2a, 0x20, 0x59, 0x6f,
|
481
|
+
0x75, 0x20, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64,
|
482
|
+
0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x72, 0x65,
|
483
|
+
0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x20, 0x61,
|
484
|
+
0x20, 0x63, 0x6f, 0x70, 0x79, 0x20, 0x6f, 0x66,
|
485
|
+
0x20, 0x74, 0x68, 0x65, 0x20, 0x47, 0x4e, 0x55,
|
486
|
+
0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
|
487
|
+
0x20, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20,
|
488
|
+
0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x0a,
|
489
|
+
0x20, 0x2a, 0x20, 0x61, 0x6c, 0x6f, 0x6e, 0x67,
|
490
|
+
0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68,
|
491
|
+
0x69, 0x73, 0x20, 0x70, 0x72, 0x6f, 0x67, 0x72,
|
492
|
+
0x61, 0x6d, 0x3b, 0x20, 0x73, 0x65, 0x65, 0x20,
|
493
|
+
0x74, 0x68, 0x65, 0x20, 0x66, 0x69, 0x6c, 0x65,
|
494
|
+
0x20, 0x43, 0x4f, 0x50, 0x59, 0x49, 0x4e, 0x47,
|
495
|
+
0x2e, 0x20, 0x20, 0x49, 0x66, 0x20, 0x6e, 0x6f,
|
496
|
+
0x74, 0x2c, 0x20, 0x77, 0x72, 0x69, 0x74, 0x65,
|
497
|
+
0x20, 0x74, 0x6f, 0x0a, 0x20, 0x2a, 0x20, 0x74,
|
498
|
+
0x68, 0x65, 0x20, 0x46, 0x72, 0x65, 0x65, 0x20,
|
499
|
+
0x53, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65,
|
500
|
+
0x20, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74,
|
501
|
+
0x69, 0x6f, 0x6e, 0x2c, 0x20, 0x35, 0x31, 0x20,
|
502
|
+
0x46, 0x72, 0x61, 0x6e, 0x6b, 0x6c, 0x69, 0x6e,
|
503
|
+
0x20, 0x53, 0x74, 0x72, 0x65, 0x65, 0x74, 0x2c,
|
504
|
+
0x20, 0x46, 0x69, 0x66, 0x74, 0x68, 0x20, 0x46,
|
505
|
+
0x6c, 0x6f, 0x6f, 0x72, 0x2c, 0x0a, 0x20, 0x2a,
|
506
|
+
0x20, 0x42, 0x6f, 0x73, 0x74, 0x6f, 0x6e, 0x2c,
|
507
|
+
0x20, 0x4d, 0x41, 0x20, 0x30, 0x32, 0x31, 0x31,
|
508
|
+
0x30, 0x2d, 0x31, 0x33, 0x30, 0x31, 0x2c, 0x20,
|
509
|
+
0x55, 0x53, 0x41, 0x2e, 0x0a, 0x20, 0x2a, 0x2f,
|
510
|
+
0x0a,
|
511
|
+
};
|
512
|
+
|
513
|
+
static object_data some = {
|
514
|
+
some_bytes,
|
515
|
+
sizeof(some_bytes),
|
516
|
+
"fd8430bc864cfcd5f10e5590f8a447e01b942bfe",
|
517
|
+
"blob",
|
518
|
+
"test-objects/fd",
|
519
|
+
"test-objects/fd/8430bc864cfcd5f10e5590f8a447e01b942bfe",
|
520
|
+
some_data,
|
521
|
+
sizeof(some_data),
|
522
|
+
};
|