Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public ZstdCompressorOutputStream get() throws IOException {
* @return {@code this} instance.
* @see ZstdConstants#ZSTD_CHAINLOG_MIN
* @see ZstdConstants#ZSTD_CHAINLOG_MAX
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setChainLog(final int chainLog) {
Expand All @@ -126,7 +126,7 @@ public Builder setChainLog(final int chainLog) {
*
* @param checksum Whether a 32-bits checksum of content is written at end of frame.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setChecksum(final boolean checksum) {
Expand All @@ -146,7 +146,7 @@ public Builder setChecksum(final boolean checksum) {
*
* @param closeFrameOnFlush whether to close the frame on flush.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setCloseFrameOnFlush(final boolean closeFrameOnFlush) {
Expand All @@ -170,7 +170,7 @@ public Builder setCloseFrameOnFlush(final boolean closeFrameOnFlush) {
*
* @param dict The dictionary buffer.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter12">Zstd manual Chapter12</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter12">Zstd manual Chapter12</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setDict(final byte[] dict) {
Expand All @@ -193,7 +193,7 @@ public Builder setDict(final byte[] dict) {
* @return {@code this} instance.
* @see ZstdConstants#ZSTD_HASHLOG_MIN
* @see ZstdConstants#ZSTD_HASHLOG_MAX
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setHashLog(final int hashLog) {
Expand All @@ -216,7 +216,7 @@ public Builder setHashLog(final int hashLog) {
*
* @param jobSize Size of a compression job.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/compress/zstdmt_compress.h">zstdmt_compress.h</a>
*/
public Builder setJobSize(final int jobSize) {
Expand All @@ -242,7 +242,7 @@ public Builder setJobSize(final int jobSize) {
* @see ZstdConstants#ZSTD_CLEVEL_DEFAULT
* @see ZstdConstants#ZSTD_CLEVEL_MIN
* @see ZstdConstants#ZSTD_CLEVEL_MAX
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setLevel(final int level) {
Expand All @@ -264,7 +264,7 @@ public Builder setLevel(final int level) {
*
* @param minMatch minimum match size for long distance matcher.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setMinMatch(final int minMatch) {
Expand Down Expand Up @@ -309,7 +309,7 @@ public Builder setMinMatch(final int minMatch) {
*
* @param overlapLog The overlap size, as a fraction of window size.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setOverlapLog(final int overlapLog) {
Expand All @@ -330,7 +330,7 @@ public Builder setOverlapLog(final int overlapLog) {
* @return {@code this} instance.
* @see ZstdConstants#ZSTD_SEARCHLOG_MIN
* @see ZstdConstants#ZSTD_SEARCHLOG_MAX
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setSearchLog(final int searchLog) {
Expand Down Expand Up @@ -360,7 +360,7 @@ public Builder setSearchLog(final int searchLog) {
*
* @param strategy The {@code ZSTD_strategy} from the C enum definition.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setStrategy(final int strategy) {
Expand Down Expand Up @@ -390,7 +390,7 @@ public Builder setStrategy(final int strategy) {
*
* @param targetLength A value that depends on the strategy, see {@code ZSTD_c_targetLength}.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setTargetLength(final int targetLength) {
Expand All @@ -416,7 +416,7 @@ public Builder setTargetLength(final int targetLength) {
* @return {@code this} instance.
* @see ZstdConstants#ZSTD_WINDOWLOG_MIN
* @see ZstdConstants#ZSTD_WINDOWLOG_MAX
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setWindowLog(final int windowLog) {
Expand All @@ -441,7 +441,7 @@ public Builder setWindowLog(final int windowLog) {
*
* @param workers How many threads will be spawned to compress in parallel.
* @return {@code this} instance.
* @see <a href="https://facebook.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://meta.github.io/zstd/zstd_manual.html#Chapter5">Zstd manual Chapter5</a>
* @see <a href="https://github.com/facebook/zstd/blob/dev/lib/zstd.h">zstd.h</a>
*/
public Builder setWorkers(final int workers) {
Expand Down