- Sort Score
- Result 10 results
- Languages All
Results 1751 - 1760 of 2,976 for throw (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
final String string; public HashHostileComparable(String string) { this.string = string; } @Override public int hashCode() { throw new UnsupportedOperationException(); } @Override public int compareTo(HashHostileComparable o) { return string.compareTo(o.string); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
Arrays.fill(shortFileId, (byte) 0xAB); request.setFileId(shortFileId); byte[] buffer = new byte[256]; // Should handle gracefully or throw appropriate exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
assertThat(set.size()).isAtMost(max); } /** * A {@link Set} that throws {@link NullPointerException} and {@link ClassCastException} from * {@link #contains}. */ private static final class SetContainsThrows extends AbstractSet<Void> { @Override public boolean contains(@Nullable Object o) { throw o == null ? new NullPointerException() : new ClassCastException(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
Arrays.fill(shortFileId, (byte) 0xAB); request.setFileId(shortFileId); byte[] buffer = new byte[256]; // Should handle gracefully or throw appropriate exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0)); } @Test @DisplayName("Should handle all parameters at maximum")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js
m.shouldChangeDisplay=d.addValidClassOnAll,m;var n=b.valAttr("ignore");return n&&a.each(n.split(""),function(a,b){g=g.replace(new RegExp("\\"+b,"g"),"")}),a.split(j,function(h){0!==h.indexOf("validate_")&&(h="validate_"+h);var i=a.formUtils.validators[h];if(!i)throw new Error('Using undefined validator "'+h+'". Maybe you have forgotten to load the module that "'+h+'" belongs to?');if("validate_checkbox_group"===h&&(b=e.find('[name="'+b.attr("name")+'"]:eq(0)')),("keyup"!==f||i.validateOnKeyUp)&&(k=i.validator...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 32.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
final String string; public HashHostileComparable(String string) { this.string = string; } @Override public int hashCode() { throw new UnsupportedOperationException(); } @Override public int compareTo(HashHostileComparable o) { return string.compareTo(o.string); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
// Reject NaN by testing for the good case (min <= max) instead of the bad (min > max). if (min <= max) { return Math.min(Math.max(value, min), max); } throw new IllegalArgumentException( lenientFormat("min (%s) must be less than or equal to max (%s)", min, max)); } /** * Returns the values from each provided array combined into a single array. For example, {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
private static final CharMatcher WHATEVER = new CharMatcher() { @Override public boolean matches(char c) { throw new AssertionFailedError("You weren't supposed to actually invoke me!"); } }; public void testAnyAndNone_logicalOps() throws Exception { // These are testing behavior that's never promised by the API, but sinceRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
* * @throws CIFSException if there is an error during initialization */ protected void initDefaults() throws CIFSException { try { "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING); } catch (final UnsupportedEncodingException uee) { throw new CIFSException(Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* removed * @return this {@code CacheBuilder} instance (for chaining) * @throws IllegalArgumentException if {@code duration} is negative * @throws IllegalStateException if {@link #expireAfterWrite} was already set * @throws ArithmeticException for durations greater than +/- approximately 292 years * @since 33.3.0 (but since 25.0 in the JRE <aRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0)