Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for traits (0.57 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    	return []cel.ProgramOption{}
    }
    
    func isSorted(val ref.Val) ref.Val {
    	var prev traits.Comparer
    	iterable, ok := val.(traits.Iterable)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(val)
    	}
    	for it := iterable.Iterator(); it.HasNext() == types.True; {
    		next := it.Next()
    		nextCmp, ok := next.(traits.Comparer)
    		if !ok {
    			return types.MaybeNoSuchOverloadErr(next)
    		}
    		if prev != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/constants.go

    limitations under the License.
    */
    
    package common
    
    import (
    	"github.com/google/cel-go/common/types/traits"
    )
    
    // RootTypeReferenceName is the root reference that all type names should start with.
    const RootTypeReferenceName = "Object"
    
    // ObjectTraits is the bitmask that represents traits that an object should have.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 897 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy.go

    	knownValues []string
    }
    
    func NewMapValue(objectType ref.Type) *MapValue {
    	return &MapValue{
    		typeValue: types.NewTypeValue(objectType.TypeName(), traits.IndexerType|traits.FieldTesterType|traits.IterableType),
    		values:    map[string]ref.Val{},
    		callbacks: map[string]GetFieldFunc{},
    	}
    }
    
    // Append adds the given field with its name and callback.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_dialect.td

      let description = [{
        The TF MLRT Dialect.
      }];
    
      let cppNamespace = "::tensorflow::tf_mlrt";
    }
    
    class TensorflowMlrt_Op<string mnemonic, list<Trait> traits = []> :
        Op<TensorflowMlrt_Dialect, mnemonic, !listconcat(traits, [IsolatedFromAbove])> {
    }
    
    // This corresponds to tensorflow::Tensor.
    def TFTensorType : DialectType<TensorflowMlrt_Dialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/scala/scala3/groovy/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    /**
     * Defines the traits of one who is named.
     */
    trait Named:
      def names: List[String]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 204 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/scala/quickstart/groovy/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    /**
     * Defines the traits of one who is named.
     */
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 207 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/scala/quickstart/kotlin/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    /**
     * Defines the traits of one who is named.
     */
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 207 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/scala/scala3/kotlin/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    /**
     * Defines the traits of one who is named.
     */
    trait Named:
      def names: List[String]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 204 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

      let description = [{
        The TF MLRT TPU Dialect.
      }];
    
      let cppNamespace = "::tensorflow::tf_mlrt_tpu";
    }
    
    class TensorflowMlrtTpu_Op<string mnemonic, list<Trait> traits = []> :
        Op<TensorflowMlrtTpu_Dialect, mnemonic, !listconcat(traits, [IsolatedFromAbove])> {
    }
    
    def GetTpuHostDeviceOp : TensorflowMlrtTpu_Op<"get_tpu_host_device", [Pure]> {
      let summary = "get the tpu host allocator that implements tensorflow::Device";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/gpu_ops.td

      let name = "gpurt";
    
      let description = [{
        The TFRT GPU Dialect.
      }];
    
      let cppNamespace = "::tfrt::gpu";
    }
    
    class Gpu_Op<string mnemonic, list<Trait> traits = []> :
        Op<TFRT_GPU_Dialect, mnemonic, traits> {
    }
    
    // TODO(b/260267885): We may add a device argument when we want to support
    // GPU MIG.
    def TransferToDeviceOp: Gpu_Op<"transfer_to_device"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top