- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 249 for buf1 (2.97 sec)
-
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
src/archive/zip/example_test.go
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 }{ {"readme.txt", "This archive contains some text files."},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
assertEquals(4, numOfByteRead); assertEquals(expectedHash, in.hash()); } public void testHash_hashesCorrectlyReadOutOfBound() throws Exception { HashCode expectedHash = Hashing.md5().hashBytes(testBytes); HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); byte[] buf = new byte[100]; int numOfByteRead = in.read(buf, 0, buf.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
assertEquals(4, numOfByteRead); assertEquals(expectedHash, in.hash()); } public void testHash_hashesCorrectlyReadOutOfBound() throws Exception { HashCode expectedHash = Hashing.md5().hashBytes(testBytes); HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); byte[] buf = new byte[100]; int numOfByteRead = in.read(buf, 0, buf.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
src/bytes/reader_test.go
} } } func TestReaderDoubleUnreadRune(t *testing.T) { buf := NewBuffer([]byte("groucho")) if _, _, err := buf.ReadRune(); err != nil { // should not happen t.Fatal(err) } if err := buf.UnreadByte(); err != nil { // should not happen t.Fatal(err) } if err := buf.UnreadByte(); err == nil { t.Fatal("UnreadByte: expected error, got nil") } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
cmd/bitrot.go
// Calculate the size of the bitrot file and compare // it with the actual file size. if left != bitrotShardFileSize(partSize, shardSize, algo) { return errFileCorrupt } bufp := xioutil.ODirectPoolSmall.Get() defer xioutil.ODirectPoolSmall.Put(bufp) for left > 0 { // Read expected hash... h.Reset() n, err := io.ReadFull(r, hashBuf) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
buf.append("<input type=\"hidden\" name=\""); buf.append(StringEscapeUtils.escapeHtml4(name)); buf.append("\" value=\""); buf.append(StringEscapeUtils.escapeHtml4(value)); buf.append("\"/>"); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
src/main/java/jcifs/smb/MIEName.java
if (buf.length < i + NAME_LEN_SIZE) { throw new IllegalArgumentException(); } len = 0xff000000 & buf[i++] << 24; len |= 0x00ff0000 & buf[i++] << 16; len |= 0x0000ff00 & buf[i++] << 8; len |= 0x000000ff & buf[i++]; // NAME if (buf.length < i + len) { throw new IllegalArgumentException(); } this.name = new String(buf, i, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
// the incoming AWS Signature V4 streaming signature. func (cr *s3UnsignedChunkedReader) Read(buf []byte) (n int, err error) { // First, if there is any unread data, copy it to the client // provided buffer. if cr.offset > 0 { n = copy(buf, cr.buffer[cr.offset:]) if n == len(buf) { cr.offset += n return n, nil } cr.offset = 0 buf = buf[n:] } // mustRead reads from input and compares against provided slice.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0)