mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Add some "horizontal rule" comment lines
This commit is contained in:
1 parent
fc66207b59
commit
670b45be53
19 files changed
+40
-2
No files matched your search
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
crc32 prints the CRC-32 checksum (using the IEEE polynomial) of stdin. It is
|
crc32 prints the CRC-32 checksum (using the IEEE polynomial) of stdin. It is
|
||||||
similar to the standard /usr/bin/crc32 program, except that this example
|
similar to the standard /usr/bin/crc32 program, except that this example
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
gifplayer prints an ASCII representation of the GIF image read from stdin. To
|
gifplayer prints an ASCII representation of the GIF image read from stdin. To
|
||||||
play Eadweard Muybridge's iconic galloping horse animation, run:
|
play Eadweard Muybridge's iconic galloping horse animation, run:
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
library exercises the software libraries built by `wuffs genlib`.
|
library exercises the software libraries built by `wuffs genlib`.
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
zcat decodes gzip'ed data to stdout. It is similar to the standard /bin/zcat
|
zcat decodes gzip'ed data to stdout. It is similar to the standard /bin/zcat
|
||||||
program, except that this example program only reads from stdin. On Linux, it
|
program, except that this example program only reads from stdin. On Linux, it
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// Silence the nested slash-star warning for the next comment's command line.
|
// Silence the nested slash-star warning for the next comment's command line.
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wcomment"
|
#pragma clang diagnostic ignored "-Wcomment"
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// Silence the nested slash-star warning for the next comment's command line.
|
// Silence the nested slash-star warning for the next comment's command line.
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wcomment"
|
#pragma clang diagnostic ignored "-Wcomment"
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// This file contains a hand-written C implementation of the Adler32 hash
|
// This file contains a hand-written C implementation of the Adler32 hash
|
||||||
// function, based on the code generated by the Wuffs std/zlib implementation.
|
// function, based on the code generated by the Wuffs std/zlib implementation.
|
||||||
// Its purpose is to benchmark different compilers, or different versions of
|
// Its purpose is to benchmark different compilers, or different versions of
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// This file contains a hand-written C benchmark of different strategies for
|
// This file contains a hand-written C benchmark of different strategies for
|
||||||
// decoding PNG data.
|
// decoding PNG data.
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// This program exercises the Rust GIF decoder at
|
// This program exercises the Rust GIF decoder at
|
||||||
// https://github.com/Geal/gif.rs
|
// https://github.com/Geal/gif.rs
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// This program exercises the Rust GIF decoder at
|
// This program exercises the Rust GIF decoder at
|
||||||
// https://github.com/PistonDevelopers/image-gif
|
// https://github.com/PistonDevelopers/image-gif
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// This file contains a hand-written C implementation of
|
// This file contains a hand-written C implementation of
|
||||||
// release/c/wuffs-unsupported-snapshot.c's generated
|
// release/c/wuffs-unsupported-snapshot.c's generated
|
||||||
// wuffs_deflate__decoder__decode_huffman_fast function.
|
// wuffs_deflate__decoder__decode_huffman_fast function.
|
||||||
@@ -23,9 +25,9 @@
|
|||||||
// To repeat, substituting in this C implementation is NOT SAFE, and may result
|
// To repeat, substituting in this C implementation is NOT SAFE, and may result
|
||||||
// in buffer overflows. This code exists only to aid optimization of the (safe)
|
// in buffer overflows. This code exists only to aid optimization of the (safe)
|
||||||
// std/deflate/*.wuffs code and the Wuffs compiler's code generation.
|
// std/deflate/*.wuffs code and the Wuffs compiler's code generation.
|
||||||
//
|
|
||||||
// ----------------
|
// ----------------
|
||||||
//
|
|
||||||
// Having said that, to generate the benchmark numbers with this hand-written C
|
// Having said that, to generate the benchmark numbers with this hand-written C
|
||||||
// implementation, edit release/c/wuffs-unsupported-snapshot.c and find the
|
// implementation, edit release/c/wuffs-unsupported-snapshot.c and find the
|
||||||
// lines that say
|
// lines that say
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
// Uncomment this line to test and bench miniz instead of zlib-the-library.
|
// Uncomment this line to test and bench miniz instead of zlib-the-library.
|
||||||
// #define WUFFS_MIMICLIB_USE_MINIZ_INSTEAD_OF_ZLIB 1
|
// #define WUFFS_MIMICLIB_USE_MINIZ_INSTEAD_OF_ZLIB 1
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
||||||
bench" commands. These commands take an optional "-mimic" flag to check that
|
bench" commands. These commands take an optional "-mimic" flag to check that
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
||||||
bench" commands. These commands take an optional "-mimic" flag to check that
|
bench" commands. These commands take an optional "-mimic" flag to check that
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
||||||
bench" commands. These commands take an optional "-mimic" flag to check that
|
bench" commands. These commands take an optional "-mimic" flag to check that
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
||||||
bench" commands. These commands take an optional "-mimic" flag to check that
|
bench" commands. These commands take an optional "-mimic" flag to check that
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
||||||
bench" commands. These commands take an optional "-mimic" flag to check that
|
bench" commands. These commands take an optional "-mimic" flag to check that
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
||||||
bench" commands. These commands take an optional "-mimic" flag to check that
|
bench" commands. These commands take an optional "-mimic" flag to check that
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
// ----------------
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
This test program is typically run indirectly, by the "wuffs test" or "wuffs
|
||||||
bench" commands. These commands take an optional "-mimic" flag to check that
|
bench" commands. These commands take an optional "-mimic" flag to check that
|
||||||
|
|||||||
Reference in new issue
Block a user