search for: maxsiz

Displaying 20 results from an estimated 252 matches for "maxsiz".

Did you mean: maxsize
2015 Nov 19
3
[PATCH] Refactor checksize.pl
...est.sh | 22 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 9 deletions(-) create mode 100644 mbr/checksize_test.sh diff --git a/mbr/checksize.pl b/mbr/checksize.pl index 4b42327..cbca5b2 100755 --- a/mbr/checksize.pl +++ b/mbr/checksize.pl @@ -19,25 +19,34 @@ use bytes; -($file, $maxsize, $padsize) = @ARGV; +($file, $maxsize) = @ARGV; + +if (!defined($file) or $file == "--help" or $file == "-h") { + $usage = <<"END_USAGE"; +Usage: $0 file [maxsize] +If maxsize is not given it will be guessed based on filename: + - 440 bytes for mbr and gptmb...
2015 Nov 19
1
[PATCH] Refactor checksize.pl
...d, 40 insertions(+), 9 deletions(-) > create mode 100644 mbr/checksize_test.sh > > diff --git a/mbr/checksize.pl b/mbr/checksize.pl > index 4b42327..cbca5b2 100755 > --- a/mbr/checksize.pl > +++ b/mbr/checksize.pl > @@ -19,25 +19,34 @@ > > use bytes; > > -($file, $maxsize, $padsize) = @ARGV; > +($file, $maxsize) = @ARGV; > + > +if (!defined($file) or $file == "--help" or $file == "-h") { > + $usage = <<"END_USAGE"; > +Usage: $0 file [maxsize] > +If maxsize is not given it will be guessed based on filename: &g...
2015 Nov 19
0
[PATCH] Refactor checksize.pl
...d, 40 insertions(+), 9 deletions(-) > create mode 100644 mbr/checksize_test.sh > > diff --git a/mbr/checksize.pl b/mbr/checksize.pl > index 4b42327..cbca5b2 100755 > --- a/mbr/checksize.pl > +++ b/mbr/checksize.pl > @@ -19,25 +19,34 @@ > > use bytes; > > -($file, $maxsize, $padsize) = @ARGV; > +($file, $maxsize) = @ARGV; > + > +if (!defined($file) or $file == "--help" or $file == "-h") { > + $usage = <<"END_USAGE"; > +Usage: $0 file [maxsize] > +If maxsize is not given it will be guessed based on filename: &g...
2010 Nov 11
8
zpool import panics
...dev 0 metaslabs 101 offset spacemap free --------------- ------------------- --------------- ------------- metaslab 0 offset 0 spacemap 26 free 0 segments 0 maxsize 0 freepct 0% metaslab 1 offset 4000000000 spacemap 39 free 0 segments 0 maxsize 0 freepct 0% metaslab 2 offset 8000000000 spacemap 40 free 0...
2006 Jul 15
7
:maxsize => 30 in form not working
Well, I''ve researched the books and the web to no avail (I tried the search here too but kept getting page not found.I''m doing what the examples say to do but I cannot get this work. The form allows entry of characters beyond the maxsize which causes the app to abend giving me the browser page showing a trace with the following info preceding the trace: Mysql::Error: #22001Data too long for column ''category'' at row 1: UPDATE categories SET `category` = ''Furniture - Bedroom11111111111111111111111111...
2011 Jan 05
0
Nnet and AIC: selection of a parsimonious parameterisation
...d AIC as: AIC = 2*np + N*log(RSS) where np corresponds to the non-null parameters of the neural network and N is the sample size (based on http://en.wikipedia.org/wiki/Akaike_information_criterion). Assuming a feed-forward neural network with a single hidden layer and a maximum number of neurons (maxSize), For size = 1 to maxSize Optimise the decay Select the neural network with the smallest AIC for a given size and decay using random starting parameterisation and random identification set For the lowest to the largest diagonal element of the Hessian, Equate the corresponding parameter t...
2008 Mar 03
3
LVM and kickstarts ?
...t exist. Running `lvm lvchange -a -y pathname` from with in the shell after anaconda failed made the volgroup / logvol active. Which would allow the format command to complete. Option 1: zerombr yes clearpart --all --initlabel part /boot --fstype ext3 --size=100 part pv.os --size=10000 --grow --maxsize=10000 --asprimary volgroup os_volgroup01 pv.os logvol swap --fstype swap --name=os_swap_logvol --vgname=os_volgroup01 --recommended logvol / --fstype ext3 --name=os_root --vgname=os_volgroup01 --size=1024 --grow Option 2: zerombr yes clearpart --all --initlabel part /boot --fstype ext3 --size=1...
2014 Jul 16
1
anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
I am testing some kickstarts on ESXi virtual machine with pair of 16GB disks. Partitioning is lvm over raid. If i am using "logvol --grow i get "ValueError: not enough free space in volume group" Only workaround i can find is to add --maxsize=XXX where XXX is at least 640MB less than available. (10 extents or 320Mb per created logical volume) Following snippet is failing with "DEBUG blivet: failed to set size: 640MB short" part raid.01 --size 512 --asprimary --ondrive=sda part raid.02 --size 1 --asprimary --ondrive=sda...
2014 Mar 20
1
modifying data in a package
I've tweaked Rmpi and want to have some variables that hold data in the package. One of the R files starts mpi.isend.obj <- vector("list", 500) #mpi.request.maxsize()) mpi.isend.inuse <- rep(FALSE, 500) #mpi.request.maxsize()) and then functions update those variables with <<-. When run: Error in mpi.isend.obj[[i]] <<- .force.type(x, type) :...
2014 Nov 25
2
CentOS-5.10 Sendmail STARTTLS error
...8: fl=0x802, mode=140777: SOCK inet04.mississauga.harte-lyne.ca/34091->(Transport endpoint is not connected): 1 Time(s) MCI at 0x8055b34: flags=27c86c<CACHED,ESMTP,SIZE,8BITMIME,DSN,INMIME,AUTH,AUTHACT,ENHSTAT,PIPELINED,TLSACT>, errno=32, herrno=0, exitstat=75, state=8, pid=0, maxsize=20480000, phase=client DATA 354, mailer=esmtp, status=4.4.2, rstatus=(null), host=inet08.hamilton.harte-lyne.ca., lastuse=Mon Nov 24 10:56:35 2014\n: 1 Time(s) MCI at 0x8053aa4: flags=27c86c<CACHED,ESMTP,SIZE,8BITMIME,DSN,INMIME,AUTH,AUTHACT,ENHSTAT,PIPELINED,TLSACT>, errno=32, herrno=0,...
2006 Mar 15
0
customizing scaffold_generator.rb to add :maxsize
Seems to me scaffold_generator.rb should add :maxsize => <whatever> as an option passed in form_helper (which then generates the form input fields). Anyone already done this? Or is there a good reason for rails to leave this up to me to do manually? Thanks for any help. Trevor -------------- next part -------------- An HTML attachment was...
2015 Dec 10
2
[PATCH] Receive multiple packets at a time
...e MAX_MSG 256 +#else +#define MAX_MSG 1 +#endif + +static void handle_incoming_vpn_packet(int sock, vpn_packet_t *pkt, sockaddr_t *from) { char *hostname; - sockaddr_t from; - socklen_t fromlen = sizeof(from); node_t *n; - pkt.len = recvfrom(listen_socket[sock].udp, (char *) &pkt.seqno, MAXSIZE, 0, &from.sa, &fromlen); - - if(pkt.len < 0) { - if(!sockwouldblock(sockerrno)) - logger(LOG_ERR, "Receiving packet failed: %s", sockstrerror(sockerrno)); - return; - } - - sockaddrunmap(&from); /* Some braindead IPv6 implementations do stupid things. */ + sockaddrunm...
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
...sockaddr_t addr[MAX_MSG] = {}; +#ifdef HAVE_RECVMMSG + struct mmsghdr msg[MAX_MSG]; + struct iovec iov[MAX_MSG]; +#else + socklen_t addrlen = sizeof addr[0]; +#endif node_t *from, *to; bool direct = false; + int num = 1, i; - pkt.offset = 0; - int len = recvfrom(ls->udp.fd, DATA(&pkt), MAXSIZE, 0, &addr.sa, &addrlen); +#ifdef HAVE_RECVMMSG + for (i = 0; i < MAX_MSG; i++) + { + pkt[i].offset = 0; + msg[i].msg_hdr.msg_name = &addr[i].sa; + msg[i].msg_hdr.msg_namelen = sizeof(addr[i]); + iov[i].iov_base = DATA(&pkt[i]); + iov[i].iov_len = MAXSIZE; + msg[i].msg_hdr....
2006 Apr 25
2
Noob Question: REgarding Forms ( Take 2 )
I''m hoping there''s an easy way to do this. I''m trying to read options from a database, and insert them into form tags. So for example, In the Database Table: options size: 300 type: text_field maxsize: 300 and I want to create a text_field form tag, with all the appropriate options, is there an easy way to do this, other than having the code output the HTML directly? I know I could just have the view put out; <input name= etc... but I want to use the Ruby Form helpers. <%= text_fie...
2011 Jan 03
1
Tinc improvements
...---------------------------- src/net.h ---------------------------------- diff --git a/src/net.h b/src/net.h index 55856e2..ab6bd41 100644 --- a/src/net.h +++ b/src/net.h @@ -31,7 +31,7 @@ #define MTU 1518 /* 1500 bytes payload + 14 bytes ethernet header + 4 bytes VLAN tag */ #endif -#define MAXSIZE (MTU + 4 + EVP_MAX_BLOCK_LENGTH + EVP_MAX_MD_SIZE + MTU/64 + 20) /* MTU + seqno + padding + HMAC + compressor overhead */ +#define MAXSIZE (MTU + 4 + 4 + EVP_MAX_BLOCK_LENGTH + EVP_MAX_MD_SIZE + MTU/64 + 20) /* MTU + flags + seqno + padding + HMAC + compressor overhead */ #define MAXBUFSIZE ((MAX...
2009 May 06
0
Maxsize error in excel creation
hai, I am making an excel file with spreadsheet-excel 0.3.5.1.I found a MaxSizeError when generating a large file.How to solve this problem.Could anyone know how to solve this problem? thanks, -- Posted via http://www.ruby-forum.com/.
2013 Mar 09
1
kickstart %pre vda/sda troubles
...loader --location=mbr --timeout=0 --driveorder=sda --append="crashkernel=auto rhgb quiet" part /boot --fstype=ext4 --size=500 part pv.008002 --grow --size=1 volgroup vg_host --pesize=4096 pv.008002 logvol / --fstype=ext4 --name=lv_root --vgname=vg_host --grow --size=1024 --maxsize=51200 logvol swap --name=lv_swap --vgname=vg_host --grow --size=512 --maxsize=1024 fi elif [ -b /dev/vda ] then zerombr clearpart --all bootloader --location=mbr --timeout=0 --driveorder=vda --append="crashkernel=auto rhgb quiet" clearpart --linux --drives=vda par...
2015 Apr 09
1
Trouble of setting samba with join AD
...hide unreadable = yes store dos attributes = Yes csc policy = disable profile acls = Yes vfs object = recycle recycle:repository = /mnt/raid/.recycle/Profiles/%u/%I/%m/%S recycle:keeptree = Yes recycle:versions = Yes recycle:maxsize = 0 recycle:exclude = Thumbs.db *.tmp *.temp ~$* recycle:touch = Yes # shares [public] path = /mnt/raid/public read only = No hide unreadable = No vfs object = recycle recycle:repository = /mnt/raid/.recycle/Public/%u/%I/%m/%S recyc...
2017 Mar 21
0
Patch: make slightly more verbose versions of isohdp.x.S
...ptmbr_f.bin isohdpfx_f.bin isohdppx_f.bin \ + isohdpfv.bin isohdppv.bin %.o: %.S $(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $< diff --git a/mbr/checksize.pl b/mbr/checksize.pl index 4b42327..1fb2a86 100755 --- a/mbr/checksize.pl +++ b/mbr/checksize.pl @@ -27,7 +27,7 @@ if (!defined($maxsize)) { $maxsize = $padsize = 440; } elsif ($file =~ /^gptmbr[^0-9a-z]/) { $maxsize = $padsize = 440; - } elsif ($file =~ /^isohdp[fp]x[^0-9a-z]/) { + } elsif ($file =~ /^isohdp[fp][vx][^0-9a-z]/) { $maxsize = $padsize = 432; } elsif ($file =~ /^altmbr[^0-9a-z]/) { $maxsize = $...
2006 Oct 25
0
Logwatch sendmail errors... What does it mean ?
...link=1, u/gid=0/51, size=4190579: 4 Time(s) 4: fl=0x2, mode=100600: dev=3/65, ino=14794755, nlink=1, u/gid=0/51, size=1632: 2 Time(s) MCI at 0x92dfa44: flags=7c86c<CACHED,ESMTP,SIZE,8BITMIME,DSN,INMIME,AUTH,AUTHACT,ENHSTAT,PIPELINED>, errno=32, herrno=0, exitstat=75, state=8, pid=0, maxsize=8192000, phase=client DATA 354, mailer=esmtp, status=4.4.2, rstatus=(null), host=poczta.orange.pl., lastuse=Tue Oct 24 22:13:37 2006\n: 1 Time(s) 10: fl=0x8000, mode=100640: dev=3/1, ino=11748385, nlink=1, u/gid=0/51, size=12288: 1 Time(s) 9: fl=0x802, mode=140777: SOCK xxx.tld/42800-&g...