- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 1,139 for buffers (0.05 seconds)
-
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test invalid buffer size validation") void testInvalidBufferSize() { assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test")); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test")); } @Test @DisplayName("Test SMB2 buffer size validation") void testSmb2BufferSize() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
internal/ioutil/read_file.go
// as an error to be reported. // // passes NOATIME flag for reads on Unix systems to avoid atime updates. func ReadFile(name string) ([]byte, error) { // Don't wrap with un-needed buffer. // Don't use os.ReadFile, since it doesn't pass NO_ATIME when present. f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, err } defer f.Close() st, err := f.Stat() if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 09 18:17:51 GMT 2023 - 2.3K bytes - Click Count (0) -
docs/distributed/decom-encrypted.sh
expanded_policy_count=$(./mc admin policy list myminio/ | wc -l) if [ $user_count -ne $expanded_user_count ]; then echo "BUG: original user count differs from expanded setup" exit 1 fi if [ $policy_count -ne $expanded_policy_count ]; then echo "BUG: original policy count differs from expanded setup" exit 1 fi ./mc version info myminio/versioned | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
return dstIndex - start; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
* This method is synchronized to ensure thread safety when managing processes. * * @param sessionId unique identifier for the process session * @param cmdList list of command and arguments to execute * @param pbCall callback to configure the ProcessBuilder * @param bufferSize size of the buffer for process outputCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
resp.decode(packet, 0); assertEquals(output.length, resp.getOutputLength()); assertArrayEquals(output, outBuf, "Output should be copied into provided buffer"); // No Decodable output when buffer is provided assertNull(resp.getOutputData()); assertThrows(SmbException.class, () -> resp.getOutputData(SrvCopyChunkCopyResponse.class)); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
nodeStatusRequest = new NodeStatusRequest(mockConfig, realName); nodeStatusRequest.nameTrnId = 0x1234; byte[] buffer = new byte[512]; // Act - Write int writeLength = nodeStatusRequest.writeWireFormat(buffer, 0); // Assert write assertTrue(writeLength > 0); // Create new request to read
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
docs/iam/access-manager-plugin.go
Result bool `json:"result"` } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil { writeErrorResponse(w, err) return } var out bytes.Buffer json.Indent(&out, body, "", " ") fmt.Printf("Received JSON payload:\n%s\n", out.String()) reqMap := make(map[string]interface{}) err = json.Unmarshal(body, &reqMap) if err != nil { writeErrorResponse(w, err)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
} return tokens; } /** * Process the buffer and add analyzed tokens. * @param analyzer Analyzer * @param field Field * @param lang Language * @param useReading Whether to use reading analysis * @param tokens Token list to add to * @param buf Buffer containing text * @param analyzeType Type of analysis (for logging)Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 15.2K bytes - Click Count (0) -
src/builtin/builtin.go
// specified number of elements. The size may be omitted, in which case // a small starting size is allocated. // - Channel: The channel's buffer is initialized with the specified // buffer capacity. If zero, or the size is omitted, the channel is // unbuffered. func make(t Type, size ...IntegerType) Type // The max built-in function returns the largest value of a fixed number of
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Feb 26 17:14:40 GMT 2026 - 13.2K bytes - Click Count (0)