Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for byteslice (0.28 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go

    // returned size will not be correct if RawJSOn is set on unk.
    func estimateUnknownSize(unk *runtime.Unknown, byteSize uint64) uint64 {
    	size := uint64(unk.Size())
    	// protobuf uses 1 byte for the tag, a varint for the length of the array (at most 8 bytes - uint64 - here),
    	// and the size of the array.
    	size += 1 + 8 + byteSize
    	return size
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 13:38:23 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  2. internal/grid/msg_gen.go

    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *connectReq) Msgsize() (s int) {
    	s = 1 + 3 + msgp.ArrayHeaderSize + (16 * (msgp.ByteSize)) + 5 + msgp.StringPrefixSize + len(z.Host)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *connectResp) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 18.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/cc/experimental/libtf/object.h

        return tensorflow::errors::InvalidArgument(absl::StrCat(
            "Mismatched number of elements: \n", "Expected: ", data.size(), "\n",
            "Actual: ", t->NumElements(), "\n"));
      }
      memcpy(data.data(), t->Data(), t->ByteSize());
      return ::tensorflow::OkStatus();
    }
    
    /// @brief The Tuple class for holding TaggedValues of type TUPLE.
    class Tuple : public Handle {
     public:
      /// Constructs a Tuple handle.
      template <class... T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	CBInQue  uint32
    	CBOutQue uint32
    }
    
    type DCB struct {
    	DCBlength  uint32
    	BaudRate   uint32
    	Flags      uint32
    	wReserved  uint16
    	XonLim     uint16
    	XoffLim    uint16
    	ByteSize   uint8
    	Parity     uint8
    	StopBits   uint8
    	XonChar    byte
    	XoffChar   byte
    	ErrorChar  byte
    	EofChar    byte
    	EvtChar    byte
    	wReserved1 uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ClassRngListsPtr", Const, 14},
    		{"ClassStrOffsetsPtr", Const, 14},
    		{"ClassString", Const, 5},
    		{"ClassStringAlt", Const, 5},
    		{"ClassUnknown", Const, 6},
    		{"CommonType", Type, 0},
    		{"CommonType.ByteSize", Field, 0},
    		{"CommonType.Name", Field, 0},
    		{"ComplexType", Type, 0},
    		{"ComplexType.BasicType", Field, 0},
    		{"Data", Type, 0},
    		{"DecodeError", Type, 0},
    		{"DecodeError.Err", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg debug/dwarf, type CharType struct
    pkg debug/dwarf, type CharType struct, embedded BasicType
    pkg debug/dwarf, type CommonType struct
    pkg debug/dwarf, type CommonType struct, ByteSize int64
    pkg debug/dwarf, type CommonType struct, Name string
    pkg debug/dwarf, type ComplexType struct
    pkg debug/dwarf, type ComplexType struct, embedded BasicType
    pkg debug/dwarf, type Data struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top