Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,003 for Implementation (0.33 sec)

  1. staging/src/k8s.io/apiserver/pkg/warning/context.go

    	// text must be valid UTF-8, and must not contain control characters.
    	AddWarning(agent, text string)
    }
    
    // WithWarningRecorder returns a new context that wraps the provided context and contains the provided Recorder implementation.
    // The returned context can be passed to AddWarning().
    func WithWarningRecorder(ctx context.Context, recorder Recorder) context.Context {
    	return context.WithValue(ctx, warningRecorderKey, recorder)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 24 16:37:53 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeref.go

    */
    
    package unstructured
    
    import (
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    
    	"k8s.io/apiserver/pkg/cel/mutation/common"
    )
    
    // TypeRef is the implementation of TypeRef for an unstructured object.
    // This is especially usefully when the schema is not known or available.
    type TypeRef struct {
    	celObjectType *types.Type
    	celTypeType   *types.Type
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/dryrun/dryrun.go

    		}
    
    		fmt.Fprintf(w, "[dryrun] Would write file %q with content:\n", outputFilePath)
    		apiclient.PrintBytesWithLinePrefix(w, fileBytes, "\t")
    	}
    	return errorsutil.NewAggregate(errs)
    }
    
    // Waiter is an implementation of apiclient.Waiter that should be used for dry-running
    type Waiter struct{}
    
    // NewWaiter returns a new Waiter object that talks to the given Kubernetes cluster
    func NewWaiter() apiclient.Waiter {
    	return &Waiter{}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/bitmask/bitmask.go

    			bits = append(bits, int(i))
    		}
    	}
    	return bits
    }
    
    // And is a package level implementation of 'and' between first and masks
    func And(first BitMask, masks ...BitMask) BitMask {
    	s := *first.(*bitMask)
    	s.And(masks...)
    	return &s
    }
    
    // Or is a package level implementation of 'or' between first and masks
    func Or(first BitMask, masks ...BitMask) BitMask {
    	s := *first.(*bitMask)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  5. src/runtime/asan/asan.go

    	int line_no;
    	int column_no;
    };
    
    // Keep in sync with the definition in compiler-rt
    // https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/asan_interface_internal.h#L48
    // So far, the current implementation is only compatible with the ASan library from version v7 to v9.
    // https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/asan_init_version.h
    // This structure describes an instrumented global variable.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 00:22:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/hash/maphash/maphash_purego.go

    	return rthash([]byte(s), state)
    }
    
    func randUint64() uint64 {
    	buf := make([]byte, 8)
    	_, _ = rand.Read(buf)
    	return byteorder.LeUint64(buf)
    }
    
    // This is a port of wyhash implementation in runtime/hash64.go,
    // without using unsafe for purego.
    
    const (
    	m1 = 0xa0761d6478bd642f
    	m2 = 0xe7037ed1a0b428db
    	m3 = 0x8ebc6af09c88c6e3
    	m4 = 0x589965cc75374cc3
    	m5 = 0x1d8e4e27c47d124f
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/io/fs/readfile.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fs
    
    import "io"
    
    // ReadFileFS is the interface implemented by a file system
    // that provides an optimized implementation of [ReadFile].
    type ReadFileFS interface {
    	FS
    
    	// ReadFile reads the named file and returns its contents.
    	// A successful call returns a nil error, not io.EOF.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. pilot/pkg/security/trustdomain/util.go

    	if !strings.HasPrefix(pattern, "*") {
    		return false
    	}
    	pattern = strings.TrimPrefix(pattern, "*")
    	return strings.HasSuffix(a, pattern)
    }
    
    // isKeyInList it's fine to use this naive implementation for searching in a very short list.
    func isKeyInList(key string, list []string) bool {
    	for _, l := range list {
    		if key == l {
    			return true
    		}
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 13 15:27:59 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go

    	"math"
    	"time"
    )
    
    // SeatSeconds is a measure of work, in units of seat-seconds, using a fixed-point representation.
    // `SeatSeconds(n)` represents `n/ssScale` seat-seconds.
    // The `ssScale` constant is private to the implementation here,
    // no other code should use it.
    type SeatSeconds uint64
    
    // MaxSeatsSeconds is the maximum representable value of SeatSeconds
    const MaxSeatSeconds = SeatSeconds(math.MaxUint64)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 09:16:46 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. pkg/apis/node/types.go

    type RuntimeClass struct {
    	metav1.TypeMeta
    
    	// +optional
    	metav1.ObjectMeta
    
    	// 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: Tue Nov 22 08:59:25 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top