- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for raccoon (0.13 sec)
-
src/cmd/vendor/rsc.io/markdown/emoji.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 107.7K bytes - Viewed (0) -
src/os/rawconn.go
package os import ( "runtime" ) // rawConn implements syscall.RawConn. type rawConn struct { file *File } func (c *rawConn) Control(f func(uintptr)) error { if err := c.file.checkValid("SyscallConn.Control"); err != nil { return err } err := c.file.pfd.RawControl(f) runtime.KeepAlive(c.file) return err } func (c *rawConn) Read(f func(uintptr) bool) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 993 bytes - Viewed (0) -
src/net/rawconn.go
} func (c *rawConn) ok() bool { return c != nil && c.fd != nil } func (c *rawConn) Control(f func(uintptr)) error { if !c.ok() { return syscall.EINVAL } err := c.fd.pfd.RawControl(f) runtime.KeepAlive(c.fd) if err != nil { err = &OpError{Op: "raw-control", Net: c.fd.net, Source: nil, Addr: c.fd.laddr, Err: err} } return err } func (c *rawConn) Read(f func(uintptr) bool) error { if !c.ok() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 2.7K bytes - Viewed (0) -
src/net/rawconn_stub_test.go
"syscall" ) func readRawConn(c syscall.RawConn, b []byte) (int, error) { return 0, errors.New("not supported") } func writeRawConn(c syscall.RawConn, b []byte) error { return errors.New("not supported") } func controlRawConn(c syscall.RawConn, addr Addr) error { return errors.New("not supported") } func controlOnConnSetup(network string, address string, c syscall.RawConn) error { return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 631 bytes - Viewed (0) -
src/net/file_unix_test.go
t.Fatal(err) } defer client.Close() if err := <-errc; err != nil { t.Fatalf("server error: %v", err) } // The socket should be non-blocking. rawconn, err := client.(*UnixConn).SyscallConn() if err != nil { t.Fatal(err) } err = rawconn.Control(func(fd uintptr) { nonblock, err := unix.IsNonblock(int(fd)) if err != nil { t.Fatal(err) } if !nonblock {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 16:48:53 UTC 2023 - 2.1K bytes - Viewed (0) -
src/syscall/net.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syscall // A RawConn is a raw network connection. type RawConn interface { // Control invokes f on the underlying connection's file // descriptor or handle. // The file descriptor fd is guaranteed to remain valid while // f executes but not after f returns.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 27 16:36:34 UTC 2018 - 1.2K bytes - Viewed (0) -
src/net/rawconn_unix_test.go
"errors" "syscall" ) func readRawConn(c syscall.RawConn, b []byte) (int, error) { var operr error var n int err := c.Read(func(s uintptr) bool { n, operr = syscall.Read(int(s), b) if operr == syscall.EAGAIN { return false } return true }) if err != nil { return n, err } return n, operr } func writeRawConn(c syscall.RawConn, b []byte) error { var operr error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 3K bytes - Viewed (1) -
src/net/rawconn_windows_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import ( "errors" "syscall" "unsafe" ) func readRawConn(c syscall.RawConn, b []byte) (int, error) { var operr error var n int err := c.Read(func(s uintptr) bool { var read uint32 var flags uint32 var buf syscall.WSABuf buf.Buf = &b[0] buf.Len = uint32(len(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 18 08:47:18 UTC 2020 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_windows.go
import ( "fmt" "syscall" ) func permitPortReuse(network, address string, c syscall.RawConn) error { return fmt.Errorf("port reuse is not supported on Windows") } // Windows supports SO_REUSEADDR, but it may cause undefined behavior, as // there is no protection against port hijacking. func permitAddressReuse(network, addr string, conn syscall.RawConn) error { return fmt.Errorf("address reuse is not supported on Windows")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1K bytes - Viewed (0) -
internal/http/dial_others.go
) // TODO: if possible implement for non-linux platforms, not a priority at the moment // //nolint:unused func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error { return func(network, address string, c syscall.RawConn) error { return nil } } // DialContext is a function to make custom Dial for internode communications
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Apr 24 04:08:47 UTC 2024 - 1.6K bytes - Viewed (0)