- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,825 for writeFn (0.03 sec)
-
cmd/tier_gen.go
if err != nil { err = msgp.WrapError(err) return } } } return } // EncodeMsg implements msgp.Encodable func (z *TierConfigMgr) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 1 // write "Tiers" err = en.Append(0x81, 0xa5, 0x54, 0x69, 0x65, 0x72, 0x73) if err != nil { return } err = en.WriteMapHeader(uint32(len(z.Tiers))) if err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.9K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
// its required to write the policies first before running tests on GetBucketPolicy. for i, testPolicy := range putTestPolicies { // obtain the put bucket policy request body. bucketPolicyStr := fmt.Sprintf(bucketPolicyTemplate, testPolicy.bucketName, testPolicy.bucketName) // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. recV4 := httptest.NewRecorder()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
} if ((msg.flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG) { return off; } // all fragment but the last get written using read/write semantics doSendFragment(out, off, msg.length); off += fragSize; } throw new IOException(); } /** * @param msg * @param inRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
if (!artifactFile.getParentFile().exists()) { artifactFile.getParentFile().mkdirs(); } try (Writer writer = new OutputStreamWriter(new FileOutputStream(artifactFile), StandardCharsets.ISO_8859_1)) { writer.write(artifact.getId()); } MessageDigest md = MessageDigest.getInstance("MD5"); md.update(artifact.getId().getBytes());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 09:40:15 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
byte[] dst = new byte[100]; int dstIndex = 10; int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, dstIndex); // Verify bytes written assertEquals(8, bytesWritten); // Verify FID (2 bytes) assertEquals(fid, SMBUtil.readInt2(dst, dstIndex)); // Verify reserved bytes (2 bytes at positions 2-3)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
void testRealWorldValues() throws SMBProtocolDecodingException { // Typical server response after copying chunks byte[] buffer = createValidCopyChunkResponse(16, // 16 chunks written 1048576, // 1MB per chunk 16777216 // 16MB total ); int bytesDecoded = response.decode(buffer, 0, buffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
throws IOException { StringWriter writer = new StringWriter(); try (OutputStream encodingStream = encoding.encodingStream(writer)) { encodingStream.write(decoded.getBytes(UTF_8)); } assertThat(writer.toString()).isEqualTo(encoded); } @GwtIncompatible // Reader private static void testStreamingDecodes(BaseEncoding encoding, String encoded, String decoded) throws IOException {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
} finally { lock.writeLock().unlock(); } } private void flushCachedWrites(String path) { // Implementation to flush cached writes // This will be called when losing write cache } private void invalidateReadCache(String path) { // Implementation to invalidate read cache // This will be called when losing read cache } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
data[i] = (byte) (i % 256); } // Create file and write data try (OutputStream out = file.openOutputStream(false)) { out.write(data); } assertEquals(data.length, file.length(), "File length should match written data"); // Verify content try (InputStream in = file.getInputStream()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { elevateWordService.exportCsv(writer); } catch (final Exception e) { logger.warn("Failed to process a request.", e);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.8K bytes - Viewed (0)