- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,615 for fwrite (0.07 sec)
-
ci/official/utilities/extract_resultstore_links.py
indent_xml(testsuites) tree = ElemTree.ElementTree(testsuites) file_path = os.path.join(output_path) with open(file_path, 'wb') as f: f.write(b'<?xml version="1.0"?>\n') tree.write(f) if verbose: print(f'\nWrote XML with Bazel invocation results to {file_path}') def print_invocation_results(result_store_dict: ResultDictType):
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
) val bufferA = Buffer() val bufferB = Buffer() bufferA.writeUtf8("Dodgson!\n") operatorA.write(0, bufferA, 9) bufferB.writeUtf8("You shouldn't use my name.\n") operatorB.write(9, bufferB, 27) bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n") operatorA.write(36, bufferA, 33) operatorB.read(0, bufferB, 9) assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} public void write(byte[] b) throws IOException { stream.write(b); collector.write(b); } public void write(byte[] b, int off, int len) throws IOException { stream.write(b, off, len); collector.write(b, off, len); } public void write(int b) throws IOException { stream.write(b);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
internal/crypto/key.go
mac := hmac.New(sha256.New, extKey) mac.Write(sealedKey.IV[:]) mac.Write([]byte(domain)) mac.Write([]byte(SealAlgorithm)) mac.Write([]byte(path.Join(bucket, object))) // use path.Join for canonical 'bucket/object' unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()} case InsecureSealAlgorithm: sha := sha256.New() sha.Write(extKey) sha.Write(sealedKey.IV[:])
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:28:10 UTC 2024 - 6.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
assertThat(bodyToHex(body), "Retransmit body").isEqualTo("48656c6c6f") } @Test fun file() { val file = File.createTempFile("RequestTest", "tmp") val writer = FileWriter(file) writer.write("abc") writer.close() val contentType = "text/plain".toMediaType() val body: RequestBody = file.asRequestBody(contentType) assertThat(body.contentType()).isEqualTo(contentType)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
if (JAVA_IO_TMPDIR.value().equals("/sdcard")) { assertThrows(IOException.class, () -> out.write(data)); return; } out.write(data); assertTrue(Arrays.equals(data, source.read())); out.close(); assertThrows(IOException.class, () -> out.write(42)); // Verify that write had no effect assertTrue(Arrays.equals(data, source.read())); out.reset(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/storage-interface.go
ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error CleanAbandonedData(ctx context.Context, volume string, path string) error // Write all data, syncs the data to disk. // Should be used for smaller payloads. WriteAll(ctx context.Context, volume string, path string, b []byte) (err error) // Read all.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/s3select/genmessage.go
prelude := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude)) buf.Write(header) message := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message)) fmt.Println(buf.Bytes()) } func genProgressHeader() { buf := new(bytes.Buffer) buf.WriteByte(13) buf.WriteString(":message-type") buf.WriteByte(7)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
return 0; } @Override public void write ( int b ) throws SmbException { this.tmp[ 0 ] = (byte) b; write(this.tmp, 0, 1); } @Override public void write ( byte b[] ) throws SmbException { write(b, 0, b.length); } @Override public void write ( byte b[], int off, int len ) throws SmbException { if ( len <= 0 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0)