Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 538 for 2014 (0.03 sec)

  1. src/internal/poll/sendfile_linux.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 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.
    func SendFile(dstFD *FD, src int, remain int64) (written int64, err error, handled bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/crypto/rand/rand.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 rand implements a cryptographically secure
    // random number generator.
    package rand
    
    import "io"
    
    // Reader is a global, shared instance of a cryptographically
    // secure random number generator.
    //
    //   - On Linux, FreeBSD, Dragonfly, and Solaris, Reader uses getrandom(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/race/testdata/time_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 race_test
    
    import (
    	"testing"
    	"time"
    )
    
    func TestNoRaceAfterFunc(_ *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int)
    	f := func() {
    		v = 1
    		c <- 0
    	}
    	v = 2
    	time.AfterFunc(1, f)
    	<-c
    	v = 3
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:34:15 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/crypto/sha256/sha256block_decl.go

    // Copyright 2013 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 (386 || amd64 || s390x || ppc64le || ppc64) && !purego
    
    package sha256
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 291 bytes
    - Viewed (0)
  5. src/crypto/md5/md5block_decl.go

    // Copyright 2013 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 (amd64 || 386 || arm || ppc64le || ppc64 || s390x || arm64) && !purego
    
    package md5
    
    const haveAsm = true
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 326 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_windows.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 mmap
    
    import (
    	"fmt"
    	"os"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    func mmapFile(f *os.File, previous *Data) (Data, error) {
    	if previous != nil {
    		munmapFile(*previous)
    	}
    	st, err := f.Stat()
    	if err != nil {
    		return Data{}, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/go/types/map.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/map.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 types
    
    // A Map represents a map type.
    type Map struct {
    	key, elem Type
    }
    
    // NewMap returns a new map for the given key and element types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 781 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/ssagen/pgen.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 ssagen
    
    import (
    	"fmt"
    	"internal/buildcfg"
    	"os"
    	"sort"
    	"sync"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/inline"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/liveness"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/pgoir"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top