-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Async fs checks , cmake boost policy update
- Loading branch information
Showing
12 changed files
with
457 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
|
||
# Void: Void | ||
# Boolean: Bool | ||
# Integers: Int8, Int16, Int32, Int64 | ||
# Unsigned integers: UInt8, UInt16, UInt32, UInt64 | ||
# Floating-point: Float32, Float64 | ||
# Blobs: Text, Data | ||
# Lists: List(T) | ||
|
||
struct Timestamp { | ||
unixtime @0 :Int64; | ||
} | ||
|
||
struct UUID { | ||
type @0 :Type = Seven; | ||
low @1 :UInt64; | ||
high @2 :UInt64; | ||
|
||
enum Type { | ||
Seven @0; | ||
Four @1; | ||
} | ||
} | ||
|
||
interface Image { | ||
exists @0 () -> (result : Bool); | ||
toText @1 () -> (text : Data); | ||
toHash @2 () -> (result : Data); | ||
} | ||
|
||
struct KImage { | ||
id @0 :UUID; | ||
uri @1 :Text; | ||
size @3 :UInt64; | ||
hash @4 :Data; | ||
text @5 :Text; | ||
fuzzhash @6 :Text; | ||
} | ||
|
||
# Image | ||
# - id | ||
# - uri | ||
# - hash | ||
# - text | ||
# - format | ||
# - names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
|
||
class Serializer { | ||
virtual void serialize() const = 0; | ||
virtual void deserialize() const = 0; | ||
}; | ||
|
||
class ImageSerializer: Serializer { | ||
void serialize() const override {} | ||
|
||
void deserialize() const override {} | ||
}; | ||
|
||
#include <iostream> | ||
|
||
auto main(int argc, char **argv) -> int { | ||
std::cout << "101010" << std::endl; | ||
|
||
auto imgs = new ImageSerializer(); | ||
|
||
return 0; | ||
} | ||
|
||
/* | ||
@0xbf5147cbbecf40c1; | ||
struct Image { | ||
id @0 :Int32; | ||
filename @1 :Text; | ||
data @2 :Data; | ||
} | ||
struct TextFile { | ||
id @0 :Int32; | ||
filename @1 :Text; | ||
content @2 :Text; | ||
} | ||
struct DataCollection { | ||
images @0 :List(Image); | ||
texts @1 :List(TextFile); | ||
} | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Start testing: Jul 23 03:26 EDT | ||
---------------------------------------------------------- | ||
End testing: Jul 23 03:26 EDT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ TEST(SimilaritySuite, ImageSHA256Unequal) { | |
auto sha_b = computeSHA256(unequal); | ||
|
||
EXPECT_NE(sha_a, sha_b); | ||
} | ||
} |
Oops, something went wrong.