- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 725 for bufLen (0.06 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
internal const val FRAGMENT_ENCODE_SET_URI = " \"#<>\\^`{|}" internal fun Buffer.writeCanonicalized( input: String, pos: Int, limit: Int, encodeSet: String, alreadyEncoded: Boolean, strict: Boolean, plusIsSpace: Boolean, unicodeAllowed: Boolean, charset: Charset?, ) { var encodedCharBuffer: Buffer? = null // Lazily allocated. var codePoint: Int var i = pos while (i < limit) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
} @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length(); ByteBuffer buffer = ByteBuffer.allocate(len * 2).order(ByteOrder.LITTLE_ENDIAN); for (int i = 0; i < len; i++) { buffer.putChar(input.charAt(i)); } return hashBytes(buffer.array()); } @Override public HashCode hashString(CharSequence input, Charset charset) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 3.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der import java.math.BigInteger import okio.Buffer import okio.BufferedSink import okio.ByteString internal class DerWriter(sink: BufferedSink) { /** A stack of buffers that will be concatenated once we know the length of each. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} protected int readHeaderWireFormat ( byte[] buffer, int bufferIndex ) { this.command = buffer[ bufferIndex + SmbConstants.CMD_OFFSET ]; this.errorCode = SMBUtil.readInt4(buffer, bufferIndex + SmbConstants.ERROR_CODE_OFFSET); this.flags = buffer[ bufferIndex + SmbConstants.FLAGS_OFFSET ]; this.flags2 = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.FLAGS_OFFSET + 1);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 32.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt
.build(), ) val response = call.execute() interruptLater(500) val responseBody = response.body.byteStream() val buffer = ByteArray(1024) assertFailsWith<IOException> { while (responseBody.read(buffer) != -1) { } } responseBody.close() } private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/grid/grid.go
var ErrDisconnected = RemoteErr("remote disconnected") const ( // minBufferSize is the minimum buffer size. // Buffers below this is not reused. minBufferSize = 1 << 10 // defaultBufferSize is the default buffer allocation size. defaultBufferSize = 4 << 10 // maxBufferSize is the maximum buffer size. // Buffers larger than this is not reused. maxBufferSize = 96 << 10
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java
} int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { int start = bufferIndex; bufferIndex += 2; // reserved dataCompactionMode = readInt2( buffer, bufferIndex ); bufferIndex += 4; // 2 reserved dataLength = readInt2( buffer, bufferIndex ); bufferIndex += 2; dataOffset = readInt2( buffer, bufferIndex ); bufferIndex += 12; // 10 reserved
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java
@Override public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { int start = bufferIndex; this.capabilities = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16); bufferIndex += 16; this.securityMode = SMBUtil.readInt2(buffer, bufferIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.2K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen_test.go
v := PoolDecommissionInfo{} 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 BenchmarkDecodePoolDecommissionInfo(b *testing.B) { v := PoolDecommissionInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 12 02:48:43 UTC 2022 - 11K bytes - Viewed (0) -
cmd/batch-job-common-types_gen_test.go
v := BatchJobKV{} 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 BenchmarkDecodeBatchJobKV(b *testing.B) { v := BatchJobKV{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 11.3K bytes - Viewed (0)