search for: off1

Displaying 17 results from an estimated 17 matches for "off1".

Did you mean: off
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...base address. +quiet_cmd_syscall_alt = REBASE $@ + cmd_syscall_alt = sed ''s,^\([[:space:]]*\.[[:space:]]*=[[:space:]]*\),\1-0x55AA0000 + ,'' $< >$@ + +quiet_cmd_syscall_rel = COMPARE $@ + cmd_syscall_rel = set -e; \ + cmp -l $(basename $<) $< \ + | { read off1 old1 new1; \ + read off2 old2 new2; \ + test $$(expr $$off1 + 1) = $$off2; \ + echo " .long $$(expr $$off1 - 3)"; \ + while read off1 old3 new3; do \ + read off2 old4 new4; \ + test $$(expr $$off1 + 1) = $$off2; \ + test $$old1 = $$old3 -a $$new1 = $$new3;...
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...base address. +quiet_cmd_syscall_alt = REBASE $@ + cmd_syscall_alt = sed ''s,^\([[:space:]]*\.[[:space:]]*=[[:space:]]*\),\1-0x55AA0000 + ,'' $< >$@ + +quiet_cmd_syscall_rel = COMPARE $@ + cmd_syscall_rel = set -e; \ + cmp -l $(basename $<) $< \ + | { read off1 old1 new1; \ + read off2 old2 new2; \ + test $$(expr $$off1 + 1) = $$off2; \ + echo " .long $$(expr $$off1 - 3)"; \ + while read off1 old3 new3; do \ + read off2 old4 new4; \ + test $$(expr $$off1 + 1) = $$off2; \ + test $$old1 = $$old3 -a $$new1 = $$new3;...
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...base address. +quiet_cmd_syscall_alt = REBASE $@ + cmd_syscall_alt = sed ''s,^\([[:space:]]*\.[[:space:]]*=[[:space:]]*\),\1-0x55AA0000 + ,'' $< >$@ + +quiet_cmd_syscall_rel = COMPARE $@ + cmd_syscall_rel = set -e; \ + cmp -l $(basename $<) $< \ + | { read off1 old1 new1; \ + read off2 old2 new2; \ + test $$(expr $$off1 + 1) = $$off2; \ + echo " .long $$(expr $$off1 - 3)"; \ + while read off1 old3 new3; do \ + read off2 old4 new4; \ + test $$(expr $$off1 + 1) = $$off2; \ + test $$old1 = $$old3 -a $$new1 = $$new3;...
2020 Nov 15
2
lld error: output file too large <some large number>
...enerated. I narrowed it down to lld/Writer.cpp:getFileAlignment (). (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ()) Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value… Should this be abs(VA2 – VA1) ? Or Should it be cast to a signed integer so we subtract the difference rather than adding the large value? Thanks A. -------------- next part -------------- An HTML attachme...
2020 Nov 16
2
lld error: output file too large <some large number>
...Writer.cpp:getFileAlignment (). > > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ()) > > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value… > > > > Should this be abs(VA2 – VA1) ? > > Or > > Should it be cast to a signed integer so we subtract the difference rather than adding the large val...
2012 May 07
1
Value of Hurst exponent (R/S) method > 1
...m R/S Method Call: rsFit(x = data[, 2], levels = 64) Method: R/S Method Hurst Exponent: H beta *1.826240 1.826240 * Hurst Exponent Diagnostic: Estimate Std.Err t-value Pr(>|t|) X 1.826240 3.352896 0.5446755 0.5919988 Parameter Settings: n levels minnpts cut.off1 cut.off2 11895 64 3 5 316 Description: Mon May 7 16:16:59 2012 by user: Warning messages: 1: In rsFit(data[, 2], levels = 64) : Integer overflow in 'cumsum'; use 'cumsum(as.numeric(.))' 2: In (1:m) * Y[m] : NAs produced by integer overflow 3: In (1:...
2020 Nov 16
2
lld error: output file too large <some large number>
...> > > > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ()) > > > > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value… > > > > > > > > Should this be abs(VA2 – VA1) ? > > > > Or > > > > Should it be cast to a signe...
2020 Nov 16
1
lld error: output file too large <some large number>
...> > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ()) > > > > > > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value… > > > > > > > > > > > > Should this be abs(VA2 – VA1) ? > > > > > > Or >...
2020 Nov 16
0
lld error: output file too large <some large number>
...it down to lld/Writer.cpp:getFileAlignment (). > > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ()) > > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value… > > > > Should this be abs(VA2 – VA1) ? > > Or > > Should it be cast to a signed integer so we subtract the difference rather than adding the large value? > > > > Thanks &...
2020 Nov 16
0
lld error: output file too large <some large number>
...ignment (). > > > > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ()) > > > > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value… > > > > > > > > Should this be abs(VA2 – VA1) ? > > > > Or > > > > Should it be cast to a signed integer so we subtract the dif...
2012 May 06
0
Steps to determine Hurst exponent
...rom R/S Method Call: rsFit(x = data[, 2]) Method: R/S Method Hurst Exponent: H beta 0.8030667 0.8030667 Hurst Exponent Diagnostic: Estimate Std.Err t-value Pr(>|t|) X 0.8030667 0.05039722 15.93474 4.643595e-17 Parameter Settings: n levels minnpts cut.off1 cut.off2 227656 50 3 5 316 Description: Sun May 6 22:07:43 2012 by user: There were 14 warnings (use warnings() to see them) -- Thanks, Barun Saha JPA IIT, Kharagpur http://pothi.com/pothi/book/barun-saha-swapner-kheya http://delay-tolerant-networks.blogspot.com/p/...
2020 Aug 10
5
[PATCH nbdkit] python: Implement can_extents + extents.
...372,14 @@ indicated range. If the cache operation fails, your function should throw an exception, optionally using C<nbdkit.set_error> first. +=item C<extents> + +(Optional) + + def extents(h, count, offset, flags): + # return a list of (offset, length, type) tuples: + return [ (off1, len1, type1), (off2, len2, type2), ... ] + =back =head2 Missing callbacks @@ -382,9 +397,7 @@ C<version>, C<longname>, C<description>, C<config_help>, -C<magic_config_key>, -C<can_extents>, -C<extents>. +C<magic_config_key>. These are not y...
2020 Nov 16
0
lld error: output file too large <some large number>
...; > > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ()) > > > > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value… > > > > > > > > Should this be abs(VA2 – VA1) ? > > > > Or > > > &...
2020 Aug 10
2
[PATCH nbdkit] python: Allow extents to return any iterable (which includes lists).
...nbdkit-python-plugin.pod @@ -377,7 +377,8 @@ optionally using C<nbdkit.set_error> first. (Optional) def extents(h, count, offset, flags): - # return a list of (offset, length, type) tuples: + # return an iterable object (eg. list) of + # (offset, length, type) tuples: return [ (off1, len1, type1), (off2, len2, type2), ... ] =back diff --git a/plugins/python/python.c b/plugins/python/python.c index 46b912e2..27c5ede2 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -1035,7 +1035,8 @@ py_extents (void *handle, uint32_t count, uint64_t offset, struct ha...
2020 Aug 10
0
Re: [PATCH nbdkit] python: Implement can_extents + extents.
...eration fails, your function should throw an exception, > optionally using C<nbdkit.set_error> first. > > +=item C<extents> > + > +(Optional) > + > + def extents(h, count, offset, flags): > + # return a list of (offset, length, type) tuples: > + return [ (off1, len1, type1), (off2, len2, type2), ... ] Better to accept an iterable of tuples. This allows the plugin to do: def extents(h, count, offset, flags): for extent in client.extents(): if extent.offset > offset: return yield extent.start, extent...
2009 Aug 14
2
Bestfortress driver, network serial patch for nut-2.0
...I'm nearly dead, Jim */ /* OFF will powercycle when line power is available again */ } static int instcmd (const char *cmdname, const char *extra) { const char *p; if (!strcasecmp(cmdname, "load.off")) { printf ("powering off\n"); autorestart (0); upssend ("OFF1\r"); return STAT_INSTCMD_HANDLED; } else if (!strcasecmp(cmdname, "shutdown.return")) { p = dstate_getinfo ("ups.delay.shutdown"); if (!p) p = "1"; printf ("shutdown in %s seconds\n", p); autorestart (1); upssend ("OFF%s\r", p);...
2013 Jun 26
6
[PROGS PATCH] Import btrfs-extent-same
...gth of extent */ + uint16_t dest_count; /* in - total elements in info array */ + uint16_t reserved1; /* out - number of files that got deduped */ + uint32_t reserved2; + struct btrfs_ioctl_same_extent_info info[0]; +}; + +static void usage(const char *prog) +{ + printf("Usage: %s len file1 loff1 file2 loff2\n", prog); +} + +int main(int argc, char **argv) +{ + int ret, src_fd, i, numfiles; + char *srcf, *destf; + struct btrfs_ioctl_same_args *same; + struct btrfs_ioctl_same_extent_info *info; + unsigned long long bytes = 0ULL; + + if (argc < 6 || (argc % 2)) { + usage(argv[0]); +...