Skip to content

Commit

Permalink
Byte sequence reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
robosherpa committed Nov 2, 2019
1 parent f1e8648 commit 7bba108
Show file tree
Hide file tree
Showing 8 changed files with 196 additions and 289 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ CMakeCache.txt
CMakeFiles/
Makefile
cmake_install.cmake
*.swp
23 changes: 13 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,33 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(GTest REQUIRED)

include_directories(
${PROJECT_BUILD_DIR}
${PROJECT_SOURCE_DIR}
${GTEST_INCLUDE_DIRS}
)

# Link executables
add_executable(
build/sampleCryptoPangramsTest
tests/cryptopangrams_test.cpp
build/sampleTopKTest
tests/topK_test.cpp
)

target_link_libraries(
build/sampleCryptoPangramsTest
build/sampleTopKTest
${GTEST_LIBRARIES}
pthread
)

# Link executables
add_executable(
build/sampleTopKTest
tests/topK_test.cpp
)
build/randomGeneratorTest
tests/random_generator_test.cpp
)

target_link_libraries(
build/sampleTopKTest
${GTEST_LIBRARIES}
pthread
)
build/randomGeneratorTest
${GTEST_LIBRARIES}
pthread
)


64 changes: 0 additions & 64 deletions README.MD

This file was deleted.

115 changes: 115 additions & 0 deletions sample-code.cbp
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="sample-code" />
<Option makefile_is_custom="1" />
<Option compiler="gcc" />
<Option virtualFolders="CMake Files\;" />
<Build>
<Target title="all">
<Option working_dir="/home/bikram/sample-code" />
<Option type="4" />
<MakeCommands>
<Build command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 all" />
<CompileFile command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 &quot;$file&quot;" />
<Clean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
<DistClean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
</MakeCommands>
</Target>
<Target title="rebuild_cache">
<Option working_dir="/home/bikram/sample-code" />
<Option type="4" />
<MakeCommands>
<Build command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 rebuild_cache" />
<CompileFile command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 &quot;$file&quot;" />
<Clean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
<DistClean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
</MakeCommands>
</Target>
<Target title="build/randomGeneratorTest">
<Option output="/home/bikram/sample-code/build/randomGeneratorTest" prefix_auto="0" extension_auto="0" />
<Option working_dir="/home/bikram/sample-code" />
<Option object_output="./" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add directory="/home/bikram/sample-code" />
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 build/randomGeneratorTest" />
<CompileFile command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 &quot;$file&quot;" />
<Clean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
<DistClean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
</MakeCommands>
</Target>
<Target title="build/randomGeneratorTest/fast">
<Option output="/home/bikram/sample-code/build/randomGeneratorTest" prefix_auto="0" extension_auto="0" />
<Option working_dir="/home/bikram/sample-code" />
<Option object_output="./" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add directory="/home/bikram/sample-code" />
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 build/randomGeneratorTest/fast" />
<CompileFile command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 &quot;$file&quot;" />
<Clean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
<DistClean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
</MakeCommands>
</Target>
<Target title="edit_cache">
<Option working_dir="/home/bikram/sample-code" />
<Option type="4" />
<MakeCommands>
<Build command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 edit_cache" />
<CompileFile command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 &quot;$file&quot;" />
<Clean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
<DistClean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
</MakeCommands>
</Target>
<Target title="build/sampleTopKTest">
<Option output="/home/bikram/sample-code/build/sampleTopKTest" prefix_auto="0" extension_auto="0" />
<Option working_dir="/home/bikram/sample-code" />
<Option object_output="./" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add directory="/home/bikram/sample-code" />
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 build/sampleTopKTest" />
<CompileFile command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 &quot;$file&quot;" />
<Clean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
<DistClean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
</MakeCommands>
</Target>
<Target title="build/sampleTopKTest/fast">
<Option output="/home/bikram/sample-code/build/sampleTopKTest" prefix_auto="0" extension_auto="0" />
<Option working_dir="/home/bikram/sample-code" />
<Option object_output="./" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add directory="/home/bikram/sample-code" />
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 build/sampleTopKTest/fast" />
<CompileFile command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 &quot;$file&quot;" />
<Clean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
<DistClean command="/usr/bin/make -f &quot;/home/bikram/sample-code/Makefile&quot; VERBOSE=1 clean" />
</MakeCommands>
</Target>
</Build>
<Unit filename="/home/bikram/sample-code/tests/random_generator_test.cpp">
<Option target="build/randomGeneratorTest"/>
</Unit>
<Unit filename="/home/bikram/sample-code/tests/topK_test.cpp">
<Option target="build/sampleTopKTest"/>
</Unit>
<Unit filename="/home/bikram/sample-code/CMakeLists.txt">
<Option virtualFolder="CMake Files\" />
</Unit>
</Project>
</CodeBlocks_project_file>
164 changes: 0 additions & 164 deletions src/cryptopangrams.cpp

This file was deleted.

Loading

0 comments on commit 7bba108

Please sign in to comment.