Home
last modified time | relevance | path

Searched refs:fromIndex (Results 1 – 25 of 62) sorted by relevance

123

/plugin/asciidocjs/node_modules/lodash/
Dincludes.js40 function includes(collection, value, fromIndex, guard) { argument
42 fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;
45 if (fromIndex < 0) {
46 fromIndex = nativeMax(length + fromIndex, 0);
49 ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)
50 : (!!length && baseIndexOf(collection, value, fromIndex) > -1);
D_basePullAll.js37 var fromIndex = 0,
41 while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {
43 splice.call(seen, fromIndex, 1);
45 splice.call(array, fromIndex, 1);
DfindLastIndex.js44 function findLastIndex(array, predicate, fromIndex) { argument
50 if (fromIndex !== undefined) {
51 index = toInteger(fromIndex);
52 index = fromIndex < 0
D_baseIndexOf.js14 function baseIndexOf(array, value, fromIndex) { argument
16 ? strictIndexOf(array, value, fromIndex)
17 : baseFindIndex(array, baseIsNaN, fromIndex);
DindexOf.js30 function indexOf(array, value, fromIndex) { argument
35 var index = fromIndex == null ? 0 : toInteger(fromIndex);
DfindIndex.js43 function findIndex(array, predicate, fromIndex) { argument
48 var index = fromIndex == null ? 0 : toInteger(fromIndex);
DlastIndexOf.js31 function lastIndexOf(array, value, fromIndex) { argument
37 if (fromIndex !== undefined) {
38 index = toInteger(fromIndex);
D_strictLastIndexOf.js11 function strictLastIndexOf(array, value, fromIndex) { argument
12 var index = fromIndex + 1;
D_strictIndexOf.js11 function strictIndexOf(array, value, fromIndex) { argument
12 var index = fromIndex - 1,
D_baseIndexOfWith.js11 function baseIndexOfWith(array, value, fromIndex, comparator) { argument
12 var index = fromIndex - 1,
D_baseFindIndex.js12 function baseFindIndex(array, predicate, fromIndex, fromRight) { argument
14 index = fromIndex + (fromRight ? 1 : -1);
D_createFind.js13 return function(collection, predicate, fromIndex) { argument
20 var index = findIndexFunc(collection, predicate, fromIndex);
Dcore.js105 function baseFindIndex(array, predicate, fromIndex, fromRight) { argument
107 index = fromIndex + (fromRight ? 1 : -1);
1115 return function(collection, predicate, fromIndex) { argument
1122 var index = findIndexFunc(collection, predicate, fromIndex);
1569 function findIndex(array, predicate, fromIndex) { argument
1574 var index = fromIndex == null ? 0 : toInteger(fromIndex);
1664 function indexOf(array, value, fromIndex) { argument
1666 if (typeof fromIndex == 'number') {
1667 fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;
1669 fromIndex = 0;
[all …]
Dlodash.js811 function baseFindIndex(array, predicate, fromIndex, fromRight) { argument
813 index = fromIndex + (fromRight ? 1 : -1);
832 function baseIndexOf(array, value, fromIndex) { argument
834 ? strictIndexOf(array, value, fromIndex)
835 : baseFindIndex(array, baseIsNaN, fromIndex);
848 function baseIndexOfWith(array, value, fromIndex, comparator) { argument
849 var index = fromIndex - 1,
1298 function strictIndexOf(array, value, fromIndex) { argument
1299 var index = fromIndex - 1,
1320 function strictLastIndexOf(array, value, fromIndex) { argument
[all …]
/plugin/asciidocjs/node_modules/core-js/modules/
D_array-includes.js7 return function ($this, el, fromIndex) { argument
10 var index = toAbsoluteIndex(fromIndex, length);
/plugin/asciidocjs/node_modules/core-js/library/modules/
D_array-includes.js7 return function ($this, el, fromIndex) { argument
10 var index = toAbsoluteIndex(fromIndex, length);
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
Darrays.js343 _.each([-6, -8, -Infinity], function(fromIndex) { argument
344 assert.strictEqual(_.indexOf(array, 1, fromIndex), 0);
403 _.each([6, 8, Math.pow(2, 32), Infinity], function(fromIndex) { argument
404 assert.strictEqual(_.lastIndexOf(array, void 0, fromIndex), -1);
405 assert.strictEqual(_.lastIndexOf(array, 1, fromIndex), 3);
406 assert.strictEqual(_.lastIndexOf(array, '', fromIndex), -1);
413 var actual = _.map(falsey, function(fromIndex) { argument
414 return _.lastIndexOf(array, 3, fromIndex);
424 assert.deepEqual(_.map([-6, -8, -Infinity], function(fromIndex) { argument
425 return _.lastIndexOf(array, 1, fromIndex);
/plugin/sequencediagram/bower_components/lodash/dist/
Dlodash.core.js105 function baseFindIndex(array, predicate, fromIndex, fromRight) { argument
107 index = fromIndex + (fromRight ? 1 : -1);
1115 return function(collection, predicate, fromIndex) { argument
1122 var index = findIndexFunc(collection, predicate, fromIndex);
1557 function findIndex(array, predicate, fromIndex) { argument
1562 var index = fromIndex == null ? 0 : toInteger(fromIndex);
1652 function indexOf(array, value, fromIndex) { argument
1654 if (typeof fromIndex == 'number') {
1655 fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;
1657 fromIndex = 0;
[all …]
Dlodash.js797 function baseFindIndex(array, predicate, fromIndex, fromRight) { argument
799 index = fromIndex + (fromRight ? 1 : -1);
818 function baseIndexOf(array, value, fromIndex) { argument
820 ? strictIndexOf(array, value, fromIndex)
821 : baseFindIndex(array, baseIsNaN, fromIndex);
834 function baseIndexOfWith(array, value, fromIndex, comparator) { argument
835 var index = fromIndex - 1,
1271 function strictIndexOf(array, value, fromIndex) { argument
1272 var index = fromIndex - 1,
1293 function strictLastIndexOf(array, value, fromIndex) { argument
[all …]
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/src/
DEncoder.php279 private function indexOf(array $array, string $searchElement, int $fromIndex): int argument
281 $slicedArray = array_slice($array, $fromIndex, preserve_keys: true);
/plugin/sequencediagram/bower_components/lodash/
Dlodash.js797 function baseFindIndex(array, predicate, fromIndex, fromRight) { argument
799 index = fromIndex + (fromRight ? 1 : -1);
818 function baseIndexOf(array, value, fromIndex) { argument
820 ? strictIndexOf(array, value, fromIndex)
821 : baseFindIndex(array, baseIsNaN, fromIndex);
834 function baseIndexOfWith(array, value, fromIndex, comparator) { argument
835 var index = fromIndex - 1,
1271 function strictIndexOf(array, value, fromIndex) { argument
1272 var index = fromIndex - 1,
1293 function strictLastIndexOf(array, value, fromIndex) { argument
[all …]
/plugin/asciidocjs/node_modules/nunjucks/src/
Dlib.js282 function indexOf(arr, searchElement, fromIndex) { argument
283 return Array.prototype.indexOf.call(arr || [], searchElement, fromIndex); argument
/plugin/syntaxhighlighter3/sxh3/src/js/
DshCore.js518 function indexOf(array, searchElement, fromIndex) argument
520 fromIndex = Math.max(fromIndex || 0, 0);
522 for (var i = fromIndex, l = array.length; i < l; i++)
/plugin/sequencediagram/bower_components/underscore/
Dunderscore.js265 _.contains = _.includes = _.include = function(obj, item, fromIndex, guard) {
267 if (typeof fromIndex != 'number' || guard) fromIndex = 0;
268 return _.indexOf(obj, item, fromIndex) >= 0;
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/
Dunderscore.js276 _.contains = _.includes = _.include = function(obj, item, fromIndex, guard) {
278 if (typeof fromIndex != 'number' || guard) fromIndex = 0;
279 return _.indexOf(obj, item, fromIndex) >= 0;

123