- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 939 for Buffers (0.03 sec)
-
cmd/os_unix.go
if osIsExist(err) { return nil } return err } return nil } // The buffer must be at least a block long. // refer https://github.com/golang/go/issues/24015 const blockSize = 8 << 10 // 8192 // By default at least 128 entries in single getdents call (1MiB buffer) var ( direntPool = bpool.Pool[*[]byte]{ New: func() *[]byte { buf := make([]byte, blockSize*128)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
protected File workingDirectory = null; /** The encoding for the command's output. */ protected String commandOutputEncoding = Charset.defaultCharset().displayName(); /** The maximum number of lines to buffer from command output. */ protected int maxOutputLine = 1000; /** Whether to redirect standard output to a file. */ protected boolean standardOutput = false; /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
SMBUtil.writeInt8(0, dst, dstIndex); dstIndex += 8; return dstIndex - start; } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) { // This is a request, not a response, so this method is not used return 0; } @Override public String toString() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
private final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override public boolean processBytes(byte[] buffer, int offset, int length) throws IOException { if (length >= 0) { out.write(buffer, offset, length); } return true; } @Override public byte[] getResult() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
for _, t := range ri.Targets { if t.Empty() || !t.ReplicationResynced { continue } return true } return false } func (ri replicatedInfos) ReplicationStatusInternal() string { b := new(bytes.Buffer) for _, t := range ri.Targets { if t.Empty() { continue } fmt.Fprintf(b, "%s=%s;", t.Arn, t.ReplicationStatus.String()) } return b.String() }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 26.1K bytes - Viewed (0) -
cmd/object-api-utils_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { buf := make([]byte, 100) // make small buffer to ensure multiple reads are required for large case r, idxCB := newS2CompressReader(bytes.NewReader(tt.data), int64(len(tt.data)), false) defer r.Close() var rdrBuf bytes.Buffer _, err := io.CopyBuffer(&rdrBuf, r, buf) if err != nil { t.Fatal(err) } r.Close()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) { throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off"); } off -= 4; b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE; b[off + 1] = (byte) 0x00; b[off + 2] = (byte) (len >> 8 & 0xFF);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GenericCIDetector.java
* under the License. */ package org.apache.maven.cling.invoker.cisupport; import java.util.Optional; import org.apache.maven.api.cli.cisupport.CIInfo; /** * Generic CI support. This offers same support as Maven 3 always had. Is also special, as code will reject this * detector result IF there are also any other returned via discovered services. */ public class GenericCIDetector implements CIDetector {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Apr 13 18:50:07 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/auditlog/auditlog-echo.go
defer r.Body.Close() if err != nil { log.Printf("Error reading request body: %v", err) w.WriteHeader(http.StatusBadRequest) return } log.Printf(">>> %s %s\n", r.Method, r.URL.Path) var out bytes.Buffer json.Indent(&out, body, "", " ") log.Printf("%s\n", out.String()) w.WriteHeader(http.StatusOK) } func main() { flag.Parse() http.HandleFunc("/", mainHandler)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 1.5K bytes - Viewed (0)