Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 77) sorted by relevance

1234

/petsc/src/sys/yaml/src/
H A Dreader.c56 && parser->raw_buffer.last - parser->raw_buffer.pointer < 3) { in yaml_parser_determine_encoding()
62 if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
68 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
74 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 3 in yaml_parser_determine_encoding()
99 && parser->raw_buffer.last == parser->raw_buffer.end) in yaml_parser_update_raw_buffer()
109 && parser->raw_buffer.pointer < parser->raw_buffer.last) { in yaml_parser_update_raw_buffer()
111 parser->raw_buffer.last - parser->raw_buffer.pointer); in yaml_parser_update_raw_buffer()
113 parser->raw_buffer.last -= in yaml_parser_update_raw_buffer()
119 if (!parser->read_handler(parser->read_handler_data, parser->raw_buffer.last, in yaml_parser_update_raw_buffer()
120 parser->raw_buffer.end - parser->raw_buffer.last, &size_read)) { in yaml_parser_update_raw_buffer()
[all …]
/petsc/src/sys/utils/
H A Dsortip.c25 PetscInt tmp, i, vl, last; in PetscSortIntWithPermutation_Private() local
36 last = 0; in PetscSortIntWithPermutation_Private()
39 last++; in PetscSortIntWithPermutation_Private()
40 SWAP(vdx[last], vdx[i], tmp); in PetscSortIntWithPermutation_Private()
43 SWAP(vdx[0], vdx[last], tmp); in PetscSortIntWithPermutation_Private()
44 PetscCall(PetscSortIntWithPermutation_Private(v, vdx, last - 1)); in PetscSortIntWithPermutation_Private()
45 PetscCall(PetscSortIntWithPermutation_Private(v, vdx + last + 1, right - (last + 1))); in PetscSortIntWithPermutation_Private()
96 PetscInt tmp, i, last; in PetscSortRealWithPermutation_Private() local
107 last = 0; in PetscSortRealWithPermutation_Private()
110 last++; in PetscSortRealWithPermutation_Private()
[all …]
H A Dsortd.c43 PetscCount i, last; in PetscSortReal_Private() local
55 last = 0; in PetscSortReal_Private()
58 last++; in PetscSortReal_Private()
59 SWAP(v[last], v[i], tmp); in PetscSortReal_Private()
62 SWAP(v[0], v[last], tmp); in PetscSortReal_Private()
63 PetscCall(PetscSortReal_Private(v, last - 1)); in PetscSortReal_Private()
64 PetscCall(PetscSortReal_Private(v + last + 1, right - (last + 1))); in PetscSortReal_Private()
123 PetscCount i, last; in PetscSortRealWithArrayInt_Private() local
136 last = 0; in PetscSortRealWithArrayInt_Private()
139 last++; in PetscSortRealWithArrayInt_Private()
[all …]
H A Dsortso.c136 PetscInt last = l, k = 1, mid, cur = l + 1; in PetscGallopSearchLeft_Private() local
152 last = cur; in PetscGallopSearchLeft_Private()
157 while (cur > last + 1) { in PetscGallopSearchLeft_Private()
158 mid = last + ((cur - last) >> 1); in PetscGallopSearchLeft_Private()
162 last = mid; in PetscGallopSearchLeft_Private()
173 PetscInt last = r, k = 1, mid, cur = r - 1; in PetscGallopSearchRight_Private() local
189 last = cur; in PetscGallopSearchRight_Private()
194 while (last > cur + 1) { in PetscGallopSearchRight_Private()
195 mid = last - ((last - cur) >> 1); in PetscGallopSearchRight_Private()
199 last = mid; in PetscGallopSearchRight_Private()
/petsc/lib/petsc/bin/
H A Dpetscnagfor123 last = js[-2][5:] variable
125 last = js[-1][5:] variable
126 f1 = last.find('.')
127 f2 = last.rfind('.')
128 last = last[0:f1] + last[f2:] variable
130 js[-2] = last
132 js[-1] = last
152 fd = open(last)
155 fd = open(last,'w')
/petsc/src/sys/classes/draw/impls/x/
H A Dximage.c12 int i, last, tmp; in PetscArgSortPixVal() local
28 last = 0; in PetscArgSortPixVal()
31 last++; in PetscArgSortPixVal()
32 SWAP(idx[last], idx[i]); in PetscArgSortPixVal()
34 SWAP(idx[0], idx[last]); in PetscArgSortPixVal()
35 PetscCall(PetscArgSortPixVal(v, idx, last - 1)); in PetscArgSortPixVal()
36 PetscCall(PetscArgSortPixVal(v, idx + last + 1, right - (last + 1))); in PetscArgSortPixVal()
/petsc/src/mat/graphops/color/impls/minpack/
H A Dnumsrt.c5 … *n, PetscInt *nmax, PetscInt *num, PetscInt *mode, PetscInt *idex, PetscInt *last, PetscInt *next) in MINPACKnumsrt() argument
63 for (i = 0; i <= i__1; ++i) last[i] = 0; in MINPACKnumsrt()
68 next[k] = last[l]; in MINPACKnumsrt()
69 last[l] = k; in MINPACKnumsrt()
88 k = last[j]; in MINPACKnumsrt()
/petsc/src/sys/objects/device/tests/output/
H A Dex7_with_info_hip.out6 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
19 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
22 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
25 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
28 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
31 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
42 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
45 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
46 …e(): dctx 53 (global root) - obj 69 (memory copy (src)): we were also the last write event (intent…
57 …cy's (intent PETSC_MEMORY_ACCESS_WRITE) device type (hip), swapping last dependency with last write
[all …]
H A Dex7_with_info_cuda.out6 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
19 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
22 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
25 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
28 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
31 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
42 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
45 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
46 …e(): dctx 53 (global root) - obj 69 (memory copy (src)): we were also the last write event (intent…
57 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (cuda), swapping last dependency with last write
[all …]
H A Dex7_with_info_sycl.out6 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
19 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
22 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
25 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
28 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
31 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
42 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
45 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
46 …te(): dctx 2 (global root) - obj 18 (memory copy (src)): we were also the last write event (intent…
57 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (sycl), swapping last dependency with last write
[all …]
H A Dex7_with_info_host_no_device.out6 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
19 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
22 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
25 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
28 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
31 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
42 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
45 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
46 …e(): dctx 53 (global root) - obj 66 (memory copy (src)): we were also the last write event (intent…
59 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write
[all …]
H A Dex7_with_info_host_with_device.out6 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
19 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
22 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
25 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
28 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
31 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
42 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
45 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
46 …e(): dctx 53 (global root) - obj 66 (memory copy (src)): we were also the last write event (intent…
59 …y's (intent PETSC_MEMORY_ACCESS_WRITE) device type (IMPL), swapping last dependency with last write
[all …]
/petsc/src/mat/tests/
H A Dex135.c8 PetscInt first, last, i; in Assemble() local
23 PetscCall(MatGetOwnershipRange(A, &first, &last)); in Assemble()
25 last--; in Assemble()
26 for (i = first; i <= last; i++) { in Assemble()
/petsc/src/binding/petsc4py/test/
H A Dtest_lgmap.py13 last = first + lsize
17 last += 1
18 return list(range(first, last))
96 last = first + lsize
100 last += 1
101 self.idx = list(range(first, last))
/petsc/src/vec/is/is/tests/
H A Dex11.c8 PetscInt n, i, first, last, nmax = 100; in main() local
40 last = first + (PetscInt)((PETSC_INT_MAX - 1) * r); in main()
42 PetscCall(PetscRandomSetInterval(randvalues, first, last)); in main()
/petsc/share/petsc/
H A Dchkerrconvert.py90 last = collections.deque(('',''),maxlen=2)
98 if line.lstrip().startswith('PetscFunctionBegin') and last[0] == '' and last[1] == '{':
104 changes.append((lineno,last[0],None))
130 last.appendleft(line.strip())
/petsc/include/petsc/private/khash/
H A Dkhash.h237 khint_t k, i, last, mask, step = 0; \
240 last = i; \
243 if (i == last) return h->n_buckets; \
324 khint_t k, i, site, last, mask = h->n_buckets - 1, step = 0; \
328 last = i; \
332 if (i == last) { x = site; break; } \
/petsc/src/dm/impls/plex/
H A Dplexfluent.c9 unsigned int last; member
145 snum = sscanf(buffer, "(%x %x %x %d %d)", &s->zoneID, &s->first, &s->last, &s->type, &s->nd); in DMPlexCreateFluent_ReadSection()
148 PetscInt numCoords = s->last - s->first + 1; in DMPlexCreateFluent_ReadSection()
165 snum = sscanf(buffer, "(%x %x %x %d)", &s->zoneID, &s->first, &s->last, &s->nd); in DMPlexCreateFluent_ReadSection()
168 snum = sscanf(buffer, "(%x %x %x %d %d)", &s->zoneID, &s->first, &s->last, &s->type, &s->nd); in DMPlexCreateFluent_ReadSection()
172 PetscInt numCells = s->last - s->first + 1; in DMPlexCreateFluent_ReadSection()
190 snum = sscanf(buffer, "(%x %x %x %d)", &s->zoneID, &s->first, &s->last, &s->nd); in DMPlexCreateFluent_ReadSection()
195 snum = sscanf(buffer, "(%x %x %x %d %d)", &s->zoneID, &s->first, &s->last, &s->type, &s->nd); in DMPlexCreateFluent_ReadSection()
214 numFaces = s->last - s->first + 1; in DMPlexCreateFluent_ReadSection()
720 numVertices = s.last; in DMPlexCreateFluent()
[all …]
/petsc/src/dm/tests/output/
H A Dex30_1.out41 Local form of b on rank 0, last two nodes are ghost nodes
H A Dex30_3.out41 Local form of b on rank 0, last two nodes are ghost nodes
H A Dex30_2.out41 Local form of b on rank 0, last two nodes are ghost nodes
/petsc/include/petsc/private/cpp/
H A Dunordered_map.hpp430 inline KHashTable<V, H, KE>::KHashTable(Iter first, Iter last, std::input_iterator_tag) noexcept in KHashTable() argument
433 …PetscCallCXXAbort(PETSC_COMM_SELF, std::copy(std::move(first), std::move(last), std::inserter(*thi… in KHashTable()
442 inline KHashTable<V, H, KE>::KHashTable(Iter first, Iter last, std::random_access_iterator_tag) noe… in KHashTable() argument
445 PetscCallAbort(PETSC_COMM_SELF, reserve(static_cast<size_type>(std::distance(first, last)))); in KHashTable()
446 …PetscCallCXXAbort(PETSC_COMM_SELF, std::copy(std::move(first), std::move(last), std::inserter(*thi… in KHashTable()
629 const auto last = i; in find_and_emplace_final_() local
638 if (i == last) { in find_and_emplace_final_()
727 const auto last = i; in khash_find_() local
733 if (i == last) { in khash_find_()
765 …hTable<V, H, KE>::KHashTable(Iter first, Iter last) noexcept : KHashTable(std::move(first), std::m… in KHashTable() argument
/petsc/include/petsc/private/
H A Dmatdensecupmimpl.h344 …ype first, array_iterator_type last, index_functor_type idx_func) noexcept : first{std::move(first… in MatrixIteratorBase() argument
355 array_iterator_type last; variable
380 …lIterator(Iterator first, Iterator last, difference_type stride) noexcept : base_type{std::move(fi… in DiagonalIterator() argument
382 …PETSC_NODISCARD iterator end() const noexcept { return this->begin() + (this->last - this->first +… in end()
/petsc/src/ksp/pc/impls/gamg/
H A Dagg.c969 PetscCDIntNd *pos, *last = NULL; in fixAggregatesWithSquare() local
978 PetscCheck(last, PETSC_COMM_SELF, PETSC_ERR_PLIB, "last cannot be null"); in fixAggregatesWithSquare()
979 PetscCall(PetscCDRemoveNextNode(aggs_2, slid, last)); in fixAggregatesWithSquare()
983 } else last = pos; in fixAggregatesWithSquare()
1013 PetscCDIntNd *pos, *last = NULL; in fixAggregatesWithSquare() local
1023 PetscCheck(last, PETSC_COMM_SELF, PETSC_ERR_PLIB, "last cannot be null"); in fixAggregatesWithSquare()
1024 PetscCall(PetscCDRemoveNextNode(aggs_2, oldslidj, last)); in fixAggregatesWithSquare()
1028 } else last = pos; in fixAggregatesWithSquare()
1098 PetscCDIntNd *pos, *last = NULL; in fixAggregatesWithSquare() local
1111 PetscCall(PetscCDRemoveNextNode(aggs_2, lid, last)); in fixAggregatesWithSquare()
[all …]
/petsc/src/sys/yaml/include/
H A Dyaml.h841 yaml_char_t *last; member
856 unsigned char *last; member

1234