Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 541 for Implementation (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/object-lambda-handlers.go

    			return nil
    		}
    		return apiErr
    	}
    	return nil
    }
    
    // GetObjectLamdbaHandler - GET Object with transformed data via lambda functions
    // ----------
    // This implementation of the GET operation applies lambda functions and returns the
    // response generated via the lambda functions. To use this API, you must have READ access
    // to the object.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/log/slog/doc.go

    	}
    
    and you call it like this in main.go:
    
    	Infof(slog.Default(), "hello, %s", "world")
    
    then slog will report the source file as mylog.go, not main.go.
    
    A correct implementation of Infof will obtain the source location
    (pc) and pass it to NewRecord.
    The Infof function in the package-level example called "wrapping"
    demonstrates how to do this.
    
    # Working with Records
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. pkg/controller/testutil/test_utils.go

    	testingclock "k8s.io/utils/clock/testing"
    
    	jsonpatch "gopkg.in/evanphx/json-patch.v4"
    )
    
    var (
    	keyFunc = cache.DeletionHandlingMetaNamespaceKeyFunc
    )
    
    // FakeNodeHandler is a fake implementation of NodesInterface and NodeInterface. It
    // allows test cases to have fine-grained control over mock behaviors. We also need
    // PodsInterface and PodInterface to test list & delete pods, which is implemented in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top