- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 637 for indexOf (0.1 sec)
-
guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3, (byte) 4})).isEqualTo(1); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3})).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3, (byte) 4})).isEqualTo(1); assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3})).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(ArrayUtil.indexOf(array, "222"), is(1)); assertThat(ArrayUtil.indexOf(array, "222", 2), is(3)); assertThat(ArrayUtil.indexOf(array, new Object()), is(-1)); assertThat(ArrayUtil.indexOf(array, null), is(-1)); array[1] = null; assertThat(ArrayUtil.indexOf(array, null), is(1)); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(iia.indexOf(1)).isEqualTo(0); assertThat(iia.indexOf(8)).isEqualTo(5); assertThat(iia.indexOf(4)).isEqualTo(-1); assertThat(ImmutableDoubleArray.of(13).indexOf(13)).isEqualTo(0); assertThat(ImmutableDoubleArray.of().indexOf(21)).isEqualTo(-1); assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0); } public void testIndexOf_specialValues() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.indexOf(EMPTY, (double) 1)).isEqualTo(-1); assertThat(Doubles.indexOf(ARRAY1, (double) 2)).isEqualTo(-1); assertThat(Doubles.indexOf(ARRAY234, (double) 1)).isEqualTo(-1); assertThat(Doubles.indexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0); assertThat(Doubles.indexOf(ARRAY234, (double) 2)).isEqualTo(0); assertThat(Doubles.indexOf(ARRAY234, (double) 3)).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat(Chars.indexOf(ARRAY1, ARRAY1)).isEqualTo(0); assertThat(Chars.indexOf(ARRAY234, ARRAY234)).isEqualTo(0); assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 2, (char) 3})).isEqualTo(0); assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3, (char) 4})).isEqualTo(1); assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3})).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
final int index = indexOf(array, obj); if (index < 0) { return array; } @SuppressWarnings("unchecked") final T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), array.length - 1); if (index > 0) { System.arraycopy(array, 0, newArray, 0, index); } if (index < array.length - 1) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 42.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
src/main/webapp/js/admin/popper.min.js
(function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function j(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t){var o=e.offsets,n=o.popper,i=o.reference,r=$,p=function(e){return e},s=r(i.width),d=r(n.width),a=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),f=t?a||l||s%2==d%2?r:Z:p,m=t?r:p;return{left:f(1==s%2&&1==d%2&&!l&&t?n....
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 20.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.indexOf(EMPTY, EMPTY)).isEqualTo(0); assertThat(Floats.indexOf(ARRAY234, EMPTY)).isEqualTo(0); assertThat(Floats.indexOf(EMPTY, ARRAY234)).isEqualTo(-1); assertThat(Floats.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1); assertThat(Floats.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1); assertThat(Floats.indexOf(ARRAY1, ARRAY1)).isEqualTo(0); assertThat(Floats.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0)