- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 347 for high (0.14 sec)
-
guava-tests/test/com/google/common/base/Utf8Test.java
testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0); testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6); testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0); testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6); testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String test = "abc" + Character.MIN_HIGH_SURROGATE; try { escapeAsString(NOP_ESCAPER, test); fail("Trailing high surrogate should cause exception"); } catch (IllegalArgumentException expected) { // Pass } try { escapeAsString(SIMPLE_ESCAPER, test); fail("Trailing high surrogate should cause exception");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
} private fun ByteArray.binarySearch( labels: Array<ByteArray>, labelIndex: Int, ): String? { var low = 0 var high = size var match: String? = null while (low < high) { var mid = (low + high) / 2 // Search for a '\n' that marks the start of a value. Don't go back past the start of the // array.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
position: Int, limit: Int, compare: (Int) -> Int, ): Int { // Do the binary searching bit. var low = position var high = limit - 1 while (low <= high) { val mid = (low + high) / 2 val compareResult = compare(mid) when { compareResult < 0 -> high = mid - 1 compareResult > 0 -> low = mid + 1 else -> return mid // Match! } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 11:39:58 GMT 2024 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0); testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6); testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0); testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6); testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
Comparable low = c[i - 1]; for (int j = i; j < versions.length; j++) { Comparable high = c[j]; assertTrue(low.compareTo(high) < 0, "expected " + low + " < " + high); assertTrue(high.compareTo(low) > 0, "expected " + high + " > " + low); } } } private void checkVersionsEqual(String v1, String v2) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Jan 09 06:39:47 GMT 2024 - 14K bytes - Viewed (0) -
src/cmd/asm/internal/asm/expr_test.go
{"3/0", "division by zero"}, {"(1<<63)/0", "divide of value with high bit set"}, {"3%0", "modulo by zero"}, {"(1<<63)%0", "modulo of value with high bit set"}, {"3<<-4", "negative left shift count"}, {"3<<(1<<63)", "negative left shift count"}, {"3>>-4", "negative right shift count"}, {"3>>(1<<63)", "negative right shift count"}, {"(1<<63)>>2", "right shift of value with high bit set"}, {"(1<<62)>>2", ""},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
} static char randomHighSurrogate(Random random) { return (char) (Character.MIN_HIGH_SURROGATE + random.nextInt(Character.MAX_HIGH_SURROGATE - Character.MIN_HIGH_SURROGATE + 1)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String test = "abc" + Character.MIN_HIGH_SURROGATE; try { escapeAsString(NOP_ESCAPER, test); fail("Trailing high surrogate should cause exception"); } catch (IllegalArgumentException expected) { // Pass } try { escapeAsString(SIMPLE_ESCAPER, test); fail("Trailing high surrogate should cause exception");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0); // both with high bit set assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0); assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0); // one with high bit set assertThat(UnsignedLongs.compare(0x5a4316b8c153ac4dL, 0xff1a618b7f65ea12L)).isLessThan(0);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:36:17 GMT 2024 - 13.2K bytes - Viewed (0)