Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for socketio (0.43 sec)

  1. src/bufio/bufio_test.go

    		}
    	}
    }
    
    // TestWriterReadFromCounts tests that using io.Copy to copy into a
    // bufio.Writer does not prematurely flush the buffer. For example, when
    // buffering writes to a network socket, excessive network writes should be
    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    	var w0 writeCountingDiscard
    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    			h.Typeflag = TypeChar
    		} else {
    			h.Typeflag = TypeBlock
    		}
    	case fm&fs.ModeNamedPipe != 0:
    		h.Typeflag = TypeFifo
    	case fm&fs.ModeSocket != 0:
    		return nil, fmt.Errorf("archive/tar: sockets not supported")
    	default:
    		return nil, fmt.Errorf("archive/tar: unknown file mode %v", fm)
    	}
    	if fm&fs.ModeSetuid != 0 {
    		h.Mode |= c_ISUID
    	}
    	if fm&fs.ModeSetgid != 0 {
    		h.Mode |= c_ISGID
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  3. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "// %s %s\n", filepath.Base(args[0]), strings.Join(args[1:], " "))
    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  4. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_PID_RESUME = 434
    pkg syscall (darwin-arm64), const SYS_PID_RESUME ideal-int
    pkg syscall (darwin-arm64), const SYS_PID_SHUTDOWN_SOCKETS = 436
    pkg syscall (darwin-arm64), const SYS_PID_SHUTDOWN_SOCKETS ideal-int
    pkg syscall (darwin-arm64), const SYS_PID_SUSPEND = 433
    pkg syscall (darwin-arm64), const SYS_PID_SUSPEND ideal-int
    pkg syscall (darwin-arm64), const SYS_PIPE = 42
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  5. api/go1.14.txt

    pkg syscall (freebsd-arm64), const SYS_SIGWAITINFO = 346
    pkg syscall (freebsd-arm64), const SYS_SIGWAITINFO ideal-int
    pkg syscall (freebsd-arm64), const SYS_SOCKET = 97
    pkg syscall (freebsd-arm64), const SYS_SOCKET ideal-int
    pkg syscall (freebsd-arm64), const SYS_SOCKETPAIR = 135
    pkg syscall (freebsd-arm64), const SYS_SOCKETPAIR ideal-int
    pkg syscall (freebsd-arm64), const SYS_SSTK = 70
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  6. doc/godebug.md

    for reparse points, which can be controlled with the `winsymlink` setting.
    As of Go 1.23 (`winsymlink=1`), mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink)
    set, and reparse points that are not symlinks, Unix sockets, or dedup files now
    always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes,
    [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const SYS_SIGWAITINFO = 346 #53466
    pkg syscall (freebsd-riscv64), const SYS_SIGWAITINFO ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_SOCKET = 97 #53466
    pkg syscall (freebsd-riscv64), const SYS_SOCKET ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_SOCKETPAIR = 135 #53466
    pkg syscall (freebsd-riscv64), const SYS_SOCKETPAIR ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/os/33357.md

    The [Stat] function now sets the [ModeSocket] bit for
    files that are Unix sockets on Windows. These files are identified
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 178 bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 386 bytes
    - Viewed (0)
Back to top