- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 376 for cbuf (0.02 sec)
-
src/test/java/jcifs/tests/RandomAccessFileTest.java
assertEquals(0, raf.getFilePointer()); byte[] buf = new byte[4]; raf.readFully(buf); assertArrayEquals(new byte[] { 0x1, 0x2, 0x3, 0x4 }, buf); assertEquals(4, raf.getFilePointer()); raf.readFully(buf); assertArrayEquals(new byte[] { 0x5, 0x6, 0x7, 0x8
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
v := BaseOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate") } vn := BaseOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 73.9K bytes - Viewed (0) -
cmd/bucket-stats_gen_test.go
v := BucketReplicationStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBucketReplicationStat Msgsize() is inaccurate") } vn := BucketReplicationStat{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 30 08:00:59 UTC 2023 - 20.5K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen_test.go
v := ChecksumInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeChecksumInfo Msgsize() is inaccurate") } vn := ChecksumInfo{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 13.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java
request.setParameter("userCode", buf.toString()); assertNotNull(userInfoHelper.getUserCodeFromRequest(request)); buf.append("12345ABCDE"); request.setParameter("userCode", buf.toString()); assertNotNull(userInfoHelper.getUserCodeFromRequest(request)); buf.append("12345ABCDE"); request.setParameter("userCode", buf.toString());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
final StringBuilder buf = new StringBuilder(1000); buf.append("[SYSTEM MONITOR] "); buf.append('{'); appendOsStats(buf); appendProcessStats(buf); appendJvmStats(buf); appendFesenStats(buf); appendTimestamp(buf); buf.append('}'); if (logger.isInfoEnabled()) { logger.info(buf.toString()); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
src/archive/tar/writer_test.go
} // xattr bar should always appear before others indices := []int{ bytes.Index(buf.Bytes(), []byte("bar=bar")), bytes.Index(buf.Bytes(), []byte("baz=baz")), bytes.Index(buf.Bytes(), []byte("foo=foo")), bytes.Index(buf.Bytes(), []byte("qux=qux")), } if !slices.IsSorted(indices) { t.Fatal("PAX headers are not sorted") } } func TestUSTARLongName(t *testing.T) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
src/bufio/scan_test.go
func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) { buf.Reset() doCR := lineNum%5 == 0 if doCR { n-- } for i := 0; i < n-1; i++ { // Stop early for \n. c := 'a' + byte(lineNum+i) if c == '\n' || c == '\r' { // Don't confuse us. c = 'N' } buf.WriteByte(c) } if addNewline { if doCR { buf.WriteByte('\r') } buf.WriteByte('\n') } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0)