Home
last modified time | relevance | path

Searched full:tail (Results 1 – 25 of 29) sorted by relevance

12

/petsc/src/sys/utils/
H A Dsegbuffer.c4 struct _PetscSegBufferLink *tail; member
35 newlink->tail = s; in PetscSegBufferAlloc_Private()
122 struct _PetscSegBufferLink *tail = s->tail; in PetscSegBufferDestroy() local
124 s = tail; in PetscSegBufferDestroy()
155 for (t = s->tail; t;) { in PetscSegBufferExtractTo()
156 struct _PetscSegBufferLink *tail = t->tail; in PetscSegBufferExtractTo() local
160 t = tail; in PetscSegBufferExtractTo()
162 PetscCheck(ptr == contig, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Tail count does not match"); in PetscSegBufferExtractTo()
165 s->tail = NULL; in PetscSegBufferExtractTo()
223 if (PetscUnlikely(head->tail)) { in PetscSegBufferExtractInPlace()
H A Dserver.c222 …y. The Linux command `ipcrm --all` or macOS command `for i in $(ipcs -m | tail -$(expr $(ipcs -m |…
/petsc/config/
H A Dconfigure.py92 #Replace all 'enable-'/'disable-' with 'with-'=0/1/tail
108 head, tail = name.split('=', 1)
109 if tail=='0':
119 head, tail = name.split('=', 1)
120 if tail == '0':
131 head, tail = name.split('=', 1)
132 name = head.replace('enable-','with-',1)+'='+tail
137 head, tail = name.split('=', 1)
138 if tail == '1': tail = '0'
139 name = head.replace('disable-','with-',1)+'='+tail
[all …]
/petsc/src/sys/yaml/src/
H A Dapi.c120 yaml_queue_extend(void **start, void **head, void **tail, void **end) in yaml_queue_extend() argument
124 if (*start == *head && *tail == *end) { in yaml_queue_extend()
131 *tail = (char *)new_start + ((char *)*tail - (char *)*start); in yaml_queue_extend()
138 if (*tail == *end) { in yaml_queue_extend()
139 if (*head != *tail) memmove(*start, *head, (char *)*tail - (char *)*head); in yaml_queue_extend()
140 *tail = (char *)*tail - (char *)*head + (char *)*start; in yaml_queue_extend()
H A Dyaml_private.h421 yaml_queue_extend(void **start, void **head, void **tail, void **end);
458 ((queue).head = (queue).tail = (queue).start, \
466 (queue).start = (queue).head = (queue).tail = (queue).end = NULL)
469 ((queue).head == (queue).tail)
472 (((queue).tail != (queue).end \
474 (void **)&(queue).tail, (void **)&(queue).end)) ? \
475 (*((queue).tail++) = value, \
484 (((queue).tail != (queue).end \
486 (void **)&(queue).tail, (void **)&(queue).end)) ? \
488 ((queue).tail-(queue).head-(index))*sizeof(*(queue).start)), \
[all …]
H A Dscanner.c811 if (parser->tokens.head == parser->tokens.tail) in yaml_parser_fetch_more_tokens()
1115 parser->tokens_parsed + (parser->tokens.tail - parser->tokens.head); in yaml_parser_save_simple_key()
2919 /* Chomp the tail. */ in yaml_parser_scan_block_scalar()
/petsc/src/sys/tests/
H A Dex47-options.yaml2 $$tail: ignored
49 - $$tail: ignored
/petsc/src/mat/impls/composite/
H A Dmcomposite.c14 Mat_CompositeLink head, tail; member
104 Mat_CompositeLink tail; in MatMultTranspose_Composite_Multiplicative() local
109 tail = shell->tail; in MatMultTranspose_Composite_Multiplicative()
110 …PetscCheck(tail, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Must provide at least one matrix with… in MatMultTranspose_Composite_Multiplicative()
111 while (tail->prev) { in MatMultTranspose_Composite_Multiplicative()
112 if (!tail->prev->work) { /* should reuse previous work if the same size */ in MatMultTranspose_Composite_Multiplicative()
113 PetscCall(MatCreateVecs(tail->mat, NULL, &tail->prev->work)); in MatMultTranspose_Composite_Multiplicative()
115 out = tail->prev->work; in MatMultTranspose_Composite_Multiplicative()
116 PetscCall(MatMultTranspose(tail->mat, x, out)); in MatMultTranspose_Composite_Multiplicative()
118 tail = tail->prev; in MatMultTranspose_Composite_Multiplicative()
[all …]
/petsc/src/sys/classes/viewer/impls/vtk/
H A Dvtkv.c170 PetscViewerVTKObjectLink link, tail = vtk->link; in PetscViewerVTKAddField_VTK() local
186 if (tail) { in PetscViewerVTKAddField_VTK()
187 while (tail->next) tail = tail->next; in PetscViewerVTKAddField_VTK()
188 tail->next = link; in PetscViewerVTKAddField_VTK()
/petsc/src/sys/dll/
H A Ddl.c485 PetscDLLibrary prev, tail; in PetscDLLibraryClose() local
492 prev = tail = list; in PetscDLLibraryClose()
493 while (tail->next) { in PetscDLLibraryClose()
494 prev = tail; in PetscDLLibraryClose()
495 tail = tail->next; in PetscDLLibraryClose()
499 PetscCall(PetscInfo(NULL, "Closing dynamic library %s\n", tail->libname)); in PetscDLLibraryClose()
500 PetscCall(PetscDLClose(&tail->handle)); in PetscDLLibraryClose()
501 PetscCall(PetscFree(tail)); in PetscDLLibraryClose()
/petsc/config/examples/
H A Darch-ci-linux-cuda-pkgs.py17 '--with-mpiexec-tail='+os.path.realpath("lib/petsc/bin/cuda_use_first_gpu.sh"),
H A Darch-alcf-aurora.py33 '--with-mpiexec-tail=gpu_tile_compact.sh',
/petsc/src/benchmarks/
H A Dssget78 | tail -1)
200 echo "$(head -2 "${ARCHIVE_LOCATION}/ssstats.csv" | tail -1)"
/petsc/systems/Apple/OSX/bin/
H A Dmakedmg26 let size=`du -c tempsource | tail -1 | cut -f1`
/petsc/src/ts/impls/bdf/
H A Dbdf.c115 Vec tail = bdf->work[n - 1], tvtail = bdf->tvwork[n - 1]; in TSBDF_Advance() local
125 bdf->work[1] = tail; in TSBDF_Advance()
127 PetscCall(VecCopy(X, tail)); in TSBDF_Advance()
128 PetscCall(TSComputeTransientVariable(ts, tail, tvtail)); in TSBDF_Advance()
/petsc/systems/Apple/iOS/bin/
H A Dmakedmg31 let size=`du -c tempsource | tail -1 | cut -f1`
/petsc/config/BuildSystem/config/packages/
H A DMPI.py69 …help.addArgument('MPI', '-with-mpiexec-tail=<prog>', nargs.Arg(None, None,…
192 if 'with-mpiexec-tail' in self.argDB:
193 self.argDB['with-mpiexec-tail'] = os.path.expanduser(self.argDB['with-mpiexec-tail'])
195 …if not self.getExecutable(self.argDB['with-mpiexec-tail'], getFullPath=1, resultName = 'mpiexec_ta…
196 raise RuntimeError('Invalid mpiexec-tail specified: '+str(self.argDB['with-mpiexec-tail']))
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/
H A DCallConv.pm1243 { # tail padding
1246 { # enough tail padding to place the last field
1257 { # tail padding
1263 { # tail padding
/petsc/src/sys/yaml/include/
H A Dyaml.h894 /** The tail of the tokens queue. */
895 yaml_token_t *tail; member
/petsc/src/vec/is/sf/tests/
H A Dex15.c64 …/* create a vecscatter that shifts x to the tail by quarter periodically and puts the results in y… in main()
/petsc/src/binding/petsc4py/conf/
H A Dconfpetsc.py781 head, tail = os.path.split(filename)
783 outfile = os.path.join(self.build_lib, head, arch, tail)
/petsc/src/sys/memory/
H A Dmtr.c287 /* Damaged tail */ in PetscTrFreeDefault()
367 /* Damaged tail */ in PetscTrReallocDefault()
/petsc/
H A Dgmakefile306 -@grep "#define " ${PETSCCONF_H} | tail -n +2
/petsc/include/petsc/private/
H A Dmatimpl.h1341 The initial lnk represents head -> tail(marked by 36) with number of entries = lnk[0]=0.
1345 represents head -> 2 -> 4 -> tail with number of entries = lnk[0]=2.
1349 represents head -> 0 -> 2 -> 3 -> 4 -> 35 -> tail with number of entries = lnk[0]=5.
/petsc/lib/petsc/conf/
H A Drules_util.mk150 …' ':!*petscdm.h90' ':!*petscts.h90' ':!*/__init__.py' | xargs -I{} sh -c 'tail -n1 "{}" | grep -q …

12