Giter Site home page Giter Site logo

cuckoo's People

Contributors

mailund avatar

Watchers

 avatar  avatar

cuckoo's Issues

, not this much


opened via imdone.io from a code comment on 28eae17


cuckoo/libcuckoo/cuckoo.c

Lines 172 to 177 in 28eae17

int attempt_threshold = map->table_size; // FIXME, not this much
for (int i = 0; i < attempt_threshold; ++i) {
// I'm using the last bit of i to pick the table.
// This is so I can simply increment i to pick the other table.

There must be a better way to set these files

set(COVERAGE_SRCS 
	libcuckoo/cuckoo.h 
	libcuckoo/cuckoo_internal.h 
	libcuckoo/cuckoo.c)
coveralls_setup("${COVERAGE_SRCS}" ON) # ON / OFF upload

endif()


opened via imdone.io from a code comment on d86e4e870efc42f5c79eb5c4ba11b243b5320802 by Thomas Mailund [email protected]


cuckoo/CMakeLists.txt

Lines 11 to 22 in 28eae17

#FIXME: There must be a better way to set these files
set(COVERAGE_SRCS
libcuckoo/cuckoo.h
libcuckoo/cuckoo_internal.h
libcuckoo/cuckoo.c)
coveralls_setup("${COVERAGE_SRCS}" ON) # ON / OFF upload
endif()
# Make sure we use C99 with gcc
if (CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
endif()

We want to match against relative path filenames from the source file root...


opened via imdone.io from a code comment on d86e4e870efc42f5c79eb5c4ba11b243b5320802 by Thomas Mailund [email protected]


# TODO: We want to match against relative path filenames from the source file root...
list(FIND COVERAGE_SRCS ${GCOV_SRC_PATH} WAS_FOUND)
if (NOT WAS_FOUND EQUAL -1)
message("YES: ${GCOV_FILE}")
list(APPEND GCOV_FILES ${GCOV_FILE})

, not this much


opened via imdone.io from a code comment on 28eae17


int attempt_threshold = set->table_size; // FIXME, not this much
for (int i = 0; i < attempt_threshold; ++i) {
// I'm using the last bit of i to pick the table.
// This is so I can simply increment i to pick the other table.

Setup CI

  • Setup travis
  • Setup coveralls

The cmake module I have included should handle coveralls if I get it configured to run on Travis.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.