- Sort Score
- Num 10 results
- Language All
Results 3051 - 3060 of 3,282 for throwIt (0.15 seconds)
-
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
!equivalence.equivalent(itemInfo.value, unrelatedInfo.value)); } private void assertWithTemplate(String template, Item<T> item, Item<T> other, boolean condition) { if (!condition) { throw new AssertionFailedError( template .replace("$RELATIONSHIP", relationshipName) .replace("$HASH", hashName) .replace("$ITEM", itemReporter.reportItem(item))
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
assertThat(formEncode(126)).isEqualTo("%7E") assertThat(formEncode(127)).isEqualTo("%7F") assertThat(formEncode(128)).isEqualTo("%C2%80") assertThat(formEncode(255)).isEqualTo("%C3%BF") } @Throws(IOException::class) private fun formEncode(codePoint: Int): String { // Wrap the codepoint with regular printable characters to prevent trimming. val body = FormBody .Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.9K bytes - Click Count (0) -
maven-tests/mvnw
{ return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() ); } public static void main( String[] args ) throws Exception { setDefault( new Downloader() ); java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() ); } } ENDCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 10.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
.addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .testEquals(); } } public void testGet_null() throws ExecutionException { for (LoadingCache<Object, Object> cache : caches()) { assertThrows(NullPointerException.class, () -> cache.get(null)); checkEmpty(cache); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
.addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .testEquals(); } } public void testGet_null() throws ExecutionException { for (LoadingCache<Object, Object> cache : caches()) { assertThrows(NullPointerException.class, () -> cache.get(null)); checkEmpty(cache); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
// Act long actual = getter.apply(e); // Assert assertEquals(value, actual, label); } @Test @DisplayName("Calling a method on null reference throws NPE") void nullReference_throwsNPE() { // Arrange FileEntry e = null; // Act & Assert: demonstrate invalid usage results in NPECreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
* @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code * expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> createWithExpectedSize(int expectedSize) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebConfigBhv.java
return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } } protected <RESULT extends WebConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) { return result; }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/webapp/js/admin/jquery-3.7.1.min.js
t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponse...
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Oct 26 01:07:52 GMT 2024 - 85.5K bytes - Click Count (1)