Home
last modified time | relevance | path

Searched refs:url (Results 1 – 22 of 22) sorted by relevance

/petsc/config/BuildSystem/
H A Dretrieval.py28 def isGitURL(self, url): argument
29 parsed = urlparse_local.urlparse(url)
32 elif os.path.isdir(url) and self.isDirectoryGitRepo(url):
40 for url in urls:
41 parsed = urlparse_local.urlparse(url)
42 if self.isGitURL(url):
43 self.git_urls.append(self.removePrefix(url,'git://'))
45 self.hg_urls.append(self.removePrefix(url,'hg://'))
46 elif parsed[0] == 'dir' or os.path.isdir(url):
47 self.dir_urls.append(self.removePrefix(url,'dir://'))
[all …]
/petsc/src/sys/fileio/
H A Dfretrieve.c336 PetscErrorCode PetscFileRetrieve(MPI_Comm comm, const char url[], char localname[], size_t llen, Pe… in PetscFileRetrieve() argument
349 PetscCall(PetscStrstr(url, ".gz", &par)); in PetscFileRetrieve()
355 PetscCall(PetscStrncmp(url, "ftp://", 6, &flg1)); in PetscFileRetrieve()
356 PetscCall(PetscStrncmp(url, "http://", 7, &flg2)); in PetscFileRetrieve()
357 PetscCall(PetscStrncmp(url, "file://", 7, &flg3)); in PetscFileRetrieve()
358 PetscCall(PetscStrncmp(url, "https://", 8, &flg4)); in PetscFileRetrieve()
362 PetscCall(PetscStrncpy(localname, url, llen)); in PetscFileRetrieve()
363 PetscCall(PetscTestFile(url, 'r', found)); in PetscFileRetrieve()
365 PetscCall(PetscInfo(NULL, "Found file %s\n", url)); in PetscFileRetrieve()
367 PetscCall(PetscInfo(NULL, "Did not find file %s\n", url)); in PetscFileRetrieve()
[all …]
/petsc/src/sys/tests/
H A Dex51.c8 const char url[] = "https://web.cels.anl.gov/projects/petsc/download/datafiles/matrices/tiny"; in main() local
21 PetscCall(PetscFileRetrieve(PETSC_COMM_WORLD, url, localname, PETSC_MAX_PATH_LEN, &found)); in main()
22 PetscCheck(found, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "Unable to download url %s", url); in main()
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Scripts/
H A DTabs.js3 var url = window.location.href;
4 if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1)
56 if(url.indexOf('#')!=-1) {
/petsc/src/sys/webclient/tutorials/output/
H A Durlshorten_1.out1 Long url http://www.google.com short url https://goo.gl/fbsS
/petsc/lib/petsc/conf/
H A Drules_util.mk267 url=$$i; \
270 y1=`curl --connect-timeout 5 --head --silent $${url} | head -n 1`; \
278 …l=`curl --connect-timeout 5 --head --silent $${url} | grep ocation | sed 's/.*ocation:[[:blank:]]\…
281 url=$$l ; \
283 ws=`echo $${url} | sed 's!\(http[s]*://[-a-zA-Z0-9_.]*\)/.*!\1!g'` ; \
294 url="$${ws}$$l" ; \
301 if [[ "$${msg}D" == "D" && "$${url}" != "$$i" ]] ; then \
302 echo "URL" $$i "has moved to valid final location:" $${url} ; \
306 elif [[ "$${msg}D" != "D" && "$${url}" != "$$i" ]] ; then \
307 echo "ERROR: URL" $$i "has moved to invalid final location:" $${url} $${msg} ; \
/petsc/src/sys/webclient/
H A Dclient.c104 static PetscErrorCode PetscHTTPBuildRequest(const char type[], const char url[], const char header[… in PetscHTTPBuildRequest() argument
112 PetscCall(PetscStrallocpy(url, &host)); in PetscHTTPBuildRequest()
114 PetscCheck(path, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "URL must contain /, it is %s", url); in PetscHTTPBuildRequest()
118 PetscCall(PetscStrchr(url, '/', &path)); in PetscHTTPBuildRequest()
176 PetscErrorCode PetscHTTPSRequest(const char type[], const char url[], const char header[], const ch… in PetscHTTPSRequest() argument
184 PetscCall(PetscHTTPBuildRequest(type, url, header, ctype, body, &request)); in PetscHTTPSRequest()
264 PetscErrorCode PetscHTTPRequest(const char type[], const char url[], const char header[], const cha… in PetscHTTPRequest() argument
270 PetscCall(PetscHTTPBuildRequest(type, url, header, ctype, body, &request)); in PetscHTTPRequest()
/petsc/lib/petsc/bin/saws/
H A DSAWs.py19 url = 'http://'+host+':'+port+'/SAWs' variable
22 r = requests.get(url)
/petsc/doc/
H A Dupdate_htmlmap_links.py24 url = match.group(1)
25 if url.startswith("manualpages"):
H A Dfix_man_page_edit_links.py18 url = m[0]
30 f.write("<a href=%s>\n" % url)
H A Dpetsc.bib21 note = {\url{https://semver.org}}
82 url = {https://doi.org/10.1115/1.2900803},
662 url = {https://hal.inria.fr/inria-00638247/en}
844 url = {http://www.math.uni-konstanz.de/numerik/personen/volkwein/teaching/POD-Book.pdf}
962 howpublished = {\url{https://www.mcs.anl.gov/~fathom/moab-docs/html/contents.html}},
1016 url = {https://www.jos.org.cn/josen/article/abstract/11042},
1023 howpublished = {\url{https://www.openblas.net}}
1029 howpublished = {\url{https://www.openacc.org}}
1047 note = {\url{https://arxiv.org/abs/2011.00715}},
1060 url = {https://www.sciencedirect.com/science/article/pii/S016781912100079X},
[all …]
/petsc/src/sys/python/
H A Dpythonsys.c291 PetscErrorCode PetscPythonMonitorSet(PetscObject obj, const char url[]) in PetscPythonMonitorSet() argument
295 PetscAssertPointer(url, 2); in PetscPythonMonitorSet()
300 PetscCall(PetscPythonMonitorSet_C(obj, url)); in PetscPythonMonitorSet()
/petsc/doc/ext/
H A Dhtml5_petsc.py217 url = link if link.startswith('http') else prefix + link
218 return '<a href=\"' + url + '\">' + name + '</a>'
/petsc/src/binding/petsc4py/
H A Dsetup.py67 url = F('https://gitlab.com/{name}/{name}') variable
106 'url': url,
/petsc/doc/developers/
H A Dmrfork.md25 url = https://gitlab.com/petsc/petsc.git
/petsc/doc/developers/contributing/
H A Dindex.md55 $ git remote set-url origin git@gitlab.com:YOURGITLABUSERNAME/petsc.git
/petsc/
H A Dsetup.py354 url='https://petsc.org/',
/petsc/src/ksp/pc/impls/sor/
H A Dsor.tex4 \usepackage{url}
/petsc/src/binding/petsc4py/conf/
H A Depydoc.cfg80 url: https://gitlab.com/petsc/petsc
/petsc/src/binding/petsc4py/docs/source/
H A Dconf.py171 inventory = sphobjinv.Inventory(url=inventory_url)
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dlibpetsc4py.pyx145 cdef object parse_url(object url): argument
146 path, name = url.rsplit(":", 1)
3057 cdef url = bytes2str(url_p)
3058 if ':' in url:
3059 path, names = parse_url(url)
3061 path, names = url, 'monitor'
/petsc/config/BuildSystem/config/
H A Dpackage.py933 for proto, url in retriever.generateURLs():
934 self.logPrintBox('Trying to download '+url+' for '+self.PACKAGE)
936 retriever.genericRetrieve(proto, url, self.externalPackagesDir)