This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ../../fse_crash.bin | ./zstd -c > /dev/null | |
saved rank count: 0 | |
Ranks: | |
- index: 0, count=9 | |
- index: 1, count=8 | |
- index: 2, count=8 | |
- index: 3, count=8 | |
- index: 4, count=8 | |
- index: 5, count=8 | |
- index: 6, count=8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff | |
diff --git a/lib/fse.c b/lib/fse.c | |
index a1aeea5..bee6afc 100644 | |
--- a/lib/fse.c | |
+++ b/lib/fse.c | |
@@ -84,6 +84,7 @@ | |
#include <stdlib.h> /* malloc, free, qsort */ | |
#include <string.h> /* memcpy, memset */ | |
#include <stdio.h> /* printf (debug) */ | |
+#include <assert.h> /* assert (debug) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test with: | |
- Python 3.4 | |
- Zend Framework 1.12.16 tar ungzipped, 104Mb | |
- Zstd: 0.4.6, 0.3.6, 0.0.1 | |
- System: | |
- CPU: AMD FX-8350 4GHz | |
- MEM: 16Gb DDR3-1600 | |
- OS: Ubuntu 14.04 amd64, Linux 3.19 | |
- CpuFreq: performance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/core/ngx_connection.c | |
+++ b/src/core/ngx_connection.c | |
@@ -1167,3 +1167,60 @@ | |
return NGX_ERROR; | |
} | |
+ | |
+ | |
+/* | |
+ * When a socket is idle, determines if the kernel is draining its buffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# More advanced on-mount script for OpenVZ container | |
# Based on https://openvz.org/Bind_mounts | |
# | |
# 1. Mount some directory inside container | |
# 2. Set quotas on that directory inside container | |
# | |
[ -f /etc/vz/vz.conf ] || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# More advanced on-umount script for OpenVZ container | |
# Based on https://openvz.org/Bind_mounts | |
# | |
# 1. Set quotas off | |
# | |
[ -f /etc/vz/vz.conf ] || exit 1 | |
[ -f $VE_CONFFILE ] || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/QemuServer.pm b/QemuServer.pm | |
index 970edb5..9e7b281 100644 | |
--- a/QemuServer.pm | |
+++ b/QemuServer.pm | |
@@ -4749,10 +4749,20 @@ sub tar_archive_read_firstfile { | |
die "ERROR: file '$archive' does not exist\n" if ! -f $archive; | |
+ my $cmd = undef; | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: nginx-1.12.0/src/core/ngx_connection.c | |
=================================================================== | |
--- nginx-1.12.0.orig/src/core/ngx_connection.c 2017-04-15 04:39:30.043542084 +0300 | |
+++ nginx-1.12.0/src/core/ngx_connection.c 2017-04-15 04:39:29.885545744 +0300 | |
@@ -1402,3 +1402,60 @@ | |
return NGX_ERROR; | |
} | |
+ | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm.orig 2017-11-01 03:04:00.000000000 +0300 | |
+++ /usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm 2017-11-09 21:30:14.710183003 +0300 | |
@@ -12,6 +12,7 @@ | |
use base qw(PVE::LXC::Setup::Debian); | |
my $known_versions = { | |
+ '18.04' => 1, # bionic LTS | |
'17.10' => 1, # artful | |
'17.04' => 1, # zesty | |
'16.10' => 1, # yakkety |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm.orig 2017-09-12 14:48:50.000000000 +0300 | |
+++ /usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm 2017-09-17 10:14:06.284276148 +0300 | |
@@ -20,6 +20,7 @@ | |
'15.04' => 1, # vivid | |
'14.04' => 1, # trusty LTS | |
'12.04' => 1, # precise LTS | |
+ '10.04' => 1, # lucid LTS | |
}; | |
sub new { |
OlderNewer