Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TypeString (0.26 sec)

  1. internal/s3select/simdj/record.go

    	elem := r.object.FindKey(name, nil)
    	if elem == nil {
    		return nil, nil
    	}
    	return iterToValue(elem.Iter)
    }
    
    func iterToValue(iter simdjson.Iter) (*sql.Value, error) {
    	switch iter.Type() {
    	case simdjson.TypeString:
    		v, err := iter.String()
    		if err != nil {
    			return nil, err
    		}
    		return sql.FromString(v), nil
    	case simdjson.TypeFloat:
    		v, err := iter.Float()
    		if err != nil {
    			return nil, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    		typ := f.Type()
    		if f.Anonymous() {
    			if w.isDeprecated(f) {
    				w.emitf("embedded %s //deprecated", w.typeString(typ))
    			}
    			w.emitf("embedded %s", w.typeString(typ))
    			continue
    		}
    		if w.isDeprecated(f) {
    			w.emitf("%s //deprecated", f.Name())
    		}
    		w.emitf("%s %s", f.Name(), w.typeString(typ))
    	}
    }
    
    func (w *Walker) emitIfaceType(name string, typ *types.Interface) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. internal/s3select/sql/record.go

    // Objects are returned as simdjson.Object
    // Arrays are returned as []interface{} with parsed values.
    func IterToValue(iter simdjson.Iter) (interface{}, error) {
    	switch iter.Type() {
    	case simdjson.TypeString:
    		v, err := iter.String()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    	case simdjson.TypeFloat:
    		v, err := iter.Float()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack.cc

          tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h));
      if (handle->Type() != TensorHandle::LOCAL) {
        status->status = tensorflow::errors::InvalidArgument(
            "DLPack doesn't support ", handle->TypeString(), " tensor");
        return nullptr;
      }
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return nullptr;
      }
      return tensor;
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

      if (handle->Type() != tensorflow::TensorHandle::LOCAL) {
        status->status = tensorflow::errors::InvalidArgument(
            "TFE_TensorHandleDevicePointer may not be called on a ",
            handle->TypeString(), " tensor handle.");
        return nullptr;
      }
      tensorflow::Device* device(handle->device());
      if (device != nullptr) {
        status->status = device->Sync();
        if (!status->status.ok()) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg go/types, func ObjectString(Object, Qualifier) string
    pkg go/types, func RelativeTo(*Package) Qualifier
    pkg go/types, func SelectionString(*Selection, Qualifier) string
    pkg go/types, func TypeString(Type, Qualifier) string
    pkg go/types, func WriteExpr(*bytes.Buffer, ast.Expr)
    pkg go/types, func WriteSignature(*bytes.Buffer, *Signature, Qualifier)
    pkg go/types, func WriteType(*bytes.Buffer, Type, Qualifier)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top