Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for typekind (0.5 sec)

  1. src/runtime/typekind.go

    qiulaidongfeng <******@****.***> 1712063304 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 356 bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/TypeMirrorToType.java

        public Type visitPrimitive(PrimitiveType t, Void unused) {
            TypeKind kind = t.getKind();
            if (kind == TypeKind.INT) {
                return Type.INT_TYPE;
            }
            if (kind == TypeKind.BYTE) {
                return Type.BYTE_TYPE;
            }
            if (kind == TypeKind.BOOLEAN) {
                return Type.BOOLEAN_TYPE;
            }
            if (kind == TypeKind.DOUBLE) {
                return Type.DOUBLE_TYPE;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/wrapper.go

    	typ, err := r.Types.FindMessageByURL(url)
    	if err != nil {
    		// Here we ignore the error since we want istioctl to ignore unknown types due to the Envoy version change
    		msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/comparator.go

    	}
    	mt, err := protoregistry.GlobalTypes.FindMessageByName(protoreflect.FullName(mname))
    	if err != nil {
    		// istioctl should keep going if it encounters new Envoy versions; ignore unknown types
    		return &exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}, nil
    	}
    	return legacyproto.MessageV1(mt.New().Interface()), nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.h

    bool IsDynamicPadderOp(const TypeID& type_id);
    
    // Returns True if this op has a Tf2XLA fallback. Currently, this is not the
    // inverse of the !IsOpLegalizedWithMlir, but it should be.
    bool HasTf2XlaFallback(const TypeID& type_id);
    
    // Whether this type is allowed to have a TF2XLA fallback.
    bool IsOpAllowedTf2xlaFallback(const TypeID& type_id);
    
    // Whether this type is Preferred to use a TF2XLA fallback kernel when using
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 20:53:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h

        // TODO(b/177376459): remove this.
        internal::RegisterTargetHardwareOp(mlir::TypeID::get<Hardware>(),
                                           mlir::TypeID::get<Op>(),
                                           target_hardware_op_factory);
        internal::RegisterTargetHardwareOpFactory(mlir::TypeID::get<Hardware>(),
                                                  mlir::TypeID::get<Op>(),
                                                  target_hardware_op_factory);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 21:39:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        }
    
        val result =
          reader.read(name) {
            codec.decode(reader)
          }
    
        if (typeHint) {
          reader.typeHint = result
        }
    
        return result
      }
    
      override fun toDer(
        writer: DerWriter,
        value: T,
      ) {
        if (typeHint) {
          writer.typeHint = value
        }
    
        if (isOptional && value == defaultValue) {
          // Nothing to write!
          return
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/encoding/pem/pem.go

    			rest = after
    		} else {
    			return nil, data
    		}
    
    		var typeLine []byte
    		typeLine, rest = getLine(rest)
    		if !bytes.HasSuffix(typeLine, pemEndOfLine) {
    			continue
    		}
    		typeLine = typeLine[0 : len(typeLine)-len(pemEndOfLine)]
    
    		p = &Block{
    			Headers: make(map[string]string),
    			Type:    string(typeLine),
    		}
    
    		for {
    			// This loop terminates because getLine's second result is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      EXPECT_TRUE(IsTypeLegalizedWithMlir(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(HasTf2XlaFallback(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(IsOpAllowedTf2xlaFallback(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(IsOpAllowedTf2xlaPreferred(TypeID::get<TF::ModOp>()));
    }
    
    TEST_F(LegalizationOpConfigTest, ExpectsTrueForTF2XLATypeID) {
      EXPECT_TRUE(HasTf2XlaFallback(TypeID::get<TF::AllOp>()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tpu_embedding_ops_registry.h

      template <typename OpType>
      void Add() {
        ops_type_ids_.insert(TypeID::get<OpType>());
      }
    
      // Returns the type id of the ops in the TPUEmbeddingOpRegistry.
      const llvm::SmallDenseSet<mlir::TypeID>& GetOpsTypeIds();
    
      // Returns the global registry.
      static TPUEmbeddingOpsRegistry& Global();
    
     private:
      llvm::SmallDenseSet<mlir::TypeID> ops_type_ids_{};
    };
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 05:42:28 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top