/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/ |
H A D | validate_gpkg.py | 95 def _assert(self, cond, req, msg): 179 self._assert( 184 self._assert( 481 self._assert( 502 self._assert(found_geom, 24, 880 self._assert( 888 self._assert( 893 self._assert( 1471 self._assert(False, 64, 1562 self._assert(False, 96, [all …]
|
/dports/graphics/gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/ |
H A D | validate_gpkg.py | 95 def _assert(self, cond, req, msg): member in GPKGChecker 179 self._assert( 184 self._assert( 481 self._assert( 502 self._assert(found_geom, 24, 880 self._assert( 888 self._assert( 893 self._assert( 1471 self._assert(False, 64, 1562 self._assert(False, 96, [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/ |
H A D | validate_gpkg.py | 95 def _assert(self, cond, req, msg): member in GPKGChecker 179 self._assert( 184 self._assert( 481 self._assert( 502 self._assert(found_geom, 24, 880 self._assert( 888 self._assert( 893 self._assert( 1471 self._assert(False, 64, 1562 self._assert(False, 96, [all …]
|
/dports/graphics/filmulator/filmulator-gui-0.11.1/filmulator-gui/Halide/include/ |
H A D | image_io.h | 73 _assert(f, "File %s could not be opened for reading\n", filename.c_str()); in load_png() 80 _assert(png_ptr, "png_create_read_struct failed\n"); in load_png() 83 _assert(info_ptr, "png_create_info_struct failed\n"); in load_png() 85 _assert(!setjmp(png_jmpbuf(png_ptr)), "Error during init_io\n"); in load_png() 113 _assert(!setjmp(png_jmpbuf(png_ptr)), "Error during read_image\n"); in load_png() 175 _assert(im.channels() > 0 && im.channels() < 5, in save_png() 189 _assert(png_ptr, "[write_png_file] png_create_write_struct failed\n"); in save_png() 192 _assert(info_ptr, "[write_png_file] png_create_info_struct failed\n"); in save_png() 290 _assert(fgetc(f) != EOF, "Could not read char from PPM\n"); in load_ppm() 295 else { _assert(false, "Invalid bit depth in PPM\n"); } in load_ppm() [all …]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/rabbitmq/tests/unit/modules/ |
H A D | test_rabbitmq_global_parameter.py | 20 def _assert(self, exc, attribute, expected_value, msg=''): member in TestRabbitMQGlobalParameterModule 49 self._assert(e, 'changed', False) 50 self._assert(e, 'state', 'absent') 71 self._assert(e, 'changed', True) 72 self._assert(e, 'state', 'absent') 101 self._assert(e, 'changed', True) 102 self._assert(e, 'state', 'present') 103 self._assert(e, 'value', 'rabbitmq-test') 125 self._assert(e, 'changed', False) 126 self._assert(e, 'state', 'present') [all …]
|
H A D | test_rabbitmq_upgrade.py | 20 def _assert(self, exc, attribute, expected_value, msg=''): member in TestRabbitMQUpgradeModule 78 self._assert(e, 'changed', True) 104 self._assert(e, 'changed', False) 130 self._assert(e, 'changed', True) 156 self._assert(e, 'changed', False) 171 self._assert(e, 'changed', True) 186 self._assert(e, 'changed', True) 201 self._assert(e, 'changed', True)
|
H A D | test_rabbitmq_user.py | 42 def _assert(self, exc, attribute, expected_value, msg=''): member in TestRabbitMQUserModule 66 self._assert(e, 'failed', True) 67 self._assert(e, 'msg', "Error parsing vhost " 98 self._assert(e, 'changed', False) 99 self._assert(e, 'state', 'present') 126 self._assert(e, 'changed', False) 127 self._assert(e, 'state', 'present') 234 self._assert(e, 'changed', True) 235 self._assert(e, 'state', 'present') 269 self._assert(e, 'changed', True) [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/messaging/rabbitmq/ |
H A D | test_rabbimq_user.py | 16 def _assert(self, exc, attribute, expected_value, msg=""): member in TestRabbitMQUserModule 38 self._assert(e, 'failed', True) 39 self._assert(e, 'msg', 63 self._assert(e, 'changed', False) 64 self._assert(e, 'state', 'present') 84 self._assert(e, 'changed', False) 85 self._assert(e, 'state', 'present') 107 self._assert(e, 'changed', True) 108 self._assert(e, 'state', 'present') 132 self._assert(e, 'changed', True) [all …]
|
/dports/net-mgmt/py-ncclient/ncclient-0.6.10/ncclient/operations/ |
H A D | edit.py | 49 node.append(util.datastore_or_url("target", target, self._assert)) 55 self._assert(':validate') 57 self._assert(':validate:1.1') 62 self._assert(":rollback-on-error") 71 self._assert(':url') 88 node.append(util.datastore_or_url("target", target, self._assert)) 105 node.append(util.datastore_or_url("target", target, self._assert)) 109 node.append(util.datastore_or_url("source", source, self._assert)) 130 src = util.datastore_or_url("source", source, self._assert) 161 self._assert(":confirmed-commit")
|
/dports/astro/py-astropy/astropy-5.0/astropy/utils/ |
H A D | collections.py | 27 def _assert(self, x): member in HomogeneousList 40 self._assert(item) 42 self._assert(value) 46 self._assert(x) 50 self._assert(x) 55 self._assert(item)
|
/dports/science/py-phonopy/phonopy-2.11.0/test/harmonic/ |
H A D | test_derivative_dynmat.py | 24 _assert(ph_nacl, ddm_ph_nacl) 28 _assert(ph_nacl_compact_fcsym, ddm_ph_nacl) 32 _assert(ph_nacl_nonac, ddm_ph_nacl_nonac) 36 _assert(ph_nacl_nonac_compact_fc, ddm_ph_nacl_nonac) 39 def _assert(ph, ref_vals, show=False): function
|
/dports/science/phonopy/phonopy-2.11.0/test/harmonic/ |
H A D | test_derivative_dynmat.py | 24 _assert(ph_nacl, ddm_ph_nacl) 28 _assert(ph_nacl_compact_fcsym, ddm_ph_nacl) 32 _assert(ph_nacl_nonac, ddm_ph_nacl_nonac) 36 _assert(ph_nacl_nonac_compact_fc, ddm_ph_nacl_nonac) 39 def _assert(ph, ref_vals, show=False): function
|
/dports/games/taisei/taisei-1.3.2/src/util/ |
H A D | assert.h | 38 #define _assert(cond, uselog) macro 41 …#define _assert(cond, uselog) ((cond) ? (void)0 : (_ts_assert_fail(#cond, __func__, __FILE__, __LI… macro 42 #define _assume(cond, uselog) _assert(cond, uselog) 45 #define assert(cond) _assert(cond, true) 46 #define assert_nolog(cond) _assert(cond, false)
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/apps/wavelet/ |
H A D | wavelet.cpp | 16 void _assert(bool condition, const char *fmt, ...) { in _assert() function 55 _assert(argc == 3, "Usage: main <src_image> <output-dir>\n"); in main() 64 _assert(haar_x(input, transformed) == 0, "haar_x failed"); in main() 67 _assert(inverse_haar_x(transformed, inverse_transformed) == 0, "inverse_haar_x failed"); in main() 70 _assert(daubechies_x(input, transformed) == 0, "daubechies_x failed"); in main() 73 …_assert(inverse_daubechies_x(transformed, inverse_transformed) == 0, "inverse_daubechies_x failed"… in main()
|
/dports/math/spot/spot-2.10.2/spot/bricks/ |
H A D | brick-assert | 35 #define ASSERT(...) ::brick::_assert::assert_fn( \ 37 #define ASSERT_PRED(p, x) ::brick::_assert::assert_pred_fn( \ 39 #define ASSERT_EQ(x, y) ::brick::_assert::assert_eq_fn( \ 41 #define ASSERT_LT(x, y) ::brick::_assert::assert_lt_fn( \ 43 #define ASSERT_LEQ(x, y) ::brick::_assert::assert_leq_fn( \ 45 #define ASSERT_NEQ(x, y) ::brick::_assert::assert_neq_fn( \ 62 #define UNREACHABLE_F(...) ::brick::_assert::assert_die_fn( \ 64 #define UNREACHABLE(...) ::brick::_assert::assert_die_fn( \ 66 #define UNREACHABLE_() ::brick::_assert::assert_die_fn( \ 68 #define NOT_IMPLEMENTED() ::brick::_assert::assert_die_fn( \ [all …]
|
/dports/math/py-spot/spot-2.10.2/spot/bricks/ |
H A D | brick-assert | 35 #define ASSERT(...) ::brick::_assert::assert_fn( \ 37 #define ASSERT_PRED(p, x) ::brick::_assert::assert_pred_fn( \ 39 #define ASSERT_EQ(x, y) ::brick::_assert::assert_eq_fn( \ 41 #define ASSERT_LT(x, y) ::brick::_assert::assert_lt_fn( \ 43 #define ASSERT_LEQ(x, y) ::brick::_assert::assert_leq_fn( \ 45 #define ASSERT_NEQ(x, y) ::brick::_assert::assert_neq_fn( \ 62 #define UNREACHABLE_F(...) ::brick::_assert::assert_die_fn( \ 64 #define UNREACHABLE(...) ::brick::_assert::assert_die_fn( \ 66 #define UNREACHABLE_() ::brick::_assert::assert_die_fn( \ 68 #define NOT_IMPLEMENTED() ::brick::_assert::assert_die_fn( \ [all …]
|
/dports/www/sahi/sahi/userdata/scripts/demo/ |
H A D | regexp.sah | 12 _assert(_link("/Vi/[0]").href.indexOf("0.htm")!=-1); 13 _assert(_link("View[1]").href.indexOf("1.htm")!=-1); 14 _assert(_link("/Vi/[2]").href.indexOf("2.htm")!=-1); 15 _assert(_link("View[3]").href.indexOf("3.htm")!=-1);
|
H A D | strict_visible.sah | 6 _assert(!_isVisible(_textbox("q[1]"))); 17 _assert(!_isVisible(_textbox("q[1]"))); 24 _assert(!_isVisible(_div("blue[1]"))); 35 _assert(!_isVisible(_div("blue[1]")));
|
/dports/lang/v8/v8-9.6.180.12/tools/testrunner/local/ |
H A D | statusfile.py | 313 def _assert(check, message): # Like "assert", but doesn't throw. function 319 _assert(type(section) == list, "Section must be a list") 320 _assert(len(section) == 2, "Section list must have exactly 2 entries") 322 _assert(type(section) == dict, 325 _assert(type(rule) == str, "Rule key must be a string") 326 _assert(not rule.startswith(root_prefix), 328 _assert(not rule.endswith('.js'), 330 _assert('*' not in rule or (rule.count('*') == 1 and rule[-1] == '*'), 337 _assert(any(_any_exist(paths)
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/tools/testrunner/local/ |
H A D | statusfile.py | 310 def _assert(check, message): # Like "assert", but doesn't throw. function 316 _assert(type(section) == list, "Section must be a list") 317 _assert(len(section) == 2, "Section list must have exactly 2 entries") 319 _assert(type(section) == dict, 322 _assert(type(rule) == str, "Rule key must be a string") 323 _assert(not rule.startswith(root_prefix), 325 _assert(not rule.endswith('.js'), 327 _assert('*' not in rule or (rule.count('*') == 1 and rule[-1] == '*'), 334 _assert(any(_any_exist(paths)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/tools/testrunner/local/ |
H A D | statusfile.py | 312 def _assert(check, message): # Like "assert", but doesn't throw. function 318 _assert(type(section) == list, "Section must be a list") 319 _assert(len(section) == 2, "Section list must have exactly 2 entries") 321 _assert(type(section) == dict, 324 _assert(type(rule) == str, "Rule key must be a string") 325 _assert(not rule.startswith(root_prefix), 327 _assert(not rule.endswith('.js'), 329 _assert('*' not in rule or (rule.count('*') == 1 and rule[-1] == '*'), 336 _assert(any(_any_exist(paths)
|
/dports/www/node10/node-v10.24.1/deps/v8/tools/testrunner/local/ |
H A D | statusfile.py | 305 def _assert(check, message): # Like "assert", but doesn't throw. function 311 _assert(type(section) == list, "Section must be a list") 312 _assert(len(section) == 2, "Section list must have exactly 2 entries") 314 _assert(type(section) == dict, 317 _assert(type(rule) == str, "Rule key must be a string") 318 _assert(not rule.startswith(root_prefix), 320 _assert(not rule.endswith('.js'), 322 _assert('*' not in rule or (rule.count('*') == 1 and rule[-1] == '*'), 325 _assert(any(os.path.exists(os.path.join(os.path.dirname(path),
|
/dports/x11-toolkits/open-motif/motif-2.3.8/clients/uil/ |
H A D | UilSarObj.c | 235 _assert (FALSE, "unexpected object type"); in sar_create_object() 861 _assert (FALSE, "unexpected variant type"); 1109 _assert (FALSE, "unexpected object reference type"); 1423 _assert (FALSE, "unexpected widget feature"); 1515 _assert (list_entry->header.b_tag == sym_k_list_entry, 1629 _assert (list_entry->header.b_tag == sym_k_list_entry, 1732 _assert (list_entry->header.b_tag == sym_k_list_entry, 1834 _assert (list_entry->header.b_tag == sym_k_list_entry, 2068 _assert (list_entry->header.b_tag == sym_k_list_entry, 2188 _assert (list_entry->header.b_tag == sym_k_list_entry, [all …]
|
/dports/math/polylib/polylib-5.22.5/source/arith/ |
H A D | assert.h | 25 # define _assert(ex) {if (!(ex)){(void)fprintf(stderr,"Assertion failed: file \"%s\", line %d\n", _… macro 26 # define assert(ex) _assert(ex) 28 # define _assert(ex) macro
|
/dports/math/barvinok/barvinok-0.41.5/polylib/source/arith/ |
H A D | assert.h | 25 # define _assert(ex) {if (!(ex)){(void)fprintf(stderr,"Assertion failed: file \"%s\", line %d\n", _… macro 26 # define assert(ex) _assert(ex) 28 # define _assert(ex) macro
|