- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 315 for buf2 (0.22 sec)
-
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else { // Write 20 zero bytes for null context handle for (int i = 0; i < 20; i++) { buf.enc_ndr_small(0); } } // Sequence number (64-bit) buf.enc_ndr_hyper(sequenceNumber); } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/archive/tar/example_test.go
package tar_test import ( "archive/tar" "bytes" "fmt" "io" "log" "os" ) func Example_minimal() { // Create and add some files to the archive. var buf bytes.Buffer tw := tar.NewWriter(&buf) var files = []struct { Name, Body string }{ {"readme.txt", "This archive contains some text files."}, {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 16 16:54:08 UTC 2017 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt
for (i in s.indices) { assertRoundTrip(s.substring(0, i).encodeUtf8()) } val random = Random(123456789L) val buf = ByteArray(4096) random.nextBytes(buf) assertRoundTrip(buf.toByteString()) } private fun assertRoundTrip(data: ByteString) { val encodeBuffer = Buffer() encode(data, encodeBuffer)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
*/ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2); buf.append(BASE); final int lowTime = (int) (System.currentTimeMillis() >> 32); StringUtil.appendHex(buf, lowTime); StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final StringBuilder buf = new StringBuilder(100); buf.append("/WEB-INF/view/").append(page); if (StringUtil.isNotBlank(lang)) { buf.append('_').append(lang); if (StringUtil.isNotBlank(country)) { buf.append('_').append(country); } } buf.append(".jsp"); return buf.toString(); } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
internal/bucket/replication/rule.go
if !r.Filter.Tag.IsEmpty() { return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer for _, t := range r.Filter.And.Tags { if buf.Len() > 0 { buf.WriteString("&") } buf.WriteString(t.String()) } return buf.String() } return "" } // Validate - validates the rule element
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
final StringBuilder buf = new StringBuilder(maxAnalyzedContentLength); final String analyzeType = useReading ? "reading " : ""; for (final String t : text.split("\\s")) { buf.append(t).append(' '); if (buf.length() > maxAnalyzedContentLength) { processBuffer(analyzer, field, lang, useReading, tokens, buf, analyzeType, false); buf.setLength(0);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
@Test @DisplayName("writeParameterWordsWireFormat returns zero bytes written") void testWriteParameterWordsWireFormat() { byte[] buf = new byte[10]; assertEquals(0, response.writeParameterWordsWireFormat(buf, 0), "Should write 0 bytes"); } @Test @DisplayName("writeParameterWordsWireFormat with null buffer - returns zero")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
internal/http/request-recorder.go
// RequestRecorder - records the // of a given io.Reader type RequestRecorder struct { // Data source to record io.Reader // Response body should be logged LogBody bool // internal recording buffer buf bytes.Buffer // total bytes read including header size bytesRead int } // Close is a no operation closer func (r *RequestRecorder) Close() error { // no-op return nil }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 12 21:37:19 UTC 2023 - 1.8K bytes - Viewed (0)