- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 355 for nbuf (0.02 sec)
-
src/archive/zip/zip_test.go
func (ss *suffixSaver) Suffix() []byte { if len(ss.buf) < ss.keep { return ss.buf } buf := make([]byte, ss.keep) n := copy(buf, ss.buf[ss.start:]) copy(buf[n:], ss.buf[:]) return buf } func (ss *suffixSaver) Write(p []byte) (n int, err error) { n = len(p) ss.size += int64(len(p)) if len(ss.buf) < ss.keep { space := ss.keep - len(ss.buf) add := len(p) if add > space { add = space
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
next = next.getNextException(); } Throwable t = cause.getCause(); while (t != null) { buf.append(t.getMessage()).append("], ["); t = t.getCause(); } buf.setLength(buf.length() - 4); return new String(buf); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
synchronized (this.cache) { byte[] buf; if (this.freeBuffers > 0) { for (int i = 0; i < this.cache.length; i++) { if (this.cache[i] != null) { buf = (byte[]) this.cache[i]; this.cache[i] = null; this.freeBuffers--; return buf; } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
) func BenchmarkDecodeVolInfoMsgp(b *testing.B) { v := VolInfo{ Name: "uuid", Created: time.Now(), } var buf bytes.Buffer msgp.Encode(&buf, &v) rd := msgp.NewEndlessReader(buf.Bytes(), b) dc := msgp.NewReader(rd) b.Log("Size:", buf.Len(), "bytes") b.SetBytes(1) b.ReportAllocs() for b.Loop() { err := v.DecodeMsg(dc) if err != nil { b.Fatal(err) } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java
*/ public String getPathPrefix() { final StringBuilder buf = new StringBuilder(100); buf.append("smb1://"); if (server != null) { buf.append(server); if (port > 0) { buf.append(':'); buf.append(port); } buf.append('/'); } return buf.toString(); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 16K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.appendException(buf, exception); assertTrue(buf.toString().contains("Special test exception")); } // Test multiple appends to the same buffer public void test_multipleAppends() { StringBuilder buf = new StringBuilder(); monitorTarget.append(buf, "key1", () -> "value1"); buf.append(","); monitorTarget.append(buf, "key2", () -> 123);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSink.java
@Override public void write(int c) throws IOException { super.write(c); flush(); } @Override public void write(char[] cbuf, int off, int len) throws IOException { super.write(cbuf, off, len); flush(); } @Override public void write(String str, int off, int len) throws IOException { super.write(str, off, len); flush();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0)