Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 834 for 2014 (0.03 sec)

  1. 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)
  2. test/escape4.go

    // errorcheck -0 -m
    
    //go:build !goexperiment.newinliner
    
    // 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.
    
    // Test, using compiler diagnostic flags, that the escape analysis is working.
    // Compiles but does not run.  Inlining is enabled.
    
    package foo
    
    var p *int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/net/sockoptip_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.
    
    //go:build js || wasip1
    
    package net
    
    import "syscall"
    
    func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
    	return syscall.ENOPROTOOPT
    }
    
    func setIPv4MulticastLoopback(fd *netFD, v bool) error {
    	return syscall.ENOPROTOOPT
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 769 bytes
    - Viewed (0)
  4. test/fixedbugs/issue6036.go

    // compile
    
    //go:build !386 && !arm && !mips && !mipsle && !amd64p32
    
    // 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.
    
    // Issue 6036: 6g's backend generates OINDREG with
    // offsets larger than 32-bit.
    
    package main
    
    type T struct {
    	Large [1 << 31]byte
    	A     int
    	B     int
    }
    
    func F(t *T) {
    	t.B = t.A
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 652 bytes
    - Viewed (0)
  5. src/net/textproto/header.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 textproto
    
    // A MIMEHeader represents a MIME-style header mapping
    // keys to sets of values.
    type MIMEHeader map[string][]string
    
    // Add adds the key, value pair to the header.
    // It appends to any existing values associated with key.
    func (h MIMEHeader) Add(key, value string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. 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)
  7. src/crypto/cipher/cfb.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.
    
    // CFB (Cipher Feedback) Mode.
    
    package cipher
    
    import (
    	"crypto/internal/alias"
    	"crypto/subtle"
    )
    
    type cfb struct {
    	b       Block
    	next    []byte
    	out     []byte
    	outUsed int
    
    	decrypt bool
    }
    
    func (x *cfb) XORKeyStream(dst, src []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/go/types/chan.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/chan.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 Chan represents a channel type.
    type Chan struct {
    	dir  ChanDir
    	elem Type
    }
    
    // A ChanDir value indicates a channel direction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. src/sync/export_test.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.
    
    package sync
    
    // Export for testing.
    var Runtime_Semacquire = runtime_Semacquire
    var Runtime_Semrelease = runtime_Semrelease
    var Runtime_procPin = runtime_procPin
    var Runtime_procUnpin = runtime_procUnpin
    
    // poolDequeue testing.
    type PoolDequeue interface {
    	PushHead(val any) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_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 && (!solaris || go1.20)
    
    package mmap
    
    import (
    	"fmt"
    	"io/fs"
    	"os"
    	"syscall"
    )
    
    func mmapFile(f *os.File, _ *Data) (Data, error) {
    	st, err := f.Stat()
    	if err != nil {
    		return Data{}, err
    	}
    	size := st.Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 21:40:49 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top