You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="cstat-no" title="statement not covered" > var i8;</span>
796
807
<spanclass="cstat-no" title="statement not covered" > var i9;</span>
797
808
<spanclass="cstat-no" title="statement not covered" > var y;</span>
809
+
<spanclass="cstat-no" title="statement not covered" > var v;</span>
798
810
<spanclass="cstat-no" title="statement not covered" > var i;</span>
799
811
<spanclass="cstat-no" title="statement not covered" ></span>
800
812
<spanclass="cstat-no" title="statement not covered" > // Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...</span>
<spanclass="cstat-no" title="statement not covered" > // Resolve a list of pointers to the first indexed elements in the respective ndarrays:</span>
879
891
<spanclass="cstat-no" title="statement not covered" > iv = offsets( arrays );</span>
880
892
<spanclass="cstat-no" title="statement not covered" ></span>
893
+
<spanclass="cstat-no" title="statement not covered" > // Shallow copy the list of views to an internal array so that we can update with reshaped views without impacting the original list of views:</span>
894
+
<spanclass="cstat-no" title="statement not covered" > v = copyIndexed( views );</span>
895
+
<spanclass="cstat-no" title="statement not covered" ></span>
881
896
<spanclass="cstat-no" title="statement not covered" > // Cache a reference to the output ndarray buffer:</span>
882
897
<spanclass="cstat-no" title="statement not covered" > ybuf = y.data;</span>
883
898
<spanclass="cstat-no" title="statement not covered" ></span>
<spanclass="cstat-no" title="statement not covered" > var i8;</span>
817
828
<spanclass="cstat-no" title="statement not covered" > var i9;</span>
818
829
<spanclass="cstat-no" title="statement not covered" > var y;</span>
830
+
<spanclass="cstat-no" title="statement not covered" > var v;</span>
819
831
<spanclass="cstat-no" title="statement not covered" > var i;</span>
820
832
<spanclass="cstat-no" title="statement not covered" ></span>
821
833
<spanclass="cstat-no" title="statement not covered" > // Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...</span>
<spanclass="cstat-no" title="statement not covered" > // Resolve a list of pointers to the first indexed elements in the respective ndarrays:</span>
900
912
<spanclass="cstat-no" title="statement not covered" > iv = offsets( arrays );</span>
901
913
<spanclass="cstat-no" title="statement not covered" ></span>
914
+
<spanclass="cstat-no" title="statement not covered" > // Shallow copy the list of views to an internal array so that we can update with reshaped views without impacting the original list of views:</span>
915
+
<spanclass="cstat-no" title="statement not covered" > v = copyIndexed( views );</span>
916
+
<spanclass="cstat-no" title="statement not covered" ></span>
902
917
<spanclass="cstat-no" title="statement not covered" > // Cache a reference to the output ndarray buffer:</span>
903
918
<spanclass="cstat-no" title="statement not covered" > ybuf = y.data;</span>
904
919
<spanclass="cstat-no" title="statement not covered" ></span>
<spanclass="cstat-no" title="statement not covered" > dv9 = zeros( N );</span>
1117
1129
<spanclass="cstat-no" title="statement not covered" > iv = zeros( N );</span>
1118
1130
<spanclass="cstat-no" title="statement not covered" ></span>
1131
+
<spanclass="cstat-no" title="statement not covered" > // Shallow copy the list of views to an internal array so that we can update with reshaped views without impacting the original list of views:</span>
1132
+
<spanclass="cstat-no" title="statement not covered" > v = copyIndexed( views );</span>
1133
+
<spanclass="cstat-no" title="statement not covered" ></span>
1119
1134
<spanclass="cstat-no" title="statement not covered" > // Iterate over blocks...</span>
1120
1135
<spanclass="cstat-no" title="statement not covered" > for ( j9 = sh[9]; j9 > 0; ) {</span>
1121
1136
<spanclass="cstat-no" title="statement not covered" > if ( j9 < bsize ) {</span>
0 commit comments