- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,529 for dwrite (0.15 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt
override fun writeObjectOverride(obj: Any?) = record { write(obj) } override fun write(`val`: Int) = record { outputStream.write(`val`) } override fun write(buf: ByteArray) = record { outputStream.write(buf) } override fun write(buf: ByteArray, off: Int, len: Int) = record { outputStream.write(buf, off, len) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/incrementalAnnotationProcessing/groovy/processor/src/main/java/org/gradle/ServiceRegistryProcessor.java
private void addServiceCreationMethod(Writer writer, TypeElement service) throws IOException { Name qualifiedName = service.getQualifiedName(); Name simpleName = service.getSimpleName(); writer.write(" public " + qualifiedName + " create" + simpleName + "() {"); writer.write(" return new " + service.getQualifiedName() + "();"); writer.write(" }"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt
write(value.value) } override suspend fun ReadContext.decode(): IsolatedEnumValueSnapshot { val value = read() as Enum<*> return IsolatedEnumValueSnapshot(value) } } object IsolatedSetCodec : Codec<IsolatedSet> { override suspend fun WriteContext.encode(value: IsolatedSet) { write(value.elements) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
file.close(); tmp = null; } /** * Writes the specified byte to this file output stream. * * @throws IOException if a network error occurs */ public void write( int b ) throws IOException { tmp[0] = (byte)b; write( tmp, 0, 1 ); } /** * Writes b.length bytes from the specified byte array to this * file output stream. *
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf.go
func (out *OutBuf) WriteByte(v byte) error { out.Write8(v) return nil } func (out *OutBuf) Write16(v uint16) { out.arch.ByteOrder.PutUint16(out.encbuf[:], v) out.Write(out.encbuf[:2]) } func (out *OutBuf) Write32(v uint32) { out.arch.ByteOrder.PutUint32(out.encbuf[:], v) out.Write(out.encbuf[:4]) } func (out *OutBuf) Write32b(v uint32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0) -
src/syscall/syscall_freebsd.go
//sys Open(path string, mode int, perm uint32) (fd int, err error) //sys Pathconf(path string, name int) (val int, err error) //sys pread(fd int, p []byte, offset int64) (n int, err error) //sys pwrite(fd int, p []byte, offset int64) (n int, err error) //sys read(fd int, p []byte) (n int, err error) //sys Readlink(path string, buf []byte) (n int, err error) //sys Rename(from string, to string) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.7K bytes - Viewed (0) -
test/nowritebarrier.go
//go:noinline func d3() { x.f = y // ERROR "write barrier prohibited by caller" d4() } //go:yeswritebarrierrec func d4() { d2() } //go:noinline func systemstack(func()) {} //go:nowritebarrierrec func e1() { systemstack(e2) systemstack(func() { x.f = y // ERROR "write barrier prohibited by caller" }) } func e2() { x.f = y // ERROR "write barrier prohibited by caller"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:18:21 UTC 2023 - 1.3K bytes - Viewed (0) -
src/net/http/internal/chunked_test.go
var b bytes.Buffer w := NewChunkedWriter(&b) const chunk1 = "hello, " const chunk2 = "world! 0123456789abcdef" w.Write([]byte(chunk1)) w.Write([]byte(chunk2)) w.Close() if g, e := b.String(), "7\r\nhello, \r\n17\r\nworld! 0123456789abcdef\r\n0\r\n"; g != e { t.Fatalf("chunk writer wrote %q; want %q", g, e) } r := NewChunkedReader(&b) data, err := io.ReadAll(r) if err != nil { t.Logf(`data: "%s"`, data)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 04 20:45:19 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java
assertEquals(written, counter.getCount()); counter.write(0); written += 1; assertEquals(written, out.size()); assertEquals(written, counter.getCount()); byte[] data = new byte[10]; counter.write(data); written += 10; assertEquals(written, out.size()); assertEquals(written, counter.getCount()); counter.write(data, 0, 5); written += 5; assertEquals(written, out.size());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K bytes - Viewed (0) -
test/fixedbugs/issue13160.go
ptrs[i] = new(int) } // Arena where we read and write pointers like crazy. collider := make([]*int, p) done := make(chan struct{}, 2*p) // Start writers. They alternately write a pointer // and nil to a slot in the collider. for i := 0; i < p; i++ { i := i go func() { for j := 0; j < N; j++ { // Write a pointer using memmove. copy(collider[i:i+1], ptrs[i:i+1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.5K bytes - Viewed (0)