Skip to content

Commit

Permalink
Update artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Mar 16, 2024
1 parent 9d421ec commit 055d71c
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 85 deletions.
1 change: 1 addition & 0 deletions array/base/count-same-value/coverage.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[205,207,99.0338,15,16,93.75,4,4,100,205,207,99.0338,"634044b1b369b08b2748c3f6f457c2b1259ccfa3","2024-02-22 15:06:15 -0800"]
[204,206,99.0291,17,18,94.4444,4,4,100,204,206,99.0291,"254835955084e4104fde8e72cecaab36ca08f6eb","2024-03-15 17:31:09 -0700"]
22 changes: 11 additions & 11 deletions array/base/count-same-value/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ <h1><a href="../../../../index.html">All files</a> array/base/count-same-value/l
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">99.03% </span>
<span class="strong">99.02% </span>
<span class="quiet">Statements</span>
<span class='fraction'>205/207</span>
<span class='fraction'>204/206</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">93.75% </span>
<span class="strong">94.44% </span>
<span class="quiet">Branches</span>
<span class='fraction'>15/16</span>
<span class='fraction'>17/18</span>
</div>


Expand All @@ -44,9 +44,9 @@ <h1><a href="../../../../index.html">All files</a> array/base/count-same-value/l


<div class='fl pad1y space-right2'>
<span class="strong">99.03% </span>
<span class="strong">99.02% </span>
<span class="quiet">Lines</span>
<span class='fraction'>205/207</span>
<span class='fraction'>204/206</span>
</div>


Expand Down Expand Up @@ -99,13 +99,13 @@ <h1><a href="../../../../index.html">All files</a> array/base/count-same-value/l
<div class="chart"><div class="cover-fill" style="width: 98%"></div><div class="cover-empty" style="width: 2%"></div></div>
</td>
<td data-value="98.78" class="pct high">98.78%</td>
<td data-value="165" class="abs high">163/165</td>
<td data-value="93.33" class="pct high">93.33%</td>
<td data-value="15" class="abs high">14/15</td>
<td data-value="164" class="abs high">162/164</td>
<td data-value="94.11" class="pct high">94.11%</td>
<td data-value="17" class="abs high">16/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="4" class="abs high">4/4</td>
<td data-value="98.78" class="pct high">98.78%</td>
<td data-value="165" class="abs high">163/165</td>
<td data-value="164" class="abs high">162/164</td>
</tr>

