- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 4,372 for dwrite (0.18 sec)
-
src/cmd/internal/goobj/objfile_test.go
"testing" "cmd/internal/bio" "cmd/internal/objabi" ) func dummyWriter(buf *bytes.Buffer) *Writer { wr := &bio.Writer{Writer: bufio.NewWriter(buf)} // hacky: no file, so cannot seek return NewWriter(wr) } func TestReadWrite(t *testing.T) { // Test that we get the same data in a write-read roundtrip. // Write a symbol, a relocation, and an aux info. var buf bytes.Buffer w := dummyWriter(&buf) var s Sym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:12 UTC 2022 - 3K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.5K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
// coverage counter data. type CounterVisitorFn func(pkid uint32, funcid uint32, counters []uint32) error // Write writes the contents of the count-data file to the writer // previously supplied to NewCoverageDataWriter. Returns an error // if something went wrong somewhere with the write. func (cfw *CoverageDataWriter) Write(metaFileHash [16]byte, args map[string]string, visitor CounterVisitor) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java
/** * Method write. * * @param writer a writer object. * @param model a model object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, Model model) throws IOException { try { delegate.write(writer, model.getDelegate()); } catch (XMLStreamException e) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Oct 20 07:14:01 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/io/SynchronizedOutputStream.java
} @Override public synchronized void write(int b) throws IOException { delegate.write(b); } @Override public synchronized void write(byte[] b) throws IOException { delegate.write(b); } @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/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/DaemonMessageSerializer.java
@Override public void write(Encoder encoder, BuildActionParameters parameters) throws Exception { FILE_SERIALIZER.write(encoder, parameters.getCurrentDir()); NO_NULL_STRING_MAP_SERIALIZER.write(encoder, parameters.getSystemProperties()); NO_NULL_STRING_MAP_SERIALIZER.write(encoder, parameters.getEnvVariables()); logLevelSerializer.write(encoder, parameters.getLogLevel());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 18.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
var b1 = length if (isClient) { b1 = b1 or B1_FLAG_MASK sinkBuffer.writeByte(b1) random.nextBytes(maskKey!!) sinkBuffer.write(maskKey) if (length > 0) { val payloadStart = sinkBuffer.size sinkBuffer.write(payload) sinkBuffer.readAndWriteUnsafe(maskCursor!!) maskCursor.seek(payloadStart) toggleMask(maskCursor, maskKey)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
test/fixedbugs/issue30977.go
//go:noinline func f() { // The compiler optimizes this to direct copying // the call result to both globals, with write // barriers. The first write barrier call clobbers // the result of g on stack. X = g() Y = X } var X, Y T const N = 1000 func main() { // Keep GC running so the write barrier is on. go func() { for { runtime.GC() } }() for i := 0; i < N; i++ { runtime.Gosched()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:05:13 UTC 2019 - 865 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR); } catch (final IOException e) { throw new DictionaryException("Failed to write: " + line, e); } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0)