Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 935 for Implementation (0.23 sec)

  1. pilot/pkg/config/memory/monitor.go

    	// If enabled, events will be handled synchronously
    	sync bool
    }
    
    // NewMonitor returns new Monitor implementation with a default event buffer size.
    func NewMonitor(store model.ConfigStore) Monitor {
    	return newBufferedMonitor(store, BufferSize, false)
    }
    
    // NewMonitor returns new Monitor implementation which will process events synchronously
    func NewSyncMonitor(store model.ConfigStore) Monitor {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. pkg/channels/unbounded.go

    // Package buffer provides an implementation of an unbounded buffer.
    package channels
    
    // Heavily inspired by the private library from gRPC (https://raw.githubusercontent.com/grpc/grpc-go/master/internal/buffer/unbounded.go)
    // Since it cannot be imported directly it is mirror here. Original license:
    /*
     * Copyright 2019 gRPC authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/internal/trace/gc_test.go

    		t.Skip("skipping in -short mode")
    	}
    	check := func(t *testing.T, mu [][]trace.MutatorUtil) {
    		mmuCurve := trace.NewMMUCurve(mu)
    
    		// Test the optimized implementation against the "obviously
    		// correct" implementation.
    		for window := time.Nanosecond; window < 10*time.Second; window *= 10 {
    			want := mmuSlow(mu[0], window)
    			got := mmuCurve.MMU(window)
    			if !aeq(want, got) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. pilot/pkg/util/protoconv/protoconv.go

    	if features.EnableVtprotobuf {
    		if vt, ok := msg.(vtStrictMarshal); ok {
    			// Attempt to use more efficient implementation
    			// "Strict" is the equivalent to Deterministic=true below
    			return vt.MarshalVTStrict()
    		}
    	}
    	// If not available, fallback to normal implementation
    	return proto.MarshalOptions{Deterministic: true}.Marshal(msg)
    }
    
    // MessageToAny converts from proto message to proto Any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 04:55:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/doc.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 boring provides access to BoringCrypto implementation functions.
    // Check the constant Enabled to find out whether BoringCrypto is available.
    // If BoringCrypto is not available, the functions in this package all panic.
    package boring
    
    // Enabled reports whether BoringCrypto is available.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 05:28:51 UTC 2023
    - 826 bytes
    - Viewed (0)
  6. src/sort/sort_impl_go121.go

    // slices package to implement some `sort` functions faster. However, until
    // the bootstrap compiler uses Go 1.21 or later, we keep a fallback version
    // in sort_impl_120.go that retains the old implementation.
    
    package sort
    
    import "slices"
    
    func intsImpl(x []int)         { slices.Sort(x) }
    func float64sImpl(x []float64) { slices.Sort(x) }
    func stringsImpl(x []string)   { slices.Sort(x) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 13:00:18 UTC 2023
    - 876 bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/node/v1alpha1/types_swagger_doc_generated.go

    	"runtimeHandler": "runtimeHandler 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...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. pkg/util/hash/hash_test.go

    		wantSum                []byte
    		wantStr                string
    		wantUint64             uint64
    		wantLittleEndianUint64 uint64
    	}{
    		{
    			name: "foo",
    			str:  "foo",
    			// note: Different hash implementation may get different hash value
    			wantStr:    "33bf00a859c4ba3f",
    			wantUint64: 3728699739546630719,
    		},
    	}
    
    	for _, tt := range testCases {
    		t.Run(tt.name, func(t *testing.T) {
    			h := New()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 20:24:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/log/slog/internal/benchmarks/benchmarks.go

    //     tasks as fast as possible (and sometimes faster, in that an
    //     implementation may not be concurrency-safe). This gives us an upper bound
    //     on handler performance, so we can evaluate the (handler-independent) core
    //     activity of the package in an end-to-end context without concern that a
    //     slow handler implementation is skewing the results.
    //
    //   - We also test the built-in handlers, for comparison.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 25 12:14:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pkg/volume/util/hostutil/hostutil_linux.go

    		return fmt.Errorf("failed to make %s rshared: %v", path, err)
    	}
    
    	return nil
    }
    
    // selinux.SELinuxEnabled implementation for unit tests
    type seLinuxEnabledFunc func() bool
    
    // GetSELinux is common implementation of GetSELinuxSupport on Linux.
    func GetSELinux(path string, mountInfoFilename string, selinuxEnabled seLinuxEnabledFunc) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top