- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,366 for dwrite (0.14 sec)
-
android/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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
.build()); } default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException { write(XmlWriterRequest.<T>builder().content(content).writer(writer).build()); } void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException; /** * Simply parse the given xml string. * * @param xml the input xml string
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/profbuf_test.go
}) t.Run("ReadMany", func(t *testing.T) { b := NewProfBuf(2, 50, 50) write(t, b, unsafe.Pointer(&myTags[0]), 1, []uint64{2, 3}, []uintptr{4, 5, 6, 7, 8, 9}) write(t, b, unsafe.Pointer(&myTags[2]), 99, []uint64{101, 102}, []uintptr{201, 202, 203, 204}) write(t, b, unsafe.Pointer(&myTags[1]), 500, []uint64{502, 504}, []uintptr{506})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 20:04:56 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java
import java.io.IOException; import java.io.Writer; import java.util.Collection; import java.util.Iterator; public class JavadocOptionFileWriterContext { private final Writer writer; public JavadocOptionFileWriterContext(Writer writer) { this.writer = writer; } public JavadocOptionFileWriterContext write(String string) throws IOException { writer.write(string); return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/io/NoCloseOutputStream.java
} @Override public synchronized void write(int b) throws IOException { delegate.write(b); } @Override public synchronized void flush() throws IOException { delegate.flush(); } @Override public synchronized void write(byte[] b, int off, int len) throws IOException { delegate.write(b, off, len); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/RandomAccessFileOutputStream.java
this.file = file; } @Override public void write(int i) throws IOException { file.write(i); } @Override public void write(byte[] bytes) throws IOException { file.write(bytes); } @Override public void write(byte[] bytes, int offset, int length) throws IOException { file.write(bytes, offset, length); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 1.5K 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 Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 19 20:28:10 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/DefaultBinaryStoreTest.groovy
def "stores binary data"() { def store = new DefaultBinaryStore(temp.file("foo.bin")) when: store.write({ it.writeInt(10) } as BinaryStore.WriteAction) store.write({ it.writeString("x") } as BinaryStore.WriteAction) def data1 = store.done() store.write({ it.writeString("y") } as BinaryStore.WriteAction) def data2 = store.done() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_cache.go
h := hash.New() h.WriteString(t.clusterName) h.Write(Separator) h.WriteString(t.proxyVersion) h.Write(Separator) h.WriteString(util.LocalityToString(t.locality)) h.Write(Separator) h.WriteString(t.proxyClusterID) h.Write(Separator) h.WriteString(strconv.FormatBool(t.proxySidecar)) h.Write(Separator) h.WriteString(strconv.FormatBool(t.http2)) h.Write(Separator) h.WriteString(strconv.FormatBool(t.downstreamAuto))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/PropertiesUtilsTest.groovy
expect: write([:]) == "" } def "empty properties with comment are written properly"() { expect: write([:], "Line comment") == normalize(""" #Line comment """) } def "simple properties are written sorted alphabetically"() { expect: write([one: "1", two: "2", three: "three"], "Line comment") == normalize("""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.6K bytes - Viewed (0)