Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 829 for 2014 (0.11 sec)

  1. 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)
  2. 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)
  3. src/go/types/under.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/under.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
    
    // under returns the true expanded underlying type.
    // If it doesn't exist, the result is Typ[Invalid].
    // under must only be called when a type is known
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 22:34:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/net/rpc/jsonrpc/client.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 jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec
    // for the rpc package.
    // For JSON-RPC 2.0 support, see https://godoc.org/?q=json-rpc+2.0
    package jsonrpc
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/rpc"
    	"sync"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/rpc/jsonrpc/server.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 jsonrpc
    
    import (
    	"encoding/json"
    	"errors"
    	"io"
    	"net/rpc"
    	"sync"
    )
    
    var errMissingParams = errors.New("jsonrpc: request body missing params")
    
    type serverCodec struct {
    	dec *json.Decoder // for reading JSON values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/net/http/filetransport.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 (
    	"fmt"
    	"io"
    	"io/fs"
    )
    
    // fileTransport implements RoundTripper for the 'file' protocol.
    type fileTransport struct {
    	fh fileHandler
    }
    
    // NewFileTransport returns a new [RoundTripper], serving the provided
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/net/hook_plan9.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.
    
    package net
    
    var (
    	hostsFilePath = "/etc/hosts"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 211 bytes
    - Viewed (0)
Back to top