- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,365 for Read (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
} body.awaitSuccess() assertThat(log.take()!!) .contains("StreamResetException: stream was reset: CANCEL") } /** * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout should * only elapse 1000 ms after the request body is sent. */ @Test fun headersReadTimeoutDoesNotStartUntilLastRequestBodyByteFire() { enableProtocol(Protocol.HTTP_2) server.enqueue(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) { for (int i = 0; i < bytes.length; i++) { assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF); } assertThat(decodingStream.read()).isEqualTo(-1); } } public void testToString() { assertThat(base64().toString()).isEqualTo("BaseEncoding.base64().withPadChar('=')");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// When int bytesRead = (int) invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0); // Then assertEquals(16, bytesRead, "Should read 16 bytes"); assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should decode share type"); assertEquals(0x01, response.getShareFlags(), "Should decode share flags");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
ci/official/containers/ml_build_arm64/setup.python.sh
if [[ ! -f "/usr/local/include/$VERSION" ]]; then ln -sf /usr/include/$VERSION /usr/local/include/$VERSION fi # Install pip wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://bootstrap.pypa.io/get-pip.py /usr/bin/$VERSION get-pip.py /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Aug 01 19:14:43 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
} catch (final Exception e) { throw new IllegalArgumentException("Failed to read " + filePath, e); } reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis(); } else {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun May 18 02:59:16 UTC 2025 - 6.7K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
*/ package jcifs.smb1.smb1; /** This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for complete details. */ /** * An abstract class for NTLM authentication in SMB1 protocol.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
* * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which * combines writing data to a pipe and reading the response in a single operation. * This is more efficient than separate write and read operations. */ public class TransTransactNamedPipe extends SmbComTransaction { private static final Logger log = LoggerFactory.getLogger(TransTransactNamedPipe.class); private final byte[] pipeData;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
) val response = call.execute() interruptLater(500) val responseBody = response.body.byteStream() val buffer = ByteArray(1024) assertFailsWith<IOException> { while (responseBody.read(buffer) != -1) { } } responseBody.close() } @Test fun forciblyStopDispatcher() { client = client .newBuilder() .fastFallback(true)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
* <p> * How NTLMSSP is used in conjunction with HTTP and MSIE clients is * described in an <A HREF="http://www.innovation.ch/java/ntlm.html">NTLM * Authentication Scheme for HTTP</A>. <p> Also, read <a * href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and * the Network Explorer Servlet</a> related information. */ public class NtlmSsp implements NtlmFlags { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
byte[] buffer = new byte[10]; assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0)); } @Nested @DisplayName("read methods are no‑ops") class ReadMethods { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo"); @Test void setup() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)