/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/simplify/ |
H A D | test_epathtools.py | 7 from diofant.simplify.epathtools import EPath, epath 19 assert epath('/*/*/*/*', expr) == [] 24 assert epath('/[:]/[:]/[:]/[:]', expr) == [] 29 assert epath('/*/[1]', expr) == [2, z] 30 assert epath('/*/[2]', expr) == [] 32 assert epath('/*/int', expr) == [2] 33 assert epath('/*/Symbol', expr) == [z] 43 assert epath( 46 assert epath('/*/[0]/int', expr) == [1, 3, 4] 66 assert epath('/*/[2]', expr, list) == expr [all …]
|
/dports/math/py-sympy/sympy-1.9/sympy/simplify/tests/ |
H A D | test_epathtools.py | 3 from sympy.simplify.epathtools import epath, EPath 16 assert epath("/*/*/*/*", expr) == [] 21 assert epath("/[:]/[:]/[:]/[:]", expr) == [] 26 assert epath("/*/[1]", expr) == [2, z] 27 assert epath("/*/[2]", expr) == [] 29 assert epath("/*/int", expr) == [2] 30 assert epath("/*/Symbol", expr) == [z] 40 assert epath( 43 assert epath("/*/[0]/int", expr) == [1, 3, 4] 61 assert epath("/*/[2]", expr, list) == expr [all …]
|
/dports/math/igraph/igraph-0.9.5/tests/unit/ |
H A D | single_target_shortest_path.c | 35 igraph_vector_t vpath, epath; in main() local 44 igraph_vector_init(&epath, 0); in main() 45 igraph_get_shortest_path(&g, &vpath, &epath, 0, 4, IGRAPH_OUT); in main() 47 igraph_vector_print(&epath); in main() 49 igraph_get_shortest_path(&g, &vpath, &epath, 0, 0, IGRAPH_OUT); in main() 51 igraph_vector_print(&epath); in main() 54 igraph_get_shortest_path(&g, &vpath, &epath, 4, 0, IGRAPH_OUT); in main() 56 igraph_vector_print(&epath); in main() 61 igraph_vector_print(&epath); in main() 74 igraph_vector_print(&epath); in main() [all …]
|
/dports/x11/xpra/xpra-4.3/xpra/client/gtk_base/ |
H A D | toolbox.py | 85 epath = "example/" 98 ("Animated", "Shows RGB+Grey squares animated", epath+"colors.py"), 107 ("Text Entry", "Simple text entry widget", epath+"text_entry.py"), 112 ("Grabs", "Test keyboard and pointer grabs", epath+"grabs.py"), 113 ("Clicks", "Double and triple click events", epath+"clicks.py"), 114 ("Focus", "Shows window focus events", epath+"window_focus.py"), 118 ("Title", "Update the window title", epath+"window_title.py"), 119 ("Opacity", "Change window opacity", epath+"window_opacity.py"), 135 ("Tray", "Show a system tray icon", epath+"tray.py"), 137 ("Bell", "Test system bell", epath+"bell.py"), [all …]
|
/dports/math/igraph/igraph-0.9.5/tests/regression/ |
H A D | bug_1760.c | 8 igraph_vector_ptr_t vpath, epath; in test_unweighted() local 19 IGRAPH_CHECK(igraph_vector_ptr_init(&epath, num_paths)); in test_unweighted() 31 g, &vpath, &epath, from, *to, IGRAPH_IN, in test_unweighted() 43 for (i = 0; i < igraph_vector_ptr_size(&epath); i++) { in test_unweighted() 44 print_vector(VECTOR(epath)[i]); in test_unweighted() 45 igraph_vector_destroy(VECTOR(epath)[i]); in test_unweighted() 59 igraph_vector_ptr_destroy_all(&epath); in test_unweighted() 69 igraph_vector_ptr_t vpath, epath; in test_weighted() local 114 print_vector(VECTOR(epath)[i]); in test_weighted() 115 igraph_vector_destroy(VECTOR(epath)[i]); in test_weighted() [all …]
|
/dports/mail/lurker/lurker-2.3/index/ |
H A D | lurker-regenerate | 4 epath="$1" 7 if ! test -z "$epath"; then \ 8 if ! echo "$epath" | grep -q "^/"; then 12 epath="$epath/"; 22 dbdir=`"${epath}lurker-params" $copt "$cfg" -d` 35 for l in `"${epath}lurker-list" $copt "$cfg" -i`; do 38 gzip -dfc < $l | "${epath}lurker-index" $copt "$cfg" -p ./db -l $l -v 47 echo " ${epath}lurker-prune $copt $cfg -p" 48 "${epath}lurker-prune" $copt "$cfg" -p
|
/dports/www/squid/squid-4.15/contrib/ |
H A D | url-normalizer.pl | 32 my $epath = $url->epath; 33 $epath =~ s/%7e/~/ig; # unescape ~ 34 $epath =~ s/(%[\da-f]{2})/\U$1/ig; # capitalize escape digits 36 $epath =~ s:/\./:/:g; # safe? 37 $epath =~ s://:/:g; # safe? 39 $url->epath($epath);
|
/dports/mail/mmh/mmh-0.4/sbr/ |
H A D | path.c | 28 static char epath[PATH_MAX]; in etcpath() local 50 snprintf(epath, sizeof epath, "%s/%s", pp, cp ? cp : ""); in etcpath() 54 if (access(epath, R_OK) != NOTOK) in etcpath() 55 return epath; /* else fall */ in etcpath() 65 snprintf(epath, sizeof epath, "%s/%s", mmhpath, file); in etcpath() 66 if (access(epath, R_OK) != NOTOK) in etcpath() 67 return epath; in etcpath() 70 snprintf(epath, sizeof epath, "%s/%s", mhetcdir, file); in etcpath() 71 if (access(epath, R_OK) != NOTOK) in etcpath() 72 return epath; in etcpath()
|
/dports/net/spoofer/spoofer-1.4.7/prober/ |
H A D | AppInfo.cc | 74 const char *epath = getenv("PATH"); in AppInfo() local 75 if (!epath || !*epath) in AppInfo() 78 int len = safe_int<int>(strcspn(epath, ":\0")); in AppInfo() 79 if (epath[0] == '/') in AppInfo() 80 snprintf(buf, sizeof(buf), "%.*s/%s", len, epath, argv0); in AppInfo() 82 snprintf(buf, sizeof(buf), "%s/%.*s/%s", cwd, len, epath, argv0); in AppInfo() 87 if (!epath[len]) in AppInfo() 89 epath += len + 1; in AppInfo()
|
/dports/devel/radare2/radare2-5.1.1/libr/util/ |
H A D | sandbox.c | 350 free (epath); in r_sandbox_open() 401 free (epath); in r_sandbox_open() 413 free (epath); in r_sandbox_open() 420 char *epath = NULL; in r_sandbox_fopen() local 425 epath = expand_home (path); in r_sandbox_fopen() 427 free (epath); in r_sandbox_fopen() 431 if (!epath) { in r_sandbox_fopen() 438 free (epath); in r_sandbox_fopen() 444 free (epath); in r_sandbox_fopen() 451 ret = fopen (epath, mode); in r_sandbox_fopen() [all …]
|
/dports/editors/zile/zile-2.4.14/src/ |
H A D | file.c | 79 astr epath = astr_new (); in expand_path() local 83 astr_cat (epath, agetcwd ()); in expand_path() 84 if (astr_len (epath) == 0 || in expand_path() 85 astr_get (epath, astr_len (epath) - 1) != '/') in expand_path() 86 astr_cat_char (epath, '/'); in expand_path() 100 astr_get (epath, astr_len (epath) - 1) != '/') in expand_path() 141 if (astr_len (epath) >= 1 && astr_get (epath, astr_len (epath) - 1) == '/') in expand_path() 142 astr_truncate (epath, astr_len (epath) - 1); in expand_path() 143 while (astr_get (epath, astr_len (epath) - 1) != '/' && astr_len (epath) >= 1) in expand_path() 144 astr_truncate (epath, astr_len (epath) - 1); in expand_path() [all …]
|
/dports/mail/nmh/nmh-1.7.1/config/ |
H A D | config.c | 32 static char epath[PATH_MAX]; in etcpath() local 60 snprintf (epath, sizeof(epath), "%s/%s", pp, FENDNULL(cp)); in etcpath() 64 if (access (epath, R_OK) != NOTOK) in etcpath() 65 return epath; in etcpath() 80 snprintf (epath, sizeof(epath), nmhetcdir(/%s), file); in etcpath() 81 return (access (epath, R_OK) != NOTOK ? epath : file); in etcpath()
|
/dports/science/qmcpack/qmcpack-3.11.0/nexus/lib/ |
H A D | quantum_package_input.py | 235 for epath in ezfio_paths: 236 epath = epath.rstrip('/') 237 if not epath.endswith('.ezfio'): 239 elif not os.path.exists(epath): 408 epath = filepath.rstrip('/') 409 if not os.path.exists(epath): 411 elif not os.path.isdir(epath): 441 epath = filepath.rstrip('/') 444 if not epath.endswith('.ezfio'): 447 path,edir = os.path.split(epath) [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/mysql-test/suite/wsrep/ |
H A D | common.pm | 57 my $epath= ""; 59 $epath= dirname($my_print_defaults_exe); 61 mtr_error("No my_print_defaults") unless $epath; 62 $ENV{PATH}="$epath:$ENV{PATH}" unless ($epath eq $spath) or 63 ($epath eq $cpath); 65 $extra_path= $epath;
|
/dports/databases/mariadb104-server/mariadb-10.4.24/mysql-test/suite/wsrep/ |
H A D | common.pm | 57 my $epath= ""; 59 $epath= dirname($my_print_defaults_exe); 61 mtr_error("No my_print_defaults") unless $epath; 62 $ENV{PATH}="$epath:$ENV{PATH}" unless ($epath eq $spath) or 63 ($epath eq $cpath); 65 $extra_path= $epath;
|
/dports/databases/mariadb104-client/mariadb-10.4.24/mysql-test/suite/wsrep/ |
H A D | common.pm | 57 my $epath= ""; 59 $epath= dirname($my_print_defaults_exe); 61 mtr_error("No my_print_defaults") unless $epath; 62 $ENV{PATH}="$epath:$ENV{PATH}" unless ($epath eq $spath) or 63 ($epath eq $cpath); 65 $extra_path= $epath;
|
/dports/databases/mariadb105-server/mariadb-10.5.15/mysql-test/suite/wsrep/ |
H A D | common.pm | 57 my $epath= ""; 59 $epath= dirname($my_print_defaults_exe); 61 mtr_error("No my_print_defaults") unless $epath; 62 $ENV{PATH}="$epath:$ENV{PATH}" unless ($epath eq $spath) or 63 ($epath eq $cpath); 65 $extra_path= $epath;
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | thd_get1D.c | 18 char * epath , * eee ; in THD_get_many_timeseries() local 26 epath = my_getenv( "AFNI_TSPATH" ) ; in THD_get_many_timeseries() 27 if( epath == NULL ) epath = my_getenv( "AFNI_TS_PATH" ) ; /* 07 Oct 1996 */ in THD_get_many_timeseries() 28 if( epath == NULL ) epath = efake ; /* 07 Oct 1996 */ in THD_get_many_timeseries() 32 if( ndir == 0 && epath == NULL ) RETURN( outar ) ; in THD_get_many_timeseries() 54 if( epath != NULL ){ in THD_get_many_timeseries() 55 int epos =0 , ll = strlen(epath) ; in THD_get_many_timeseries() 67 strcpy( elocal , epath ) ; elocal[ll] = ' ' ; elocal[ll+1] = '\0' ; in THD_get_many_timeseries()
|
H A D | thd_get_tcsv.c | 19 char *epath , *eee ; in THD_get_many_tcsv() local 27 epath = my_getenv( "AFNI_TSPATH" ) ; in THD_get_many_tcsv() 28 if( epath == NULL ) epath = my_getenv( "AFNI_TS_PATH" ) ; in THD_get_many_tcsv() 29 if( epath == NULL ) epath = efake ; in THD_get_many_tcsv() 33 if( ndir == 0 && epath == NULL ) RETURN( outar ) ; in THD_get_many_tcsv() 57 if( epath != NULL ){ in THD_get_many_tcsv() 58 int epos = 0 , ll = strlen(epath) ; in THD_get_many_tcsv() 70 strcpy( elocal , epath ) ; elocal[ll] = ' ' ; elocal[ll+1] = '\0' ; in THD_get_many_tcsv()
|
H A D | NLfit_model.c | 218 char * epath , * elocal , * eee ; in NLFIT_get_many_MODELs() local 228 epath = my_getenv("AFNI_MODELPATH") ; /* get the path list to read from */ in NLFIT_get_many_MODELs() 230 if( epath == NULL ) in NLFIT_get_many_MODELs() 231 epath = my_getenv("AFNI_PLUGINPATH") ; /* try another name? */ in NLFIT_get_many_MODELs() 233 if( epath == NULL ) in NLFIT_get_many_MODELs() 234 epath = my_getenv("PATH") ; /* try another name? */ in NLFIT_get_many_MODELs() 236 if( epath == NULL ) epath = efake ; /* put in a fake path instead? */ in NLFIT_get_many_MODELs() 240 ll = strlen(epath) ; in NLFIT_get_many_MODELs() 245 strcpy( elocal , epath ) ; elocal[ll] = ' ' ; elocal[ll+1] = '\0' ; in NLFIT_get_many_MODELs()
|
/dports/science/xtb/xtb-6.4.1/src/ |
H A D | bias_path.f90 | 261 dum=autokcal*(epath(i)-epath(1)) 267 mempath(2,irun)=autokcal*(epath(npath(irun))-epath(1)) 353 epath = 0 364 call writeMolecule(mol, ilog2, fileType%xyz, energy=autokcal*(epath(i)-epath(1))) 368 call writeMolecule(mol, ilog2, fileType%xyz, energy=autokcal*(epath(np)-epath(1))) 403 call writeMolecule(mol, ilog2, fileType%xyz, energy=autokcal*(epath(i)-epath(1))) 405 dum=epath(i) 411 call writeMolecule(mol, ilog2, fileType%xyz, energy=autokcal*(epath(np)-epath(1))) 419 de =(epath(np)-epath(1))*autokcal 454 dum1=(epath(i)-epath(i-1))/(rms*real(mol%n)) ! gradient along path [all …]
|
/dports/lang/erlang-runtime23/corba-5.0.2/lib/cosFileTransfer/src/ |
H A D | cosFileTransferNATIVE_file.erl | 123 {error, epath} 138 {error, epath} 153 {error, epath} 169 {error, epath} 179 {error, epath} 186 {error, epath}; 207 {error, epath} 347 {error, epath}; 349 {error, epath}; 351 {error, epath}; [all …]
|
/dports/lang/erlang-runtime24/corba-5.0.2/lib/cosFileTransfer/src/ |
H A D | cosFileTransferNATIVE_file.erl | 123 {error, epath} 138 {error, epath} 153 {error, epath} 169 {error, epath} 179 {error, epath} 186 {error, epath}; 207 {error, epath} 347 {error, epath}; 349 {error, epath}; 351 {error, epath}; [all …]
|
/dports/lang/erlang-runtime22/corba-4.5.2/lib/cosFileTransfer/src/ |
H A D | cosFileTransferNATIVE_file.erl | 123 {error, epath} 138 {error, epath} 153 {error, epath} 169 {error, epath} 179 {error, epath} 186 {error, epath}; 207 {error, epath} 347 {error, epath}; 349 {error, epath}; 351 {error, epath}; [all …]
|
/dports/lang/erlang/corba-5.0.2/lib/cosFileTransfer/src/ |
H A D | cosFileTransferNATIVE_file.erl | 123 {error, epath} 138 {error, epath} 153 {error, epath} 169 {error, epath} 179 {error, epath} 186 {error, epath}; 207 {error, epath} 347 {error, epath}; 349 {error, epath}; 351 {error, epath}; [all …]
|