END_IT END_DESCRIBE int main() { CSpec_Run( DESCRIPTION( strcmp ), CSpec_NewOutputVerbose() ); CSpec_Run( DESCRIPTION( foo ), CSpec_NewOutputVerbose() ); }
//=======MAIN===== int main(void) { CSpecOutputStruct* output = CSpec_NewOutputVerbose(); CSpec_Run( DESCRIPTION( EmptySkipList ), output); CSpec_Run( DESCRIPTION( SkipListCount ), output); CSpec_Run( DESCRIPTION( SkipListInsert ), output); CSpec_Run( DESCRIPTION( SkipListContains ), output); CSpec_Run( DESCRIPTION( SkipListDelete ), output); }
int main() { CSpec_XmlFileOpen("results.xml", "shift_jis"); CSpec_Run( DESCRIPTION( strcmp ), CSpec_NewOutputXml() ); CSpec_Run( DESCRIPTION( fabs ), CSpec_NewOutputXml() ); CSpec_XmlFileClose(); return 0; }
END_IT END_DESCRIBE int main () { CSpec_Run(DESCRIPTION(printDate), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(yearOfDate), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(monthOfDate), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(leapYear), CSpec_NewOutputUnit()); return 0; }
END_IT END_DESCRIBE void main() { CSpec_Run( DESCRIPTION( strcmp ), CSpec_NewOutputVerbose() ); }
END_IT END_DESCRIBE int main () { CSpec_Run(DESCRIPTION(castToNum), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(castToInt), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(castToBoo), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(fRound), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(castToFlo), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(castToStr), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(castToStrWithBase), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(alphaNumeric), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(castToArr), CSpec_NewOutputUnit()); return 0; }
int main() { CSpec_Run(DESCRIPTION(ekvs_open), CSpec_NewOutputVerbose()); CSpec_Run(DESCRIPTION(ekvs_set_ex), CSpec_NewOutputVerbose()); CSpec_Run(DESCRIPTION(ekvs_get), CSpec_NewOutputVerbose()); CSpec_Run(DESCRIPTION(ekvs_del), CSpec_NewOutputVerbose()); CSpec_Run(DESCRIPTION(ekvs_binlog), CSpec_NewOutputVerbose()); CSpec_Run(DESCRIPTION(ekvs_snapshot), CSpec_NewOutputVerbose()); return 0; }
static std::string statsHelp() { return HELP( TLDR( "Shows local system metrics."), DESCRIPTION( "> cpus_total Total number of available CPUs", "> load_1min Average system load for last" " minute in uptime(1) style", "> load_5min Average system load for last" " 5 minutes in uptime(1) style", "> load_15min Average system load for last" " 15 minutes in uptime(1) style", "> memory_total_bytes Total system memory in bytes", "> memory_free_bytes Free system memory in bytes")); }
void smartschoolTest::testSaveClass() { y::ldap::server Server; y::ldap::schoolClass & group = Server.getClass(CN("1X")); group.cn(CN("1X")); group.description(DESCRIPTION("1e leerjaar X (test)")); group.schoolID(SCHOOL_ID(125261)); group.adminGroup(ADMINGROUP(6246)); if(!y::Smartschool().saveClass(group)) { CPPUNIT_ASSERT(false); } if(!y::Smartschool().deleteClass(group)) { CPPUNIT_ASSERT(false); } }
const std::string Logging::TOGGLE_HELP() { return HELP( TLDR( "Sets the logging verbosity level for a specified duration."), DESCRIPTION( "The libprocess library uses [glog][glog] for logging. The library", "only uses verbose logging which means nothing will be output unless", "the verbosity level is set (by default it's 0, libprocess uses" "levels 1, 2, and 3).", "", "**NOTE:** If your application uses glog this will also affect", "your verbose logging.", "", "Query parameters:", "", "> level=VALUE Verbosity level (e.g., 1, 2, 3)", "> duration=VALUE Duration to keep verbosity level", "> toggled (e.g., 10secs, 15mins, etc.)"), REFERENCES( "[glog]: https://code.google.com/p/google-glog")); }
static const string VERSION_HELP() { // TODO(haosdent): generate the example in description automatically after we // have json pretty printing. return HELP( TLDR( "Provides version information."), DESCRIPTION( "Example:", "", "```", "{", " \"version\":\"0.26.0\",", " \"build_user\":\"username\",", " \"build_time\":1443894750,", " \"build_date\":\"2015-10-04 01:52:30\"", " \"git_branch\":\"branch\", // Optional", " \"git_tag\":\"0.26.0-rc1\", // Optional", " \"git_sha\":\"d31f096a4665650ad4b9eda372ac41d2c472a77c\"," " // Optional", "}", "```")); }
int main() { SETUP_WORKSPACE(); CHOSE_LANGUAGE(); DESCRIPTION(); CHOSE_DEVICE(); YOUR_CHOICE(); MIUI_ROM_CHECK(); INITIALIZE(); DELETE_DHD_FILES(); COPY_CM7_FILES(); CUSTOMIZATION(); SIGN_ROM(); OUTPUT_CHECK(); CLEAN_WORKSPACE(); AUTO_FLASH_FUNCTION(); CLEAN_WORKSPACE(); return 0; }
END_IT END_DESCRIBE int main () { CSpec_Run(DESCRIPTION(newExpression), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionOfType), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionNil), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionLaz), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionInt), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionFlo), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionStr), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionArr), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionFun), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionTyp), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExpressionAll), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyExpression), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyExpressionNR), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newLazyExpression), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newString), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newArray), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyArray), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyArrayDeep), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newDate), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newObject), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyObject), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newType), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newProperty), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyProperty), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newTapFunction), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newArgument), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyArgument), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newTypelist), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newTypelistWithNext), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyTypelist), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(copyTypelistDeep), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newTypedefs), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newExprstack), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newPrimFunction), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newEnvironment), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newStringlist), CSpec_NewOutputUnit()); CSpec_Run(DESCRIPTION(newErrorlist), CSpec_NewOutputUnit()); return 0; }
int app_test_run(void) { return CSpec_Run( DESCRIPTION( app_init ), CSpec_NewOutputVerbose() ); }
message. The need to do this is somewhat unfortunate since it will appear to an observer that cryptlib will use crippled crypto (in fact it won't even load such a key) but there's no other way to detect the buggy IIS apart from completely restarting the session activation at the session level with crippled-crypto advertised in the restarted session. The number of suites and different configuration options are sufficiently complex that we can't use a fixed table for them but have to dynamically build them up at runtime from the following sub-tables */ #define MAX_CIPHERSUITE_TBLSIZE 64 static const CIPHERSUITE_INFO cipherSuiteDH[] = { /* 3DES with DH */ { TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, DESCRIPTION( "TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA" ) CRYPT_ALGO_DH, CRYPT_ALGO_RSA, CRYPT_ALGO_3DES, CRYPT_ALGO_HMAC_SHA1, 0, 24, SHA1MAC_SIZE, CIPHERSUITE_FLAG_DH }, /* { TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, DESCRIPTION( "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" ) CRYPT_ALGO_DH, CRYPT_ALGO_DSA, CRYPT_ALGO_3DES, CRYPT_ALGO_HMAC_SHA1, 0, 24, SHA1MAC_SIZE, CIPHERSUITE_FLAG_DH }, */ /* AES with DH */ { TLS_DHE_RSA_WITH_AES_128_CBC_SHA, DESCRIPTION( "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" ) CRYPT_ALGO_DH, CRYPT_ALGO_RSA, CRYPT_ALGO_AES, CRYPT_ALGO_HMAC_SHA1, 0, 16, SHA1MAC_SIZE, CIPHERSUITE_FLAG_DH },