Top "Variable-length" questions

Refers to anything whose length can vary

Are variable length arrays possible with Javascript

I want to make a variable length array in Javascript. Is this possible. A quick google search for "Javascript variable …

javascript arrays variable-length
Variable Sized Struct C++

Is this the best way to make a variable sized struct in C++? I don't want to use vector because …

c++ struct variable-length
Variable length template arguments list?

I remember seing something like this being done: template <ListOfTypenames> class X : public ListOfTypenames {}; that is, X inherits …

c++ templates c++11 variable-length
Finding length of all arrays multidimensional array, Java

I would like to use a multidimensional array to store a grid of data. However, I have not found a …

java arrays multidimensional-array variable-length
Receiving a "Variable Lengths Differ" error in predict

I have been receiving a the above message while trying to test the accuracy of my model. The plan was …

r variable-length
What is the advantage of having instructions in a uniform format?

Many processors have instructions which are of uniform format and width such as the ARM where all instructions are 32-bit …

encoding cpu-architecture instructions fixed-width variable-length
How to get the length of character type variable in RPGLE?

Is there any easy way to directly return the length of character and type variable in RPGLE? The length I …

ibm-midrange rpgle variable-length
How to implement a variable-length ‘string’-y in C

I’ve googled quite a bit, but I can’t find information on how variable-length strings are generally implemented in …

c string memory memory-management variable-length
How does Pytorch Dataloader handle variable size data?

I have a dataset that looks like below. That is the first item is the user id followed by the …

python pytorch tensor variable-length