Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 377 for Implementation (0.25 sec)

  1. src/os/zero_copy_linux.go

    	}
    	return written, handled, wrapSyscallError("copy_file_range", err)
    }
    
    // getPollFDAndNetwork tries to get the poll.FD and network type from the given interface
    // by expecting the underlying type of i to be the implementation of syscall.Conn
    // that contains a *net.rawConn.
    func getPollFDAndNetwork(i any) (*poll.FD, poll.String) {
    	sc, ok := i.(syscall.Conn)
    	if !ok {
    		return nil, ""
    	}
    	rc, err := sc.SyscallConn()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/runtime/tracemap.go

    	root atomic.UnsafePointer // *traceMapNode (can't use generics because it's notinheap)
    	_    cpu.CacheLinePad
    	seq  atomic.Uint64
    	_    cpu.CacheLinePad
    	mem  traceRegionAlloc
    }
    
    // traceMapNode is an implementation of a lock-free append-only hash-trie
    // (a trie of the hash bits).
    //
    // Key features:
    //   - 4-ary trie. Child nodes are indexed by the upper 2 (remaining) bits of the hash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/node/v1/types.go

    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// handler specifies the underlying runtime and configuration that the CRI
    	// implementation will use to handle pods of this class. The possible values
    	// are specific to the node & CRI configuration.  It is assumed that all
    	// handlers are available on every node, and handlers of the same name are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go

    func Register(plugins *admission.Plugins) {
    	plugins.Register(PluginName, func(configFile io.Reader) (admission.Interface, error) {
    		return NewPlugin(configFile), nil
    	})
    }
    
    // Plugin is an implementation of admission.Interface.
    type Policy = v1.ValidatingAdmissionPolicy
    type PolicyBinding = v1.ValidatingAdmissionPolicyBinding
    type PolicyEvaluator = Validator
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    // Copyright 2017 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 semaphore provides a weighted semaphore implementation.
    package semaphore // import "golang.org/x/sync/semaphore"
    
    import (
    	"container/list"
    	"context"
    	"sync"
    )
    
    type waiter struct {
    	n     int64
    	ready chan<- struct{} // Closed when semaphore acquired.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/netpoll_kqueue.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package runtime
    
    // Integrated network poller (kqueue-based implementation).
    
    import (
    	"internal/goarch"
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    var (
    	kq             int32         = -1
    	netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/runtime/symtabinl.go

    // the physical function, so there's always at least one frame.
    //
    // This is typically used as:
    //
    //	for u, uf := newInlineUnwinder(...); uf.valid(); uf = u.next(uf) { ... }
    //
    // Implementation note: This is used in contexts that disallow write barriers.
    // Hence, the constructor returns this by value and pointer receiver methods
    // must not mutate pointer fields. Also, we keep the mutable state in a separate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. pkg/security/security.go

    	RootCertFilePath string
    }
    
    // Client interface defines the clients need to implement to talk to CA for CSR.
    // The Agent will create a key pair and a CSR, and use an implementation of this
    // interface to get back a signed certificate. There is no guarantee that the SAN
    // in the request will be returned - server may replace it.
    type Client interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. src/math/rand/rand.go

    // requires that the stream of values produced by math/rand remain unchanged.
    // int31n can thus only be used internally, by newly introduced APIs.
    //
    // For implementation details, see:
    // https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction
    // https://lemire.me/blog/2016/06/30/fast-random-shuffling
    func (r *Rand) int31n(n int32) int32 {
    	v := r.Uint32()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/nettest/nettest.go

    	}
    	switch network {
    	case "ip4":
    		if ip := ip.To4(); ip != nil {
    			return ip, true
    		}
    	case "ip6":
    		if ip.IsLoopback() { // addressing scope of the loopback address depends on each implementation
    			return nil, false
    		}
    		if ip := ip.To16(); ip != nil && ip.To4() == nil {
    			return ip, true
    		}
    	default:
    		if ip := ip.To4(); ip != nil {
    			return ip, true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top