- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 908 for Creating (0.04 sec)
-
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * SMB1 transaction subcommand for peeking at data in a named pipe. * * This class implements the TRANS_PEEK_NAMED_PIPE transaction which allows * reading data from a pipe without removing it, useful for checking if data * is available before performing a blocking read. */ public class TransPeekNamedPipe extends SmbComTransaction { private final int fid; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
import java.io.IOException; import java.io.Reader; import java.nio.CharBuffer; import java.util.ArrayDeque; import java.util.Queue; import org.jspecify.annotations.Nullable; /** * A class for reading lines of text. Provides the same functionality as {@link * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of * {@link Reader}. * * @author Chris Nokleberg * @since 1.0 */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
IOException exception = assertThrows(IOException.class, () -> { SessionServicePacket.readPacketType(bais, buffer, 0); }); assertEquals("unexpected EOF reading netbios session header", exception.getMessage()); } @Test @DisplayName("readPacketType should throw IOException on incomplete header") void testReadPacketTypeIncompleteHeader() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
internal/http/close.go
// // Subsequently this allows golang http RoundTripper // to reuse the same connection for future requests. func DrainBody(respBody io.ReadCloser) { // Callers should close resp.Body when done reading from it. // If resp.Body is not closed, the Client's underlying RoundTripper // (typically Transport) may not be able to reuse a persistent TCP // connection to the server for a subsequent "keep-alive" request.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/erasure-decode.go
readerIndex := 0 var wg sync.WaitGroup // if readTrigger is true, it implies next disk.ReadAt() should be tried // if readTrigger is false, it implies previous disk.ReadAt() was successful and there is no need // to try reading the next disk. for readTrigger := range readTriggerCh { newBufLK.RLock() canDecode := p.canDecode(newBuf) newBufLK.RUnlock() if canDecode { break } if readerIndex == len(p.readers) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java
} public void test_isUrlChar_extendedAscii() { // Test extended ASCII characters (not valid URL chars without encoding) assertFalse(CharUtil.isUrlChar('\u00A0')); // non-breaking space assertFalse(CharUtil.isUrlChar('\u00FF')); // ΓΏ } public void test_isUrlChar_unicode() { // Test Unicode characters (not valid URL chars without encoding)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.6K bytes - Viewed (0) -
docs/sts/assume-role.go
if f, err := os.Open(sessionPolicyFile); err != nil { log.Fatalf("Unable to open session policy file: %v", err) } else { defer f.Close() bs, err := io.ReadAll(f) if err != nil { log.Fatalf("Error reading session policy file: %v", err) } policy = string(bs) } stsOpts.Policy = policy } if expiryDuration != 0 { stsOpts.DurationSeconds = int(expiryDuration.Seconds()) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (1) -
guava-tests/test/com/google/common/cache/CacheRefreshTest.java
import com.google.common.cache.TestingCacheLoaders.IncrementingLoader; import com.google.common.testing.FakeTicker; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests relating to automatic cache refreshing. * * @author Charles Fry */ @NullUnmarked public class CacheRefreshTest extends TestCase { public void testAutoRefresh() { FakeTicker ticker = new FakeTicker();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 4K bytes - Viewed (0) -
internal/ringbuffer/README.md
# Blocking vs Non-blocking The default behavior of the ring buffer is non-blocking, meaning that reads and writes will return immediately with an error if the operation cannot be completed. If you want to block when reading or writing, you must enable it: ```go rb := ringbuffer.New(1024).SetBlocking(true) ``` Enabling blocking will cause the ring buffer to behave like a buffered [io.Pipe](https://pkg.go.dev/io#Pipe).
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
import jcifs.Configuration; /** * SMB1 transaction subcommand for calling a named pipe. * * This class implements the TRANS_CALL_NAMED_PIPE transaction which allows * writing data to and reading data from a named pipe in a single operation. */ public class TransCallNamedPipe extends SmbComTransaction { private static final Logger log = LoggerFactory.getLogger(TransCallNamedPipe.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0)