- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 380 for nbuf (0.05 sec)
-
src/archive/zip/writer_test.go
r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) if err != nil { t.Fatal(err) } for i, wt := range writeTests { testReadFile(t, r.File[i], &wt) } } func TestWriterFlush(t *testing.T) { var buf bytes.Buffer w := NewWriter(struct{ io.Writer }{&buf}) _, err := w.Create("foo") if err != nil { t.Fatal(err) } if buf.Len() > 0 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
if (buf.length() == 0) { return false; } return buf.charAt(buf.length() - 1) == ' '; } private static boolean removeLastDuplication(final StringBuilder buf, final int size, final boolean isSpace, final Set<String> termCache) { final String target = rightString(buf, size); if (!termCache.contains(target)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 7.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
} val questionCount = buf.readShort().toInt() and 0xffff val answerCount = buf.readShort().toInt() and 0xffff buf.readShort() // authority record count buf.readShort() // additional record count for (i in 0 until questionCount) { skipName(buf) // name buf.readShort() // type buf.readShort() // class } for (i in 0 until answerCount) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen_test.go
v := DailyAllTierStats{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeDailyAllTierStats Msgsize() is inaccurate") } vn := DailyAllTierStats{} 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 Feb 19 22:54:46 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen_test.go
v := BucketBandwidthReport{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBucketBandwidthReport Msgsize() is inaccurate") } vn := BucketBandwidthReport{} 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 Feb 19 22:54:46 UTC 2024 - 4.5K bytes - Viewed (0) -
cmd/metacache_gen_test.go
v := metacache{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodemetacache Msgsize() is inaccurate") } vn := metacache{} 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 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
final StringBuilder buf = new StringBuilder(100); buf.append("{\"text\":\""); buf.append(LF); buf.append(StringEscapeUtils.escapeJson(discloser.getSavedSubject().orElse(StringUtil.EMPTY).trim())); buf.append(LF).append("```"); buf.append(LF).append(StringEscapeUtils.escapeJson(discloser.getSavedPlainText().orElse(StringUtil.EMPTY).trim())); buf.append(LF).append("```\"}");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/JsonUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
public ExecJob gcLogging() { final StringBuilder buf = new StringBuilder(100); buf.append("-Xlog:gc*,gc+age=trace,safepoint:file="); if (logFilePath != null) { buf.append(logFilePath); } else { buf.append(ComponentUtil.getSystemHelper().getLogFilePath()); } buf.append(File.separator); buf.append("gc-").append(getExecuteType()).append(".log");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/bootstrap-peer-server_gen_test.go
v := ServerSystemConfig{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeServerSystemConfig Msgsize() is inaccurate") } vn := ServerSystemConfig{} 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 Jan 24 21:36:44 UTC 2024 - 2.4K bytes - Viewed (0)