- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 383 for wrap (0.02 sec)
-
internal/bpool/bpool.go
} return &BytePoolCap{ c: make(chan []byte, maxSize), w: width, wcap: capwidth, } } // Populate - populates and pre-warms the byte pool, this function is non-blocking. func (bp *BytePoolCap) Populate() { for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) { bp.Put(buf[:bp.w]) } } // Get gets a []byte from the BytePool, or creates a new one if none are
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
protected String line = EMPTY; /** * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops. * * @param reader * The {@link Reader} to read strings from. Must not be {@literal null}. * @return An {@link Iterable} that wraps a {@link LineIterator}. */ public static Iterable<String> iterable(final Reader reader) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0) -
internal/bpool/bpool_test.go
bp.Put(make([]byte, bp.w, bp.wcap-1)) // wrong capacity is rejected (less) bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more) bp.Put(make([]byte, width)) // wrong capacity is rejected (very less) if len(bp.c) > 0 { t.Fatal("bytepool should have rejected invalid packets") } // Try putting a short slice into pool bp.Put(make([]byte, bp.w, bp.wcap)[:2]) if len(bp.c) != 1 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
* * @author higa */ public abstract class PropertiesUtil { /** * Do not instantiate. */ protected PropertiesUtil() { } /** * Wraps exception handling for {@link Properties#load(InputStream)}. * <p> * The input stream is not closed. * </p> * * @param props the property set (must not be {@literal null})Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
/** {@link Iterator} */ protected final Iterator<T> iterator; /** The index of the iterator. */ protected int index; /** * Returns an {@link Iterable} that wraps an {@link IndexedIterator} for use in a for-each statement. * * @param <T> the element type * @param iterable the iterable (must not be {@literal null})Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.3K bytes - Viewed (0) -
tests/test_wrapped_method_forward_reference.py
def passthrough(f): @functools.wraps(f) def method(*args, **kwargs): return f(*args, **kwargs) return method def test_wrapped_method_type_inference(): """ Regression test ensuring that when a method imported from another module is decorated with something that sets the __wrapped__ attribute (functools.wraps),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 17:23:14 UTC 2025 - 997 bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
protected Class<?> clazz; /** If {@link Object} class should also be iterated, set to {@literal true} */ protected final boolean includeObject; /** * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement. * * @param clazz the class (must not be {@literal null}) * @return an {@link Iterable} wrapping a {@link ClassIterator} */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
fuzzing/fuzzingserver-test.sh
cd "$SCRIPT_DIR" which wstest if [ $? != 0 ]; then echo "Run 'pip install autobahntestsuite', maybe with 'sudo'." exit 1 fi which jq if [ $? != 0 ]; then echo "Run 'brew install jq'" exit 1 fi trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT set -ex wstest -m fuzzingserver -s fuzzingserver-config.json & sleep 2 # wait for wstest to start java -jar target/okhttp-tests-*-jar-with-dependencies.jar
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Mar 26 02:01:32 UTC 2019 - 673 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import org.codelibs.core.io.FileUtil; /** * A custom InputStream that wraps a temporary file. This class ensures that the temporary file * is deleted when the stream is closed. */ public class TemporaryFileInputStream extends InputStream { private final File tempFile;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
RELEASE.md
...
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Oct 28 22:27:41 UTC 2025 - 740.4K bytes - Viewed (3)