Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,003 for Implementation (0.23 sec)

  1. src/runtime/mem_linux.go

    	if uintptr(v)&(physPageSize-1) != 0 {
    		// The Linux implementation requires that the address
    		// addr be page-aligned, and allows length to be zero.
    		throw("unaligned sysNoHugePageOS")
    	}
    	madvise(v, n, _MADV_NOHUGEPAGE)
    }
    
    func sysHugePageCollapseOS(v unsafe.Pointer, n uintptr) {
    	if uintptr(v)&(physPageSize-1) != 0 {
    		// The Linux implementation requires that the address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/hash/hash.go

    package hash
    
    import "io"
    
    // Hash is the common interface implemented by all hash functions.
    //
    // Hash implementations in the standard library (e.g. [hash/crc32] and
    // [crypto/sha256]) implement the [encoding.BinaryMarshaler] and
    // [encoding.BinaryUnmarshaler] interfaces. Marshaling a hash implementation
    // allows its internal state to be saved and used for additional processing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/sync/map_reference_test.go

    	Range(func(key, value any) (shouldContinue bool))
    	Clear()
    }
    
    var (
    	_ mapInterface = &RWMutexMap{}
    	_ mapInterface = &DeepCopyMap{}
    )
    
    // RWMutexMap is an implementation of mapInterface using a sync.RWMutex.
    type RWMutexMap struct {
    	mu    sync.RWMutex
    	dirty map[any]any
    }
    
    func (m *RWMutexMap) Load(key any) (value any, ok bool) {
    	m.mu.RLock()
    	value, ok = m.dirty[key]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. internal/bucket/bandwidth/reader.go

    type BucketOptions struct {
    	Name           string
    	ReplicationARN string // This is optional, and not mandatory.
    }
    
    // MonitorReaderOptions provides configurable options for monitor reader implementation.
    type MonitorReaderOptions struct {
    	BucketOptions
    	HeaderSize int
    }
    
    // Read implements a throttled read
    func (r *MonitoredReader) Read(buf []byte) (n int, err error) {
    	if r.throttle == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. cmd/logging.go

    type KMSLogger struct{}
    
    // LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface
    func (l KMSLogger) LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "kms", err, id, errKind...)
    }
    
    // LogIf is the implementation of LogIf, accessible using the Logger interface
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/sort/sort.go

    //go:generate go run gen_sort_variants.go
    
    // Package sort provides primitives for sorting slices and user-defined collections.
    package sort
    
    import "math/bits"
    
    // An implementation of Interface can be sorted by the routines in this package.
    // The methods refer to elements of the underlying collection by integer index.
    type Interface interface {
    	// Len is the number of elements in the collection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. pkg/registry/certificates/clustertrustbundle/strategy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package clustertrustbundle provides Registry interface and its RESTStorage
    // implementation for storing ClusterTrustBundle objects.
    package clustertrustbundle // import "k8s.io/kubernetes/pkg/registry/certificates/clustertrustbundle"
    
    import (
    	"context"
    
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 03:10:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/authentication/v1alpha1/types_swagger_doc_generated.go

    */
    
    package v1alpha1
    
    // This file contains a collection of methods that can be used from go-restful to
    // generate Swagger API documentation for its models. Please read this PR for more
    // information on the implementation: https://github.com/emicklei/go-restful/pull/215
    //
    // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
    // they are on one line! For multiple line or blocks that you want to ignore use ---.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. pkg/config/schema/collection/schema.go

    	}
    
    	return s
    }
    
    type schemaImpl struct {
    	resource     resource.Schema
    	name         config.GroupVersionKind
    	variableName string
    }
    
    // String interface method implementation.
    func (s *schemaImpl) String() string {
    	return fmt.Sprintf("[Schema](%s, %q, %s)", s.name, s.resource.ProtoPackage(), s.resource.Proto())
    }
    
    func (s *schemaImpl) VariableName() string {
    	return s.variableName
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. pkg/kubelet/util/ioutils/ioutils.go

    import "io"
    
    // LimitWriter is a copy of the standard library ioutils.LimitReader,
    // applied to the writer interface.
    // LimitWriter returns a Writer that writes to w
    // but stops with EOF after n bytes.
    // The underlying implementation is a *LimitedWriter.
    func LimitWriter(w io.Writer, n int64) io.Writer { return &LimitedWriter{w, n} }
    
    // A LimitedWriter writes to W but limits the amount of
    // data returned to just N bytes. Each call to Write
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 12:00:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top