Home
last modified time | relevance | path

Searched refs:checkTruth (Results 1 – 4 of 4) sorted by relevance

/dports/audio/gonic/gonic-0.8.4/vendor/github.com/jinzhu/gorm/
H A Dcallback_save.go17 checkTruth := func(value interface{}) bool {
35 autoUpdate = checkTruth(value)
39 autoUpdate = checkTruth(value)
45 autoUpdate = checkTruth(value)
47 autoUpdate = checkTruth(value)
51 autoCreate = checkTruth(value)
53 autoCreate = checkTruth(value)
57 saveReference = checkTruth(value)
59 saveReference = checkTruth(value)
/dports/security/vuls/vuls-0.13.7/vendor/github.com/jinzhu/gorm/
H A Dcallback_save.go17 checkTruth := func(value interface{}) bool {
35 autoUpdate = checkTruth(value)
39 autoUpdate = checkTruth(value)
45 autoUpdate = checkTruth(value)
47 autoUpdate = checkTruth(value)
51 autoCreate = checkTruth(value)
53 autoCreate = checkTruth(value)
57 saveReference = checkTruth(value)
59 saveReference = checkTruth(value)
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/vendor/github.com/jinzhu/gorm/
H A Dcallback_save.go17 checkTruth := func(value interface{}) bool {
35 autoUpdate = checkTruth(value)
39 autoUpdate = checkTruth(value)
45 autoUpdate = checkTruth(value)
47 autoUpdate = checkTruth(value)
51 autoCreate = checkTruth(value)
53 autoCreate = checkTruth(value)
57 saveReference = checkTruth(value)
59 saveReference = checkTruth(value)
/dports/math/kcalc/kcalc-21.12.3/knumber/tests/
H A Dknumbertest.cpp51 void checkTruth(const QString &string, bool computation, bool desired_result) in checkTruth() function
84 checkTruth(QStringLiteral("KNumber(5) == KNumber(2)"), KNumber(5) == KNumber(2), false); in testingCompare()
85 checkTruth(QStringLiteral("KNumber(5) > KNumber(2)"), KNumber(5) > KNumber(2), true); in testingCompare()
86 checkTruth(QStringLiteral("KNumber(5) < KNumber(2)"), KNumber(5) < KNumber(2), false); in testingCompare()
87 checkTruth(QStringLiteral("KNumber(5) < KNumber(0)"), KNumber(5) < KNumber(0), false); in testingCompare()
88 checkTruth(QStringLiteral("KNumber(-5) < KNumber(0)"), KNumber(-5) < KNumber(0), true); in testingCompare()
89 checkTruth(QStringLiteral("KNumber(5) >= KNumber(2)"), KNumber(5) >= KNumber(2), true); in testingCompare()
91 checkTruth(QStringLiteral("KNumber(5) != KNumber(2)"), KNumber(5) != KNumber(2), true); in testingCompare()
93 checkTruth(QStringLiteral("KNumber(2) == KNumber(2)"), KNumber(2) == KNumber(2), true); in testingCompare()
94 checkTruth(QStringLiteral("KNumber(2) > KNumber(2)"), KNumber(2) > KNumber(2), false); in testingCompare()
[all …]