</tbody>
Expand All @@ -116,7 +116,7 @@ <h1><a href="../../../../index.html">All files</a> array/base/count-same-value/l
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-02-22T23:07:52.122Z
at 2024-03-16T00:32:58.439Z
</div>
<script src="../../../../prettify.js"></script>
<script>
Expand Down
4 changes: 2 additions & 2 deletions array/base/count-same-value/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
'use strict';
&nbsp;
/**
* Count the number of elements that are equal to a given value in an array.
* Count the number of elements in an array that are equal to a specified value.
*
* @module @stdlib/array/base/count-same-value
*
Expand Down Expand Up @@ -196,7 +196,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-02-22T23:07:52.122Z
at 2024-03-16T00:32:58.439Z
</div>
<script src="../../../../prettify.js"></script>
<script>
Expand Down
123 changes: 60 additions & 63 deletions array/base/count-same-value/main.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<div class='fl pad1y space-right2'>
<span class="strong">98.78% </span>
<span class="quiet">Statements</span>
<span class='fraction'>163/165</span>
<span class='fraction'>162/164</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">93.33% </span>
<span class="strong">94.11% </span>
<span class="quiet">Branches</span>
<span class='fraction'>14/15</span>
<span class='fraction'>16/17</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<div class='fl pad1y space-right2'>
<span class="strong">98.78% </span>
<span class="quiet">Lines</span>
<span class='fraction'>163/165</span>
<span class='fraction'>162/164</span>
</div>


Expand Down Expand Up @@ -227,8 +227,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<a name='L162'></a><a href='#L162'>162</a>
<a name='L163'></a><a href='#L163'>163</a>
<a name='L164'></a><a href='#L164'>164</a>
<a name='L165'></a><a href='#L165'>165</a>
<a name='L166'></a><a href='#L166'>166</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<a name='L165'></a><a href='#L165'>165</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand Down Expand Up @@ -276,18 +275,18 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">38x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">38x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">52x</span>
<span class="cline-any cline-yes">22x</span>
<span class="cline-any cline-yes">22x</span>
<span class="cline-any cline-yes">52x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand All @@ -305,21 +304,21 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">19x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">11x</span>
<span class="cline-any cline-yes">26x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand Down Expand Up @@ -355,7 +354,6 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
Expand All @@ -379,15 +377,15 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand Down Expand Up @@ -416,30 +414,30 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
// MODULES //
&nbsp;
var isComplexLike = require( '@stdlib/assert/is-complex-like' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var reinterpret = require( '@stdlib/strided/base/reinterpret-complex' );
var isComplexTypedArray = require( '@stdlib/array/base/assert/is-complex-typed-array' );
var isAccessorArray = require( '@stdlib/array/base/assert/is-accessor-array' );
var resolveGetter = require( '@stdlib/array/base/resolve-getter' );
var isSameValue = require( '@stdlib/assert/is-same-value' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
&nbsp;
&nbsp;
// FUNCTIONS //
&nbsp;
/**
* Counts the number of elements that are equal to a given value in an indexed array.
* Counts the number of elements in an array that are equal to a specified value.
*
* @private
* @param {Collection} x - input array
* @param {*} value - given value
* @returns {NonNegativeInteger} number of elements that are equal to the given value
* @param {*} value - search value
* @returns {NonNegativeInteger} number of elements that are equal to a specified value
*
* @example
* var x = [ 0, 1, 0, 1 ];
* var x = [ 0, 1, 0, 1, 1 ];
*
* var n = indexed( x, 1 );
* // returns 2
* // returns 3
*/
function indexed( x, value ) {
var n;
Expand All @@ -455,20 +453,20 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
}
&nbsp;
/**
* Counts the number of elements that are equal to a given value in an accessor array.
* Counts the number of elements in an accessor array that are equal to a specified value.
*
* @private
* @param {Collection} x - input array
* @param {*} value - given value
* @returns {NonNegativeInteger} number of elements that are equal to the given value
* @param {*} value - search value
* @returns {NonNegativeInteger} number of elements that are equal to a provided value
*
* @example
* var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
*
* var x = toAccessorArray( [ 0, 1, 0, 1 ] );
* var x = toAccessorArray( [ 0, 1, 0, 1, 1 ] );
*
* var n = accessors( x, 1 );
* // returns 2
* // returns 3
*/
function accessors( x, value ) {
var get;
Expand All @@ -487,16 +485,16 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
}
&nbsp;
/**
* Counts the number of elements that are equal to a given value in a complex array.
* Counts the number of elements in a complex array that are equal to a specified value.
*
* @private
* @param {Collection} x - input array
* @param {*} value - given value
* @returns {NonNegativeInteger} number of elements that are equal to the given value
* @param {*} value - search value
* @returns {NonNegativeInteger} number of elements that are equal to a specified value
*
* @example
* var Complex128 = require( '@stdlib/complex/float64' );
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64' );
*
* var x = new Complex128Array( [ 1.0, 2.0, 0.0, 0.0, 3.0, 4.0, 0.0, 0.0 ] );
*
Expand All @@ -513,15 +511,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
if ( !isComplexLike( value ) ) <span class="branch-0 cbranch-no" title="branch not covered" >{</span>
<span class="cstat-no" title="statement not covered" > return 0;</span>
<span class="cstat-no" title="statement not covered" > }</span>
&nbsp;
re = real( value );
im = imag( value );
&nbsp;
view = reinterpret( x, 0 );
&nbsp;
n = 0;
for ( i = 0; i &lt; view.length; i += 2 ) {
if ( isSameValue( view[ i ], re ) &amp;&amp; isSameValue( view[ i + 1 ], im ) ) {
if ( isSameValue( view[ i ], re ) &amp;&amp; isSameValue( view[ i+1 ], im ) ) {
n += 1;
}
}
Expand All @@ -532,11 +529,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
// MAIN //
&nbsp;
/**
* Counts the number of elements that are equal to a given value in an array.
* Counts the number of elements in an array that are equal to a specified value.
*
* @param {Collection} x - input array
* @param {*} value - given value
* @returns {NonNegativeInteger} number of elements that are equal to the given value
* @param {*} value - search value
* @returns {NonNegativeInteger} number of elements that are equal to a specified value
*
* @example
* var x = [ 0, 1, 0, 1, 1 ];
Expand Down Expand Up @@ -565,7 +562,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-02-22T23:07:52.122Z
at 2024-03-16T00:32:58.439Z
</div>
<script src="../../../../prettify.js"></script>
<script>
Expand Down
1 change: 1 addition & 0 deletions array/base/coverage.ndjson
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,4 @@
[1500,1500,100,1,1,100,0,0,100,1500,1500,100,"1eaa624d84d540120e15f0fdf33ceed0a95539dc","2024-02-19 21:08:09 -0800"]
[1500,1500,100,1,1,100,0,0,100,1500,1500,100,"0adcae51386086e2ef5fb5d78402389cff776deb","2024-02-21 15:38:30 -0800"]
[1500,1500,100,1,1,100,0,0,100,1500,1500,100,"39b81766b9d8a5e89ba4a26e5ea07f6413b46973","2024-02-21 15:39:52 -0800"]
[1509,1509,100,1,1,100,0,0,100,1509,1509,100,"254835955084e4104fde8e72cecaab36ca08f6eb","2024-03-15 17:31:09 -0700"]
10 changes: 5 additions & 5 deletions array/base/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1><a href="../../../index.html">All files</a> array/base/lib</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>1500/1500</span>
<span class='fraction'>1509/1509</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1><a href="../../../index.html">All files</a> array/base/lib</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>1500/1500</span>
<span class='fraction'>1509/1509</span>
</div>


Expand Down Expand Up @@ -84,13 +84,13 @@ <h1><a href="../../../index.html">All files</a> array/base/lib</h1>
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="1500" class="abs high">1500/1500</td>
<td data-value="1509" class="abs high">1509/1509</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="1500" class="abs high">1500/1500</td>
<td data-value="1509" class="abs high">1509/1509</td>
</tr>

</tbody>
Expand All @@ -101,7 +101,7 @@ <h1><a href="../../../index.html">All files</a> array/base/lib</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-02-21T23:41:35.288Z
at 2024-03-16T00:33:01.099Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 055d71c

Please sign in to comment.