Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for byteslice (0.14 sec)

  1. src/net/textproto/reader.go

    		} else if !upper && 'A' <= c && c <= 'Z' {
    			c += toLower
    		}
    		a[i] = c
    		upper = c == '-' // for next time
    	}
    	commonHeaderOnce.Do(initCommonHeader)
    	// The compiler recognizes m[string(byteSlice)] as a special
    	// case, so a copy of a's bytes into a new string does not
    	// happen in this map lookup:
    	if v := commonHeader[string(a)]; v != "" {
    		return v, true
    	}
    	return string(a), true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. tensorflow/c/tf_tensor.cc

    int64_t TF_Dim(const TF_Tensor* t, int dim_index) {
      return t->tensor->Dim(dim_index);
    }
    
    size_t TF_TensorByteSize(const TF_Tensor* t) { return t->tensor->ByteSize(); }
    
    void* TF_TensorData(const TF_Tensor* t) { return t->tensor->Data(); }
    
    int64_t TF_TensorElementCount(const TF_Tensor* t) {
      int64_t result = 1;
      int rank = TF_NumDims(t);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_gen.go

    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *xlMetaV2Object) Msgsize() (s int) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		buf.WriteString(" ")
    		buf.WriteString(name)
    		buf.WriteString("; ")
    		if talign > align {
    			align = talign
    		}
    	}
    	if off < dt.ByteSize {
    		fld, sizes = c.pad(fld, sizes, dt.ByteSize-off)
    		off = dt.ByteSize
    	}
    
    	// If the last field in a non-zero-sized struct is zero-sized
    	// the compiler is going to pad it by one (see issue 9401).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/ureader.go

    	case pkgbits.TypeMap:
    		return types.NewMap(r.typ(), r.typ())
    	case pkgbits.TypePointer:
    		return types.NewPointer(r.typ())
    	case pkgbits.TypeSignature:
    		return r.signature(nil, nil, nil)
    	case pkgbits.TypeSlice:
    		return types.NewSlice(r.typ())
    	case pkgbits.TypeStruct:
    		return r.structType()
    	case pkgbits.TypeInterface:
    		return r.interfaceType()
    	case pkgbits.TypeUnion:
    		return r.unionType()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

        if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString(
                string(static_cast<const char*>(tensor_interface->Data()),
                       tensor_interface->ByteSize()))) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: unable to parse resource handle");
        }
        return absl::OkStatus();
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top