Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 275 for Implementation (0.33 sec)

  1. pkg/config/resource/origin.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package resource
    
    import "istio.io/istio/pkg/cluster"
    
    // Origin of a resource. This is source-implementation dependent.
    type Origin interface {
    	FriendlyName() string
    	Namespace() Namespace
    	Reference() Reference
    
    	// FieldMap returns the flat map containing paths of the fields in the resource as keys,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/encoding/binary/native_endian_big.go

    //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
    
    package binary
    
    type nativeEndian struct {
    	bigEndian
    }
    
    // NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 466 bytes
    - Viewed (0)
  8. src/io/fs/sub.go

    //
    // If dir is ".", Sub returns fsys unchanged.
    // Otherwise, if fs implements [SubFS], Sub returns fsys.Sub(dir).
    // Otherwise, Sub returns a new [FS] implementation sub that,
    // in effect, implements sub.Open(name) as fsys.Open(path.Join(dir, name)).
    // The implementation also translates calls to ReadDir, ReadFile, and Glob appropriately.
    //
    // Note that Sub(os.DirFS("/"), "prefix") is equivalent to os.DirFS("/prefix")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 10 02:10:17 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/runtime/pprof/label.go

    	if labels == nil {
    		return labelMap(nil)
    	}
    	return *labels
    }
    
    // labelMap is the representation of the label set held in the context type.
    // This is an initial implementation, but it will be replaced with something
    // that admits incremental immutable modification more efficiently.
    type labelMap map[string]string
    
    // String satisfies Stringer and returns key, value pairs in a consistent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. pkg/proxy/util/localdetector.go

    import (
    	netutils "k8s.io/utils/net"
    )
    
    // LocalTrafficDetector generates iptables or nftables rules to detect traffic from local pods.
    type LocalTrafficDetector interface {
    	// IsImplemented returns true if the implementation does something, false
    	// otherwise. You should not call the other methods if IsImplemented() returns
    	// false.
    	IsImplemented() bool
    
    	// IfLocal returns iptables arguments that will match traffic from a local pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top