Searched defs:size (Results 1 - 9 of 9) sorted by relevance

/pkg/src/util/log-scripts/
H A Dlog.py71 def dlunits(codes, size):
75 if sum(codes[k]) >= size:
80 def dls_linked(codes_200, codes_206, size):
85 if total > size:
86 linked += total//size
88 if total > 10 * size:
100 size = None variable
107 size = int(arg) variable
121 if not size:
124 print("200 units: {0:d}".format(dlunits(codes_200, size)))
[all...]
/pkg/src/modules/solver/
H A Dvec.h30 int size; member in struct:veci_t
37 v->size = 0;
44 static inline int veci_size (veci* v) { return v->size; }
45 static inline void veci_resize (veci* v, int k) { v->size = k; } // only safe to shrink !!
48 if (v->size == v->cap) {
52 v->ptr[v->size++] = e;
62 int size; member in struct:vecp_t
69 v->size = 0;
76 static inline int vecp_size (vecp* v) { return v->size; }
77 static inline void vecp_resize (vecp* v, int k) { v->size
[all...]
H A Dsolver.h100 int size; // nof variables member in struct:solver_t
101 int cap; // size of varmaps
H A Dpy_solver.c94 * allocate a ref-cnted pointer to a chunk of memory of specified size
95 * returns w/ refcnt set to 1. Be able to retrieve size.
99 alloc_refcntptr(size_t size) argument
101 long *ptr = malloc(size + sizeof (long) *2);
102 *ptr++ = size;
H A Dsolver.c62 // Returns a random integer 0 <= x < size. Seed must never be 0.
63 static inline int irand(double* seed, int size) { argument
64 return (int)(drand(seed) * size); }
70 void sort(void** array, int size, int(*comp)(const void *, const void *));
177 int next = irand(&s->random_seed,s->size);
178 assert(next >= 0 && next < s->size);
192 int size = veci_size(&s->order)-1; local
193 int x = heap[size];
195 veci_resize(&s->order,size);
199 if (size >
283 int size; local
1244 selectionsort(void** array, int size, int(*comp)(const void *, const void *)) argument
1260 sortrnd(void** array, int size, int(*comp)(const void *, const void *), double* seed) argument
1285 sort(void** array, int size, int(*comp)(const void *, const void *)) argument
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_info.py833 pkg.size={size}""".format(
837 size=a.attrs["pkg.size"] variable in class:TestPkgInfoPerTestRepo
/pkg/src/modules/client/
H A Drad_pkg.py318 size = property(get_any("_size"), set_any("_size")) variable in class:PkgInfo
/pkg/src/modules/
H A Delfextract.c303 elf_contenthash_cb(size_t offset, size_t size, void *udata) argument
307 if (!size)
311 SHA256Update(h->s256c, h->base + offset, size);
315 SHA512_t_Update(h->s512c, h->base + offset, size);
H A Dmisc.py526 # the largest or if the byte size is within the current
555 """Takes a file action and returns the over-the-wire size of
556 a package as an integer. The OTW size is the compressed size,
557 pkg.csize. If that value isn't available, it returns pkg.size.
558 If pkg.size isn't available, return zero."""
560 size = action.attrs.get("pkg.csize")
561 if size is None:
562 size = action.attrs.get("pkg.size",
681 def size(self): member in class:_GZWriteWrapper
[all...]

Completed in 37 milliseconds