- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 660 for buffered (0.05 sec)
-
cmd/storage-rest-common_gen_test.go
v := nsScannerOptions{} 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 BenchmarkDecodensScannerOptions(b *testing.B) { v := nsScannerOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 4.6K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
fun encodeQuery( host: String, type: Int, ): ByteString = Buffer().apply { writeShort(0) // query id writeShort(256) // flags with recursion writeShort(1) // question count writeShort(0) // answerCount writeShort(0) // authorityResourceCount writeShort(0) // additional val nameBuf = Buffer() val labels = host.split('.').dropLastWhile { it.isEmpty() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
bufferIndex += 2; parameterOffset = readInt2( buffer, bufferIndex ); bufferIndex += 2; parameterDisplacement = readInt2( buffer, bufferIndex ); bufferIndex += 2; dataCount = readInt2( buffer, bufferIndex ); bufferIndex += 2; dataOffset = readInt2( buffer, bufferIndex ); bufferIndex += 2; dataDisplacement = readInt2( buffer, bufferIndex );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
} @Override protected void process(ByteBuffer buffer) { b += CHUNK_SIZE; processM(buffer.getLong()); } @Override protected void processRemaining(ByteBuffer buffer) { b += buffer.remaining(); for (int i = 0; buffer.hasRemaining(); i += 8) { finalM ^= (buffer.get() & 0xFFL) << i; } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java
int writeDataWireFormat( byte[] dst, int dstIndex ) { return 0; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } public String toString() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java
} int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { int start = bufferIndex; fid = readInt2( buffer, bufferIndex ); bufferIndex += 2; fileAttributes = readInt2( buffer, bufferIndex ); bufferIndex += 2; lastWriteTime = readUTime( buffer, bufferIndex ); bufferIndex += 4; dataSize = readInt4( buffer, bufferIndex ); bufferIndex += 4;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 11.2K bytes - Viewed (0) -
internal/bpool/bpool.go
select { case b = <-bp.c: // reuse existing buffer default: // create new aligned buffer b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w] } return } // Put returns the given Buffer to the BytePool. func (bp *BytePoolCap) Put(b []byte) { if bp == nil { return } if cap(b) != bp.wcap { // someone tried to put back buffer which is not part of this buffer pool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java
return 0; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) { available = readInt2( buffer, bufferIndex ); bufferIndex += 2; head = readInt2( buffer, bufferIndex ); bufferIndex += 2; status = readInt2( buffer, bufferIndex ); return 6; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.1K bytes - Viewed (0) -
src/archive/zip/example_test.go
package zip_test import ( "archive/zip" "bytes" "compress/flate" "fmt" "io" "log" "os" ) func ExampleWriter() { // Create a buffer to write our archive to. buf := new(bytes.Buffer) // Create a new zip archive. w := zip.NewWriter(buf) // Add some files to the archive. var files = []struct { Name, Body string }{
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0)