Home
last modified time | relevance | path

Searched refs:checkType (Results 1 – 25 of 1822) sorted by relevance

12345678910>>...73

/dports/graphics/vigra/vigra-8acd73a/vigranumpy/test/
H A Dtest1.py73 def checkType(i,type): function
131 checkType(res,np.uint32)
135 checkType(res,np.uint32)
183 checkType(res,res.dtype)
194 checkType(res, np.float32)
224 checkType(res, np.uint8)
228 checkType(res, np.uint8)
232 checkType(res, np.uint8)
240 checkType(res1, np.uint8)
244 checkType(res1, np.uint8)
[all …]
/dports/devel/spark/spark-2.1.1/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/
H A DDecimalPrecisionSuite.scala84 checkType(Add(d1, d2), DecimalType(6, 2))
91 checkType(Sum(d1), DecimalType(12, 1))
92 checkType(Average(d1), DecimalType(6, 5))
123 checkType(Add(d1, i), DecimalType(12, 1))
124 checkType(Add(d1, f), DoubleType)
125 checkType(Add(i, d1), DecimalType(12, 1))
126 checkType(Add(f, d1), DoubleType)
155 checkType(Add(expr, u), DoubleType)
156 checkType(Subtract(expr, u), DoubleType)
157 checkType(Multiply(expr, u), DoubleType)
[all …]
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/leanovate/gopter/prop/
H A Dcheck_condition_func.go13 checkType := checkVal.Type()
15 if checkType.Kind() != reflect.Func {
18 if checkType.NumIn() != numArgs {
19 …f("Number of parameters does not match number of generators: %d != %d", checkType.NumIn(), numArgs)
21 if checkType.NumOut() == 0 {
23 } else if checkType.NumOut() > 2 {
24 return nil, fmt.Errorf("No more than 2 output parameters are allowed: %d", checkType.NumOut())
25 } else if checkType.NumOut() == 2 && !checkType.Out(1).Implements(typeOfError) {
26 return nil, fmt.Errorf("No 2 output has to be error: %v", checkType.Out(1).Kind())
27 } else if checkType.NumOut() == 2 {
/dports/textproc/zorba/zorba-2.7.0/test/api/
H A Ditemfactory.cpp43 checkType(const Item& aItem, const String& aLocalname) in checkType() function
111 UNIT_ASSERT ( checkType(lItem.getType(), "string") ); in itemfactory()
121 UNIT_ASSERT ( checkType(lItem.getType(), "anyURI") ); in itemfactory()
128 UNIT_ASSERT ( checkType(lItem.getType(), "QName") ); in itemfactory()
135 UNIT_ASSERT ( checkType(lItem.getType(), "QName") ); in itemfactory()
145 UNIT_ASSERT ( checkType(lItem.getType(), "QName") ); in itemfactory()
155 UNIT_ASSERT ( checkType(lItem.getType(), "NCName") ); in itemfactory()
254 UNIT_ASSERT ( checkType(lItem.getType(), "int") ); in itemfactory()
266 UNIT_ASSERT ( checkType(lItem.getType(), "short") ); in itemfactory()
277 UNIT_ASSERT ( checkType(lItem.getType(), "byte") ); in itemfactory()
[all …]
/dports/security/cryptlib/cryptlib-3.4.3/kernel/
H A Dobj_acc.c106 const ACCESS_CHECK_TYPE checkType, in checkAccessValid()
113 checkType < ACCESS_CHECK_LAST ); in checkAccessValid()
132 if( checkType != ACCESS_CHECK_KEYACCESS ) in checkAccessValid()
145 if( checkType != ACCESS_CHECK_EXTACCESS ) in checkAccessValid()
154 if( checkType == ACCESS_CHECK_EXTACCESS ) in checkAccessValid()
166 if( checkType != ACCESS_CHECK_SUSPEND ) in checkAccessValid()
177 if( checkType != ACCESS_CHECK_SUSPEND ) in checkAccessValid()
230 checkType < ACCESS_CHECK_LAST ); in getObject()
301 checkType == ACCESS_CHECK_KEYACCESS ) in getObject()
349 checkType < ACCESS_CHECK_LAST ); in releaseObject()
[all …]
/dports/misc/molequeue/molequeue-0.9.0/molequeue/servercore/
H A Dmessage.cpp145 if (!checkType(Q_FUNC_INFO, Response)) in result()
153 if (!checkType(Q_FUNC_INFO, Response)) in resultRef()
161 if (!checkType(Q_FUNC_INFO, Response)) in setResult()
169 if (!checkType(Q_FUNC_INFO, Error)) in errorCode()
177 if (!checkType(Q_FUNC_INFO, Error)) in setErrorCode()
185 if (!checkType(Q_FUNC_INFO, Error)) in errorMessage()
193 if (!checkType(Q_FUNC_INFO,Error)) in setErrorMessage()
201 if (!checkType(Q_FUNC_INFO, Error)) in errorData()
209 if (!checkType(Q_FUNC_INFO, Error)) in errorDataRef()
217 if (!checkType(Q_FUNC_INFO, Error)) in setErrorData()
[all …]
/dports/misc/py-molequeue/molequeue-0.9.0/molequeue/servercore/
H A Dmessage.cpp145 if (!checkType(Q_FUNC_INFO, Response)) in result()
153 if (!checkType(Q_FUNC_INFO, Response)) in resultRef()
161 if (!checkType(Q_FUNC_INFO, Response)) in setResult()
169 if (!checkType(Q_FUNC_INFO, Error)) in errorCode()
177 if (!checkType(Q_FUNC_INFO, Error)) in setErrorCode()
185 if (!checkType(Q_FUNC_INFO, Error)) in errorMessage()
193 if (!checkType(Q_FUNC_INFO,Error)) in setErrorMessage()
201 if (!checkType(Q_FUNC_INFO, Error)) in errorData()
209 if (!checkType(Q_FUNC_INFO, Error)) in errorDataRef()
217 if (!checkType(Q_FUNC_INFO, Error)) in setErrorData()
[all …]
/dports/www/mediawiki135/mediawiki-1.35.5/extensions/Scribunto/includes/engines/LuaCommon/
H A DLanguageLibrary.php72 $this->checkType( 'isSupportedLanguage', 1, $code, 'string' );
88 $this->checkType( 'isKnownLanguageTag', 1, $code, 'string' );
99 $this->checkType( 'isValidCode', 1, $code, 'string' );
122 $this->checkType( 'fetchLanguageName', 1, $code, 'string' );
147 $this->checkType( 'getFallbacksFor', 1, $code, 'string' );
189 $this->checkType( $name, 1, $args[0], 'string' );
217 $this->checkType( 'convertPlural', 1, $number, 'number' );
246 $this->checkType( 'gender', 1, $args[0], 'string' );
299 $this->checkType( 'formatNum', 1, $num, 'number' );
303 $this->checkType( 'formatNum', 2, $args[1], 'table' );
[all …]
H A DTitleLibrary.php109 $this->checkType( 'getExpensiveData', 1, $text, 'string' );
213 $this->checkType( 'makeTitle', 2, $text, 'string' );
244 $this->checkType( 'getUrl', 1, $text, 'string' );
245 $this->checkType( 'getUrl', 2, $which, 'string' );
325 $this->checkType( 'getContent', 1, $text, 'string' );
337 $this->checkType( 'getFileInfo', 1, $text, 'string' );
399 $this->checkType( 'protectionLevels', 1, $text, 'string' );
420 $this->checkType( 'cascadingProtection', 1, $text, 'string' );
447 $this->checkType( 'redirectTarget', 1, $text, 'string' );
461 $this->checkType( 'recordVaryFlag', 1, $text, 'string' );
[all …]
/dports/www/mediawiki135/mediawiki-1.35.5/extensions/Scribunto/tests/phpunit/engines/LuaCommon/
H A DLibraryUtilTests.lua11 local checkType = util.checkType
32 { name = 'checkType, valid', func = checkType, type='ToString',
36 { name = 'checkType, invalid', func = checkType, type='ToString',
40 { name = 'checkType, nil valid', func = checkType, type='ToString',
44 { name = 'checkType, nil invalid', func = checkType, type='ToString',
48 { name = 'checkType, boolean', func = checkType, type='ToString',
52 { name = 'checkType, table', func = checkType, type='ToString',
56 { name = 'checkType, function', func = checkType, type='ToString',
60 { name = 'checkType, argument #2', func = checkType, type='ToString',
64 { name = 'checkType, name', func = checkType, type='ToString',
/dports/www/mediawiki137/mediawiki-1.37.1/extensions/Scribunto/tests/phpunit/engines/LuaCommon/
H A DLibraryUtilTests.lua11 local checkType = util.checkType
32 { name = 'checkType, valid', func = checkType, type='ToString',
36 { name = 'checkType, invalid', func = checkType, type='ToString',
40 { name = 'checkType, nil valid', func = checkType, type='ToString',
44 { name = 'checkType, nil invalid', func = checkType, type='ToString',
48 { name = 'checkType, boolean', func = checkType, type='ToString',
52 { name = 'checkType, table', func = checkType, type='ToString',
56 { name = 'checkType, function', func = checkType, type='ToString',
60 { name = 'checkType, argument #2', func = checkType, type='ToString',
64 { name = 'checkType, name', func = checkType, type='ToString',
/dports/www/mediawiki136/mediawiki-1.36.3/extensions/Scribunto/tests/phpunit/engines/LuaCommon/
H A DLibraryUtilTests.lua11 local checkType = util.checkType
32 { name = 'checkType, valid', func = checkType, type='ToString',
36 { name = 'checkType, invalid', func = checkType, type='ToString',
40 { name = 'checkType, nil valid', func = checkType, type='ToString',
44 { name = 'checkType, nil invalid', func = checkType, type='ToString',
48 { name = 'checkType, boolean', func = checkType, type='ToString',
52 { name = 'checkType, table', func = checkType, type='ToString',
56 { name = 'checkType, function', func = checkType, type='ToString',
60 { name = 'checkType, argument #2', func = checkType, type='ToString',
64 { name = 'checkType, name', func = checkType, type='ToString',
/dports/lang/mosh/mosh-0.2.7/src/
H A DProcedureMacro.h134 #define checkType(index, variableName, pred, required) \ macro
164 #define argumentCheckList(index, variableName) checkType(index, variableName, isList, list)
216 #define argumentCheckChar(index, variableName) checkType(index, variableName, isChar, char)
217 #define argumentCheckFixnum(index, variableName) checkType(index, variableName, isFixnum, fixnum)
218 #define argumentCheckFlonum(index, variableName) checkType(index, variableName, isFlonum, flonum)
221 #define argumentCheckNumber(index, variableName) checkType(index, variableName, isNumber, number)
223 #define argumentCheckReal(index, variableName) checkType(index, variableName, isReal, real)
228 #define argumentCheckVector(index, variableName) checkType(index, variableName, isVector, vector)
230 #define argumentCheckString(index, variableName) checkType(index, variableName, isString, string)
242 #define argumentCheckPair(index, variableName) checkType(index, variableName, isPair, pair)
[all …]
/dports/www/mediawiki136/mediawiki-1.36.3/extensions/Scribunto/includes/engines/LuaCommon/
H A DLanguageLibrary.php75 $this->checkType( 'isSupportedLanguage', 1, $code, 'string' );
91 $this->checkType( 'isKnownLanguageTag', 1, $code, 'string' );
102 $this->checkType( 'isValidCode', 1, $code, 'string' );
125 $this->checkType( 'fetchLanguageName', 1, $code, 'string' );
150 $this->checkType( 'getFallbacksFor', 1, $code, 'string' );
192 $this->checkType( $name, 1, $args[0], 'string' );
220 $this->checkType( 'convertPlural', 1, $number, 'number' );
249 $this->checkType( 'gender', 1, $args[0], 'string' );
302 $this->checkType( 'formatNum', 1, $num, 'number' );
312 $this->checkType( 'formatNum', 2, $args[1], 'table' );
[all …]
H A DTitleLibrary.php111 $this->checkType( 'getExpensiveData', 1, $text, 'string' );
215 $this->checkType( 'makeTitle', 2, $text, 'string' );
246 $this->checkType( 'getUrl', 1, $text, 'string' );
247 $this->checkType( 'getUrl', 2, $which, 'string' );
327 $this->checkType( 'getContent', 1, $text, 'string' );
339 $this->checkType( 'getFileInfo', 1, $text, 'string' );
402 $this->checkType( 'protectionLevels', 1, $text, 'string' );
423 $this->checkType( 'cascadingProtection', 1, $text, 'string' );
450 $this->checkType( 'redirectTarget', 1, $text, 'string' );
464 $this->checkType( 'recordVaryFlag', 1, $text, 'string' );
[all …]
/dports/www/mediawiki137/mediawiki-1.37.1/extensions/Scribunto/includes/engines/LuaCommon/
H A DLanguageLibrary.php74 $this->checkType( 'isSupportedLanguage', 1, $code, 'string' );
90 $this->checkType( 'isKnownLanguageTag', 1, $code, 'string' );
101 $this->checkType( 'isValidCode', 1, $code, 'string' );
124 $this->checkType( 'fetchLanguageName', 1, $code, 'string' );
149 $this->checkType( 'getFallbacksFor', 1, $code, 'string' );
191 $this->checkType( $name, 1, $args[0], 'string' );
219 $this->checkType( 'convertPlural', 1, $number, 'number' );
248 $this->checkType( 'gender', 1, $args[0], 'string' );
301 $this->checkType( 'formatNum', 1, $num, 'number' );
311 $this->checkType( 'formatNum', 2, $args[1], 'table' );
[all …]
H A DTitleLibrary.php111 $this->checkType( 'getExpensiveData', 1, $text, 'string' );
215 $this->checkType( 'makeTitle', 2, $text, 'string' );
246 $this->checkType( 'getUrl', 1, $text, 'string' );
247 $this->checkType( 'getUrl', 2, $which, 'string' );
327 $this->checkType( 'getContent', 1, $text, 'string' );
339 $this->checkType( 'getFileInfo', 1, $text, 'string' );
402 $this->checkType( 'protectionLevels', 1, $text, 'string' );
426 $this->checkType( 'cascadingProtection', 1, $text, 'string' );
461 $this->checkType( 'redirectTarget', 1, $text, 'string' );
475 $this->checkType( 'recordVaryFlag', 1, $text, 'string' );
[all …]
/dports/cad/sumo/sumo-1.2.0/src/utils/iodevices/
H A DBinaryInputDevice.cpp75 BinaryInputDevice::checkType(BinaryFormatter::DataType t) { in checkType() function in BinaryInputDevice
90 os.checkType(BinaryFormatter::BF_BYTE); in operator >>()
98 os.checkType(BinaryFormatter::BF_BYTE); in operator >>()
106 os.checkType(BinaryFormatter::BF_INTEGER); in operator >>()
114 int t = os.checkType(BinaryFormatter::BF_FLOAT); in operator >>()
128 os.checkType(BinaryFormatter::BF_BYTE); in operator >>()
137 os.checkType(BinaryFormatter::BF_STRING); in operator >>()
154 os.checkType(BinaryFormatter::BF_LIST); in operator >>()
169 os.checkType(BinaryFormatter::BF_LIST); in operator >>()
184 os.checkType(BinaryFormatter::BF_LIST); in operator >>()
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/js/test/unit/vector/
H A Dnumeric-vector-tests.ts80 test(`return type is correct`, () => checkType(Float16Vector, f16Vec));
81 test(`return type is correct`, () => checkType(Float32Vector, f32Vec));
82 test(`return type is correct`, () => checkType(Float64Vector, f64Vec));
171 test(`return type is correct`, () => checkType(Int8Vector, i8Vec));
172 test(`return type is correct`, () => checkType(Int16Vector, i16Vec));
173 test(`return type is correct`, () => checkType(Int32Vector, i32Vec));
174 test(`return type is correct`, () => checkType(Int64Vector, i64Vec));
175 test(`return type is correct`, () => checkType(Uint8Vector, u8Vec));
232 test(`return type is correct`, () => checkType(Int8Vector, i8Vec));
233 test(`return type is correct`, () => checkType(Int16Vector, i16Vec));
[all …]
/dports/databases/arrow/apache-arrow-6.0.1/js/test/unit/vector/
H A Dnumeric-vector-tests.ts82 test(`return type is correct`, () => checkType(Float16Vector, f16Vec));
83 test(`return type is correct`, () => checkType(Float32Vector, f32Vec));
84 test(`return type is correct`, () => checkType(Float64Vector, f64Vec));
173 test(`return type is correct`, () => checkType(Int8Vector, i8Vec));
174 test(`return type is correct`, () => checkType(Int16Vector, i16Vec));
175 test(`return type is correct`, () => checkType(Int32Vector, i32Vec));
176 test(`return type is correct`, () => checkType(Int64Vector, i64Vec));
177 test(`return type is correct`, () => checkType(Uint8Vector, u8Vec));
234 test(`return type is correct`, () => checkType(Int8Vector, i8Vec));
235 test(`return type is correct`, () => checkType(Int16Vector, i16Vec));
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/js/test/unit/vector/
H A Dnumeric-vector-tests.ts80 test(`return type is correct`, () => checkType(Float16Vector, f16Vec));
81 test(`return type is correct`, () => checkType(Float32Vector, f32Vec));
82 test(`return type is correct`, () => checkType(Float64Vector, f64Vec));
171 test(`return type is correct`, () => checkType(Int8Vector, i8Vec));
172 test(`return type is correct`, () => checkType(Int16Vector, i16Vec));
173 test(`return type is correct`, () => checkType(Int32Vector, i32Vec));
174 test(`return type is correct`, () => checkType(Int64Vector, i64Vec));
175 test(`return type is correct`, () => checkType(Uint8Vector, u8Vec));
232 test(`return type is correct`, () => checkType(Int8Vector, i8Vec));
233 test(`return type is correct`, () => checkType(Int16Vector, i16Vec));
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DFieldGen.java124 checkType(new ObjectType("java.lang.String")); in setInitValue()
131 checkType(Type.LONG); in setInitValue()
138 checkType(Type.INT); in setInitValue()
145 checkType(Type.SHORT); in setInitValue()
152 checkType(Type.CHAR); in setInitValue()
159 checkType(Type.BYTE); in setInitValue()
166 checkType(Type.BOOLEAN); in setInitValue()
173 checkType(Type.FLOAT); in setInitValue()
180 checkType(Type.DOUBLE); in setInitValue()
192 private void checkType(Type atype) { in checkType() method in FieldGen
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DFieldGen.java124 checkType(new ObjectType("java.lang.String")); in setInitValue()
131 checkType(Type.LONG); in setInitValue()
138 checkType(Type.INT); in setInitValue()
145 checkType(Type.SHORT); in setInitValue()
152 checkType(Type.CHAR); in setInitValue()
159 checkType(Type.BYTE); in setInitValue()
166 checkType(Type.BOOLEAN); in setInitValue()
173 checkType(Type.FLOAT); in setInitValue()
180 checkType(Type.DOUBLE); in setInitValue()
192 private void checkType(Type atype) { in checkType() method in FieldGen
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Mono.Globalization.Unicode/
H A DNormalization.cs56 private static string Compose (string source, int checkType) in Compose() argument
60 Decompose (source, ref sb, checkType == 2 ? 3 : 1); in Compose()
62 sb = Combine (source, 0, checkType); in Compose()
64 Combine (sb, 0, checkType); in Compose()
76 Combine (sb, i, checkType); in Combine()
242 static string Decompose (string source, int checkType) in Decompose() argument
245 Decompose (source, ref sb, checkType); in Decompose()
250 ref StringBuilder sb, int checkType) in Decompose() argument
257 i, checkType, ref start); in Decompose()
305 int n = GetCanonical (s [i], buf, 0, checkType); in DecomposeChar()
[all …]
/dports/www/mediawiki135/mediawiki-1.35.5/extensions/Scribunto/includes/engines/LuaCommon/lualib/
H A Dmw.ustring.lua9 local checkType = util.checkType
14 checkType( 'gmatch', 1, s, 'string' )
15 checkType( 'gmatch', 2, pattern, 'string' )
28 checkType( 'gcodepoint', 1, s, 'string' )
29 checkType( 'gcodepoint', 2, i, 'number', true )
30 checkType( 'gcodepoint', 3, j, 'number', true )

12345678910>>...73