- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 4,372 for dwrite (0.12 sec)
-
tests/fuzz/pki_fuzzer.go
if err != nil { return 0 } _, err = certFile.Write(certFileBytes) if err != nil { return 0 } privKeyFile, err := os.Create("privKeyFile") if err != nil { return 0 } defer privKeyFile.Close() defer os.Remove("privKeyFile") privKeyFileBytes, err := f.GetBytes() if err != nil { return 0 } _, err = privKeyFile.Write(privKeyFileBytes) if err != nil { return 0 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 05 14:00:25 UTC 2023 - 5.2K bytes - Viewed (0) -
src/internal/coverage/stringtab/stringtab.go
rval += uint32(len(stw.tmp)) + uint32(slen) } return rval } // Write writes the string table in serialized form to the specified // io.Writer. func (stw *Writer) Write(w io.Writer) error { wr128 := func(v uint) error { stw.tmp = stw.tmp[:0] stw.tmp = uleb128.AppendUleb128(stw.tmp, v) if nw, err := w.Write(stw.tmp); err != nil { return fmt.Errorf("writing string table: %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 11 12:40:42 UTC 2022 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go
conn *Conn num byte r io.Reader w io.WriteCloser read, write bool } // newWebsocketChannel creates a pipe for writing to a websocket. Do not write to this pipe // prior to the connection being opened. It may be no, half, or full duplex depending on // read and write. func newWebsocketChannel(conn *Conn, num byte, read, write bool) *websocketChannel { r, w := io.Pipe()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:10:30 UTC 2024 - 14.5K bytes - Viewed (0) -
src/testing/iotest/logger_test.go
t.Fatalf("Unexpectedly succeeded to write: %v", err) } wantLogWithHex := fmt.Sprintf("lw: write: %x: %v\n", "", "Write Error!") if g, w := lOut.String(), wantLogWithHex; g != w { t.Errorf("WriteLogger mismatch\n\tgot: %q\n\twant: %q", g, w) } } func TestReadLogger(t *testing.T) { olw := log.Writer() olf := log.Flags() olp := log.Prefix()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 07:03:10 UTC 2022 - 3.4K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java
} @Override public void write(Encoder encoder, IncludeDirectives value) throws Exception { includeListSerializer.write(encoder, value.getAll()); macroListSerializer.write(encoder, value.getAllMacros()); macroFunctionListSerializer.write(encoder, value.getAllMacroFunctions()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 17K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.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.7K bytes - Viewed (0) -
test/fixedbugs/issue4590.dir/pkg1.go
// license that can be found in the LICENSE file. package pkg1 type A interface { Write() error } type B interface { Hello() world() } type C struct{} func (c C) Write() error { return nil } var T = struct{ A }{nil} var U = struct{ B }{nil} var V A = struct{ *C }{nil} var W = interface { Write() error Hello()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 438 bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DummyBinaryStore.groovy
class DummyBinaryStore implements BinaryStore { private final ByteArrayOutputStream bytes = new ByteArrayOutputStream() private Encoder output = new OutputStreamBackedEncoder(bytes) void write(WriteAction write) { write.write(output) } BinaryData done() { new BinaryData() { Decoder decoder def <T> T read(ReadAction<T> readAction) { if (decoder == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.6K bytes - Viewed (0) -
internal/ioutil/ioutil.go
// executes at least one write operation if it is closed. // // This can be useful within the context of HTTP. At least // one write operation must happen to send the HTTP headers // to the peer. type WriteOnCloser struct { io.Writer hasWritten bool } func (w *WriteOnCloser) Write(p []byte) (int, error) { w.hasWritten = true return w.Writer.Write(p) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/ReferenceEntry.java
/* * Implemented by entries that use write order. Write entries are maintained in a doubly-linked * list. New entries are added at the tail of the list at write time and stale entries are * expired from the head of the list. */ @SuppressWarnings("GoodTime") /** Returns the time that this entry was last written, in ns. */ long getWriteTime(); /** Sets the entry write time in ns. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 3.5K bytes - Viewed (0)