- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,103 for differ (0.07 sec)
-
okhttp/src/test/java/okhttp3/SocksProxy.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.7K bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Error("NewReaderSize did not detect underlying Reader") } // Does it wrap if existing buffer is too small? b2 := NewReaderSize(b, 2*BufSize) if b2 == b { t.Error("NewReaderSize did not enlarge buffer") } } func TestNewWriterSizeIdempotent(t *testing.T) { const BufSize = 1000 b := NewWriterSize(new(bytes.Buffer), BufSize) // Does it recognize itself? b1 := NewWriterSize(b, BufSize) if b1 != b {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
cmd/data-usage-cache_gen_test.go
v := allTierStats{} 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 BenchmarkDecodeallTierStats(b *testing.B) { v := allTierStats{} 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 Oct 04 22:23:33 UTC 2024 - 19K bytes - Viewed (0) -
cmd/batch-replicate_gen_test.go
v := BatchJobReplicateCredentials{} 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 BenchmarkDecodeBatchJobReplicateCredentials(b *testing.B) { v := BatchJobReplicateCredentials{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 29 18:27:23 UTC 2023 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
} /** * @param buffer * @param bufferIndex * @param maxLen * @return position of terminating null bytes */ public static int findUNITermination ( byte[] buffer, int bufferIndex, int maxLen ) { int len = 0; while ( buffer[ bufferIndex + len ] != (byte) 0x00 || buffer[ bufferIndex + len + 1 ] != (byte) 0x00 ) { len += 2;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java
} public String toString() { StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n"); Iterator<String> iter = keySet().iterator(); while (iter.hasNext()) { String key = iter.next(); buffer.append(key).append('=').append(get(key)); if (iter.hasNext()) { buffer.append('\n'); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
} return commaFound } private fun Buffer.startsWith(prefix: Byte): Boolean = !exhausted() && this[0] == prefix /** * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a * double-quoted string. */ @Throws(EOFException::class) private fun Buffer.readQuotedString(): String? {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
this.maximum_length = rus.maximum_length; this.buffer = rus.buffer; this.zterm = zterm; } public UnicodeString(String str, boolean zterm) { this.zterm = zterm; int len = str.length(); int zt = zterm ? 1 : 0; length = maximum_length = (short)((len + zt) * 2); buffer = new short[len + zt]; int i; for (i = 0; i < len; i++) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.9K bytes - Viewed (0) -
internal/s3select/jstream/scratch.go
fill int } // reset scratch buffer func (s *scratch) reset() { s.fill = 0 } // bytes returns the written contents of scratch buffer func (s *scratch) bytes() []byte { return s.data[0:s.fill] } // grow scratch buffer func (s *scratch) grow() { ndata := make([]byte, cap(s.data)*2) copy(ndata, s.data) s.data = ndata } // append single byte to scratch buffer func (s *scratch) add(c byte) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 758 bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
case SMB_QUERY_FS_SIZE_INFO: return readSmbQueryFSSizeInfoWireFormat( buffer, bufferIndex ); case SMB_FS_FULL_SIZE_INFORMATION: return readFsFullSizeInformationWireFormat( buffer, bufferIndex ); default: return 0; } } int readSmbInfoAllocationWireFormat( byte[] buffer, int bufferIndex ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.1K bytes - Viewed (0)