- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 202 for write32 (0.39 sec)
-
src/net/unixsock.go
if !c.ok() { return 0, syscall.EINVAL } a, ok := addr.(*UnixAddr) if !ok { return 0, &OpError{Op: "write", Net: c.fd.net, Source: c.fd.laddr, Addr: addr, Err: syscall.EINVAL} } n, err := c.writeTo(b, a) if err != nil { err = &OpError{Op: "write", Net: c.fd.net, Source: c.fd.laddr, Addr: a.opAddr(), Err: err} } return n, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 10.1K bytes - Viewed (0) -
pkg/channels/unbounded_test.go
wg.Wait() if !reflect.DeepEqual(reads, wantReads) { t.Errorf("reads: %#v, wantReads: %#v", reads, wantReads) } } // TestMultipleWriters starts multiple writers and one reader goroutine and // makes sure that the reader gets all the data written by all writers. func TestMultipleWriters(t *testing.T) { ub := NewUnbounded[int]() reads := []int{} var wg sync.WaitGroup wg.Add(1) go func() { defer wg.Done()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 31 19:53:39 UTC 2022 - 2.3K bytes - Viewed (0) -
src/net/sockopt_plan9.go
// license that can be found in the LICENSE file. package net import "syscall" func setKeepAlive(fd *netFD, keepalive bool) error { if keepalive { _, e := fd.ctl.WriteAt([]byte("keepalive"), 0) return e } return nil } func setLinger(fd *netFD, sec int) error { return syscall.EPLAN9
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 03 04:23:59 UTC 2016 - 406 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/AmbiguousBindingReporter.java
writer.print(" ("); writer.print(referenceDescription); writer.print(")"); } writer.println(" is ambiguous as multiple model elements are available for this type:"); boolean first = true; for (Provider provider : providers) { if (!first) { writer.println(); } writer.print(INDENT); writer.print("- ");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy
def stream = new ByteArrayOutputStream() def result = resource.writeTo(stream) result.bytesRead == 4 stream.toString() == "1234" file.setText("abc") def stream2 = new ByteArrayOutputStream() def result2 = resource.writeTo(stream2) result2.bytesRead == 3 stream2.toString() == "abc" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 14K bytes - Viewed (0) -
src/io/io_test.go
} } var name string name = "Write" t.Run(name, func(t *testing.T) { // Write directly (off: 0, at: 0) // Write content to file w, f := makeOffsetWriter(name) defer f.Close() for _, value := range []byte(content) { n, err := w.Write([]byte{value}) if err != nil { t.Fatalf("Write failed, n: %d, err: %v", n, err) } } checkContent(name, f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:04:41 UTC 2023 - 18.9K bytes - Viewed (0) -
src/net/tcpsockopt_plan9.go
} // Set keep alive period. func setKeepAliveIdle(fd *netFD, d time.Duration) error { if d < 0 { return nil } cmd := "keepalive " + itoa.Itoa(int(d/time.Millisecond)) _, e := fd.ctl.WriteAt([]byte(cmd), 0) return e } func setKeepAliveInterval(_ *netFD, d time.Duration) error { if d < 0 { return nil } return syscall.EPLAN9 } func setKeepAliveCount(_ *netFD, n int) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 762 bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/AbstractDevelocityInputIgnoringServiceIntegrationTest.groovy
} def "can execute external process with process API at configuration time"() { given: ShellScript script = ShellScript.builder().printText("Hello, world").writeTo(testDirectory, "script") buildFile << """ ${runIgnoringInputs(""" def process = ${ShellScript.cmdToStringLiteral(script.getRelativeCommandLine(testDirectory))}.execute()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 29 16:27:53 UTC 2024 - 5.7K bytes - Viewed (0) -
src/runtime/os2_aix.go
// Check the validity of g because without a g during // newosproc0. if gp != nil { syscall1(&libc_exit, uintptr(code)) return } exit1(code) } func write2(fd, p uintptr, n int32) int32 //go:nosplit func write1(fd uintptr, p unsafe.Pointer, n int32) int32 { gp := getg() // Check the validity of g because without a g during // newosproc0. if gp != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
src/net/iprawsock_plan9.go
return 0, nil, syscall.EPLAN9 } func (c *IPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) { return 0, 0, 0, nil, syscall.EPLAN9 } func (c *IPConn) writeTo(b []byte, addr *IPAddr) (int, error) { return 0, syscall.EPLAN9 } func (c *IPConn) writeMsg(b, oob []byte, addr *IPAddr) (n, oobn int, err error) { return 0, 0, syscall.EPLAN9 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 29 23:57:04 UTC 2018 - 874 bytes - Viewed (0)