- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 522 for reusing (0.05 seconds)
-
cmd/streaming-signature-v4.go
// The s3ChunkedReader returns io.EOF when the final 0-length chunk is read. // // NewChunkedReader is not needed by normal applications. The http package // automatically decodes chunking when reading response bodies. func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) { cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer) if errCode != ErrNone {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE; /* * Requiring desugaring for guava-*testlib* is likely safe, at least for the reflection-based * NullPointerTester. But if you are a user who is reading this because this change caused you * trouble, please let us know: https://github.com/google/guava/issues/new */ @IgnoreJRERequirement public NullPointerTester() { try { /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
cmd/storage-rest-client.go
ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout()) defer cancel() // Use websocket when not reading data. if !opts.ReadData { resp, err := storageReadVersionRPC.Call(ctx, client.gridConn, grid.NewMSSWith(map[string]string{ storageRESTDiskID: *client.diskID.Load(), storageRESTOrigVolume: origvolume,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
} // Helper method to read string from buffer private String readStringFromBuffer(byte[] buffer, int offset, int length) { // Simple ASCII string reading for test purposes StringBuilder sb = new StringBuilder(); for (int i = offset; i < offset + length && buffer[i] != 0; i++) { if (buffer[i] != 0) { sb.append((char) buffer[i]);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
byte[] buffer = new byte[0]; response.setDataCount(0); // The implementation will try to decode even with an empty buffer, causing ArrayIndexOutOfBoundsException assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, 0); }); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* This avoids out-of-control memory consumption, and it keeps the cache from growing so * large that doing the lookup is noticeably slower than redoing the work would be. * * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope * that this will suffice. I have not even benchmarked with different size limits.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/TreeMultimap.java
stream.writeObject(valueComparator()); Serialization.writeMultimap(this, stream); } @GwtIncompatible @J2ktIncompatible @SuppressWarnings("unchecked") // reading data stored by writeObject private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
## Version 2.5.0 _2015-08-25_ * **Timeouts now default to 10 seconds.** Previously we defaulted to never timing out, and that was a lousy policy. If establishing a connection, reading the next byte from a connection, or writing the next byte to a connection takes more than 10 seconds to complete, you’ll need to adjust the timeouts manually.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
guava/src/com/google/common/io/Files.java
/** * Returns a new {@link CharSource} for reading character data from the given file using the given * character set. * * @since 14.0 */ public static CharSource asCharSource(File file, Charset charset) { return asByteSource(file).asCharSource(charset); } /** * Returns a new {@link CharSink} for writing character data to the given file using the givenCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
import java.net.UnknownHostException; import jcifs.smb1.util.Encdec; /** * This class provides random access to files stored on an SMB/CIFS network resource. * It implements the DataInput and DataOutput interfaces for reading and writing primitive * Java data types to the file. */ public class SmbRandomAccessFile implements DataOutput, DataInput { private static final int WRITE_OPTIONS = 0x0842; private final SmbFile file;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0)