Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for Tstring (0.18 sec)

  1. src/cmd/compile/internal/types/type.go

    var UntypedTypes = [...]*Type{
    	constant.Bool:    UntypedBool,
    	constant.String:  UntypedString,
    	constant.Int:     UntypedInt,
    	constant.Float:   UntypedFloat,
    	constant.Complex: UntypedComplex,
    }
    
    // DefaultKinds maps from a constant.Kind to its default Kind.
    var DefaultKinds = [...]Kind{
    	constant.Bool:    TBOOL,
    	constant.String:  TSTRING,
    	constant.Int:     TINT,
    	constant.Float:   TFLOAT64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/expr.go

    	}
    
    	var kind types.Kind
    	if n.Op() == ir.OUNSAFESLICEDATA {
    		kind = types.TSLICE
    	} else {
    		/* kind is string */
    		kind = types.TSTRING
    	}
    
    	if t.Kind() != kind {
    		base.Errorf("invalid argument %L for %v", l, n.Op())
    		n.SetType(nil)
    		return n
    	}
    
    	if kind == types.TSTRING {
    		t = types.ByteType
    	} else {
    		t = t.Elem()
    	}
    	n.SetType(types.NewPtr(t))
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/order.go

    		// buffer during conversion. String concatenation does not
    		// memorize the strings for later use, so it is safe.
    		// However, we can do it only if there is at least one non-empty string literal.
    		// Otherwise if all other arguments are empty strings,
    		// concatstrings will return the reference to the temp string
    		// to the caller.
    		hasbyte := false
    
    		haslit := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h"
    
    #include <cstring>
    #include <initializer_list>
    
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/ops.h

        /// Construct from a scalar value of an arithmetic type or a type that can
        /// be converted to a string (eg. a string literal).
        template <typename T, typename = typename std::enable_if<
                                  std::is_arithmetic<T>::value ||
                                  std::is_convertible<T, std::string>::value>::type>
        Initializer(const T& v) {  // NOLINT(runtime/explicit)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    #include "tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h"
    
    #include <memory>
    #include <string>
    #include <unordered_set>
    #include <vector>
    
    #include "absl/algorithm/container.h"
    #include "absl/container/flat_hash_map.h"
    #include "absl/strings/str_split.h"
    #include "absl/strings/string_view.h"
    #include "absl/types/optional.h"
    #include "tensorflow/c/eager/immediate_execution_context.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/expand_calls.go

    	config      *abi.ABIConfig
    	regValues   *[]*Value // values assigned to registers accumulate here
    }
    
    func (c *registerCursor) String() string {
    	dest := "<none>"
    	if c.storeDest != nil {
    		dest = fmt.Sprintf("%s+%d", c.storeDest.String(), c.storeOffset)
    	}
    	regs := "<none>"
    	if c.regValues != nil {
    		regs = ""
    		for i, x := range *c.regValues {
    			if i > 0 {
    				regs = regs + "; "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  8. src/encoding/gob/type.go

    		return nil
    	}
    	return idToType(t)
    }
    
    // string returns the string representation of the type associated with the typeId.
    func (t typeId) string() string {
    	if t.gobType() == nil {
    		return "<nil>"
    	}
    	return t.gobType().string()
    }
    
    // Name returns the name of the type associated with the typeId.
    func (t typeId) name() string {
    	if t.gobType() == nil {
    		return "<nil>"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/config.go

    	// Forwards the Debug flags from gc
    	Debug_checknil() bool
    }
    
    type Frontend interface {
    	Logger
    
    	// StringData returns a symbol pointing to the given string's contents.
    	StringData(string) *obj.LSym
    
    	// Given the name for a compound type, returns the name we should use
    	// for the parts of that compound type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/const.go

    // If explicit is true, then conversions from integer to string are
    // also allowed.
    func ConvertVal(v constant.Value, t *types.Type, explicit bool) constant.Value {
    	switch ct := v.Kind(); ct {
    	case constant.Bool:
    		if t.IsBoolean() {
    			return v
    		}
    
    	case constant.String:
    		if t.IsString() {
    			return v
    		}
    
    	case constant.Int:
    		if explicit && t.IsString() {
    			return tostr(v)
    		}
    		fallthrough
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top