- Sort Score
- Num 10 results
- Language All
Results 1071 - 1080 of 3,282 for throwIt (0.07 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
void testReadOperationsWithNullBuffer() { // Read operations return 0 when given null buffer - no exceptions thrown assertEquals(0, response.readSetupWireFormat(null, 0, 0)); assertEquals(0, response.readParametersWireFormat(null, 0, 0)); // readDataWireFormat will throw when accessing null buffer assertThrows(NullPointerException.class, () -> {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
throws IOException { testStreamingEncodes(encoding, decoded, encoded); testStreamingDecodes(encoding, encoded, decoded); } @GwtIncompatible // Writer private static void testStreamingEncodes(BaseEncoding encoding, String decoded, String encoded) throws IOException { StringWriter writer = new StringWriter();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java
return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { if (len > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Payload exceeds buffer size"); } System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len); return len;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
/** * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer * identical functionality but do not throw {@link IOException}. * * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the * array. If any method encounters the end of the array prematurely, it throws {@link * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violationCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 20:25:25 GMT 2024 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
} static final class StringField extends CacheField { StringField(Field field) { super(field); } @Override void doInterpolate(Object target, InterpolateObjectAction ctx) throws IllegalAccessException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RangeMap.java
* for {@code asMapOfRanges().iterator().remove()}. * * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}. */ // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it. RangeMap<K, V> subRangeMap(Range<K> range); /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
return true; // not a package-info.java file, we ignore it } } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e, true); } } private String getPackageName(File file) throws IOException { try (Stream<String> lines = Files.lines(file.toPath())) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 02 14:18:24 GMT 2025 - 10.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
return copy(writeTimeoutMillis = checkDuration("writeTimeout", timeout.toLong(), unit)) } override fun call(): Call = call override fun request(): Request = request @Throws(IOException::class) override fun proceed(request: Request): Response { check(index < interceptors.size) calls++ if (exchange != null) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
@Override public void persistResumptionData(MavenProject rootProject, BuildResumptionData buildResumptionData) throws BuildResumptionPersistenceException { Properties properties = convertToProperties(buildResumptionData); Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 4.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
* Object#toString}. */ NON_STANDARD_TOSTRING, /** * Indicates that the constructor or factory method of a collection, usually an immutable set, * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of * collapsing them to a single element or including duplicate instances in the collection. */ REJECTS_DUPLICATES_AT_CREATION,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 4.1K bytes - Click Count (0)