- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 495 for 2014 (0.08 sec)
-
src/net/file_unix.go
// Copyright 2011 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. //go:build unix package net import ( "internal/poll" "os" "syscall" ) func dupSocket(f *os.File) (int, error) { s, call, err := poll.DupCloseOnExec(int(f.Fd())) if err != nil { if call != "" { err = os.NewSyscallError(call, err) } return -1, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 2.5K bytes - Viewed (0) -
src/syscall/sockcmsg_unix.go
// Copyright 2011 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. //go:build unix // Socket control messages package syscall import ( "unsafe" ) // CmsgLen returns the value to store in the Len field of the [Cmsghdr] // structure, taking into account any necessary alignment. func CmsgLen(datalen int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue4029.go
// Copyright 2012 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. //go:build !windows && !static && !(darwin && internal) // Excluded in darwin internal linking PIE (which is the default) mode, // as dynamic export is not supported. package cgotest /* #include <stdint.h> #include <dlfcn.h> #cgo linux LDFLAGS: -ldl
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 15:41:19 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
// Copyright 2012 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. //go:build arm && freebsd package unix import ( "syscall" "unsafe" ) func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: int32(nsec)} } func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: sec, Usec: int32(usec)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.3K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/norm/trie.go
// Copyright 2011 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 norm type valueRange struct { value uint16 // header: value:stride lo, hi byte // header: lo:n } type sparseBlocks struct { values []valueRange offset []uint16 } var nfcSparse = sparseBlocks{ values: nfcSparseValues[:], offset: nfcSparseOffset[:],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 1.2K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
// Copyright 2015 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. //go:build unix package syscall_test import ( "bytes" "fmt" "internal/testenv" "io" "math/rand" "os" "os/exec" "os/signal" "strconv" "syscall" "testing" "time" ) type command struct { pipe io.WriteCloser proc *exec.Cmd
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
src/net/cgo_stub.go
// Copyright 2011 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. // This file holds stub versions of the cgo functions called on Unix systems. // We build this file: // - if using the netgo build tag on a Unix system // - on a Unix system without the cgo resolver functions // (Darwin always provides the cgo functions, in cgo_unix_syscall.go)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.3K bytes - Viewed (0) -
src/net/http/filetransport_test.go
// Copyright 2011 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 http import ( "io" "os" "path/filepath" "testing" "testing/fstest" ) func checker(t *testing.T) func(string, error) { return func(call string, err error) { if err == nil { return } t.Fatalf("%s: %v", call, err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 17:07:12 UTC 2023 - 2.6K bytes - Viewed (0) -
src/internal/poll/sendfile_bsd.go
// Copyright 2011 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. //go:build darwin || dragonfly || freebsd package poll import "syscall" // maxSendfileSize is the largest chunk size we ask the kernel to copy // at a time. const maxSendfileSize int = 4 << 20 // SendFile wraps the sendfile system call.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.5K bytes - Viewed (0) -
src/crypto/cipher/io.go
// Copyright 2010 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 cipher import "io" // The Stream* objects are so simple that all their members are public. Users // can create them themselves. // StreamReader wraps a [Stream] into an [io.Reader]. It calls XORKeyStream // to process each slice of data which passes through.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 1.5K bytes - Viewed (0)