- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 329 for pulling (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
parts.nextPart()!! val partMno = parts.nextPart()!! assertThat(partMno.body.readUtf8()).isEqualTo("mnop") assertThat(parts.nextPart()).isNull() } @Test fun `cannot read part after calling nextPart`() { val multipart = """ |--simple boundary | |abcd |efgh |ijkl |--simple boundary | |mnop |--simple boundary--Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /* * We assign these to variables before calling checkNotNull to work around a bug in our * nullness checker. */ K key = keyFunction.apply(t); V newValue = valueFunction.apply(t); accum.put(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
* Null pointer scenario – calls on a null reference should raise * {@link NullPointerException}. This test is defensive; in real code it * would likely be handled elsewhere. */ @Test @DisplayName("calling getters on null reference throws NPE") void testNullReference() { AllocInfo nullRef = null; assertThrows(NullPointerException.class, () -> nullRef.getCapacity());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
int j = findNextJ(); if (j == -1) { nextPermutation = null; return; } /* * requireNonNull is safe because we don't clear nextPermutation until we're done calling this * method. */ requireNonNull(nextPermutation); int l = findNextL(j); Collections.swap(nextPermutation, j, l); int n = nextPermutation.size();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* RuntimeException}, {@link Error}, or {@code declaredType}. * * <p><b>Discouraged</b> in favor of calling {@link #throwIfInstanceOf} and {@link * #throwIfUnchecked}. * * @param throwable the Throwable to possibly propagate * @param declaredType the single checked exception type declared by the calling method * @deprecated Use a combination of {@link #throwIfInstanceOf} and {@link #throwIfUnchecked},Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/MessageDigestHashFunction.java
@Override protected void update(ByteBuffer bytes) { checkNotDone(); digest.update(bytes); } private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return (bytes == digest.getDigestLength())Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Mockito.verify(mock, Mockito.times(1)).getLastAccessTime(); Mockito.verify(mock, Mockito.times(1)).getSize(); Mockito.verifyNoMoreInteractions(mock); } // --- Invalid/null usage: calling a method on null should throw NPE --- @Test void nullReference_throwsNullPointerException() { // Arrange SmbBasicFileInfo info = null;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Enums.java
} /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing * user input or falling back to a default enum constant. For example, {@code * Enums.getIfPresent(Country.class, countryInput).or(Country.DEFAULT);} * * @since 12.0 */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
assertFalse( "multiset.entrySet() contains a non-entry", getMultiset().entrySet().contains(e0())); } public void testEntrySet_twice() { assertEquals( "calling multiset.entrySet() twice returned unequal sets", getMultiset().entrySet(), getMultiset().entrySet()); } @CollectionSize.Require(ZERO) public void testEntrySet_hashCode_size0() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
assertFalse( "multiset.entrySet() contains a non-entry", getMultiset().entrySet().contains(e0())); } public void testEntrySet_twice() { assertEquals( "calling multiset.entrySet() twice returned unequal sets", getMultiset().entrySet(), getMultiset().entrySet()); } @CollectionSize.Require(ZERO) public void testEntrySet_hashCode_size0() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0)