- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 968 for Buffer (0.1 sec)
-
cmd/bucket-metadata_gen_test.go
v := BucketMetadata{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBucketMetadata(b *testing.B) { v := BucketMetadata{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
StringBuilder buffer = new StringBuilder(256); Proxy proxy = repository.getProxy(); if (proxy != null) { if (proxy.getUserName() != null) { int hash = (proxy.getUserName() + proxy.getPassword()).hashCode(); buffer.append(hash).append('@'); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
if (name.buffer == null) { if (_name_buffers < 0 || _name_buffers > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE ); name.buffer = new short[_name_buffers]; } _src = _src.derive(_name_bufferi); for (int _i = 0; _i < _name_bufferl; _i++) { name.buffer[_i] = (short)_src.dec_ndr_short();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 14K bytes - Viewed (0) -
docs/contribute/concurrency.md
bytes arrive, the stream is closed, or a timeout elapses. If we get bytes but there's nobody asking for them, we buffer them. We don't consider bytes as delivered for flow control until they're consumed by the application. Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the user unpauses...
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
import okhttp3.internal.http.HttpMethod import okhttp3.internal.http.StatusLine import okhttp3.internal.platform.Platform import okhttp3.internal.platform.Platform.Companion.WARN import okhttp3.internal.toLongOrDefault import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString.Companion.decodeBase64 import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString import okio.FileSystem
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */ protected void update(byte[] b, int off, int len) { for (int i = off; i < off + len; i++) { update(b[i]); } } /** Updates this hasher with bytes from the given buffer. */ protected void update(ByteBuffer b) { if (b.hasArray()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
} @Override protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComLogoffAndX.java
return 0; } int writeBytesWireFormat( byte[] dst, int dstIndex ) { return 0; } int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { return 0; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) { return 0; } public String toString() { return new String( "SmbComLogoffAndX[" + super.toString() + "]" ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
import okio.BufferedSink import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import okio.FileSystem import okio.Path import okio.Path.Companion.toPath import okio.buffer import okio.gzip /** * Downloads the public suffix list from https://publicsuffix.org/list/public_suffix_list.dat and * transforms the file into an efficient format used by OkHttp. * *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
abstract int writeDataWireFormat( byte[] dst, int dstIndex ); abstract int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ); abstract int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ); abstract int readDataWireFormat( byte[] buffer, int bufferIndex, int len ); public String toString() { return new String( super.toString() +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.5K bytes - Viewed (0)