- Sort Score
- Result 10 results
- Languages All
Results 1121 - 1130 of 1,604 for write (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
throws ModelInterpolationException { StringWriter sWriter = new StringWriter(1024); MavenStaxWriter writer = new MavenStaxWriter(); try { writer.write(sWriter, model.getDelegate()); } catch (IOException | XMLStreamException e) { throw new ModelInterpolationException("Cannot serialize project model for interpolation.", e);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
.multiply(BigInteger.valueOf(10000L)); byte[] data = new byte[8]; long low = filetime.longValue(); long high = filetime.shiftRight(32).longValue(); // write little-endian data[0] = (byte) (low); data[1] = (byte) (low >> 8); data[2] = (byte) (low >> 16); data[3] = (byte) (low >> 24); data[4] = (byte) (high);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024); // Verify attributes are masked with 0x37 int expectedAttributes = searchAttributes & 0x37; // Write parameters to verify the masked value is used byte[] buffer = new byte[100]; int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0); // Read back the search attributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/uk/docs/tutorial/request-files.md
`UploadFile` має такі асинхронні `async` методи. Вони викликають відповідні методи файлу під капотом (використовуючи внутрішній `SpooledTemporaryFile`). * `write(data)`: Записує `data` (`str` або `bytes`) у файл. * `read(size)`: Читає `size` (`int`) байтів/символів з файлу. * `seek(offset)`: Переміщується до позиції `offset` (`int`) у файлі.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 22 22:01:44 UTC 2025 - 11.2K bytes - Viewed (0) -
cmd/erasure-object.go
return fn(pr, h, pipeCloser, nsUnlocker) } return fn(pr, h, pipeCloser) } func (er erasureObjects) getObjectWithFileInfo(ctx context.Context, bucket, object string, startOffset int64, length int64, writer io.Writer, fi FileInfo, metaArr []FileInfo, onlineDisks []StorageAPI) error { // Reorder online disks based on erasure distribution order. // Reorder parts metadata based on erasure distribution order.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 80.4K bytes - Viewed (0) -
cmd/erasure-decode.go
} // Decode reads from readers, reconstructs data if needed and writes the data to the writer. // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed. func (e Erasure) Decode(ctx context.Context, writer io.Writer, readers []io.ReaderAt, offset, length, totalLength int64, prefer []bool) (written int64, derr error) { if offset < 0 || length < 0 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/storage-datatypes.go
Data []byte `msg:"d,allownil"` // optionally carries object data NumVersions int `msg:"nv"` SuccessorModTime time.Time `msg:"smt"` Fresh bool `msg:"fr"` // indicates this is a first time call to write FileInfo. // Position of this version or object in a multi-object delete call, // no other caller must set this value other than multi-object delete call. // usage in other calls in undefined please avoid.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
int n = handle.sendrecv(new byte[3], 0, 3, new byte[8], 64); assertEquals(0, n, "Default response length is 0 unless protocol fills it"); } @Test @DisplayName("sendrecv falls back to stream write/read when no call/transact") void sendrecv_stream_fallback_uses_streams() throws Exception { // Arrange - use non-transact, non-call pipe type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K 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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0)