Displaying 4 results from an estimated 4 matches for "tlength".
Did you mean:
length
2019 Jun 27
1
[libnbd PATCH] block-status: Make callback usage consistent with pread_structured
...Read the extents and print them. *)
let size = NBD.get_size nbd in
NBD.block_status nbd size 0_L () (
- fun () meta _ entries ->
+ fun () meta _ entries err ->
+ printf "err=%d\n" !err;
if meta = "base:allocation" then (
printf "index\tlength\tflags\n";
for i = 0 to Array.length entries / 2 - 1 do
diff --git a/python/t/460-block-status.py b/python/t/460-block-status.py
index eeaa7b2..7e4ba2c 100644
--- a/python/t/460-block-status.py
+++ b/python/t/460-block-status.py
@@ -27,9 +27,10 @@ h.connect_command (["nbdkit"...
2011 Dec 01
0
Error message: object 'A' not found
...,100,100,100,100,100,100,100,100))
#Make this equal A, AA....KK for number of 10000s
# Organize distance data along with covariates and metadata, MAKE SURE THESE
COVARIATES ARE RIGHT, MAYBE I CAN ADD MINE HERE
peldist <- unmarkedFrameDS(y=yDat, siteCovs = data.frame(hab, year),
dist.breaks=cp, tlength=len, survey="Line", unitsIn="m")
peldist # look at the data
summary(peldist) # get a summary of
the data
# Part 3
# Fit models without covariates
hn <- distsamp(~1 ~1, peldist, keyfun="...
2019 Jun 27
0
Re: [libnbd PATCH] generator: Add support for namespace constants
...t,
"nr_entries=%zu\n",
id, metacontext, offset, nr_entries);
- if (strcmp (metacontext, "base:allocation") == 0) {
+ if (strcmp (metacontext, LIBNBD_CONTEXT_BASE_ALLOCATION) == 0) {
for (i = 0; i < nr_entries; i += 2) {
printf ("\t%zu\tlength=%" PRIu32 ", status=%" PRIu32 "\n",
i, entries[i], entries[i+1]);
@@ -148,21 +148,24 @@ check_extent (void *data, const char *metacontext,
case 1:
assert (nr_entries == 10);
assert (entries[0] == 8192); assert (entries[1] == 0);
- ass...
2019 Jun 27
3
[libnbd PATCH] generator: Add support for namespace constants
This just defines the namespace, its contexts and related constants and the only
supported one is currently base:allocation. The names of the constants are not
very future-proof, but shorter than LIBNBD_META_NS_CONTEXT_BASE_ALLOCATION or
similar.
Currently the output looks like this:
/* "base" namespace */
/* "base" namespace contexts */
/* "base:allocation"