- Sort Score
- Num 10 results
- Language All
Results 2201 - 2210 of 3,670 for throwIf (0.05 seconds)
-
src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java
*/ public NdrSmall(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_small(value); } @Override public void decode(final NdrBuffer src) throws NdrException { value = src.dec_ndr_small(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/InteractiveGoalSupport.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 11 09:13:06 GMT 2024 - 2.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
/** * Returns the number of bytes that will be written to sink in a call to [writeTo], * or -1 if that count is unknown. */ @Throws(IOException::class) open fun contentLength(): Long = -1L /** Writes the content of this request to [sink]. */ @Throws(IOException::class) abstract fun writeTo(sink: BufferedSink) /** * A duplex request body is special in how it is **transmitted** on the network and
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java
} // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process@executionId public MojoDescriptor getMojoDescriptor(String task, MavenSession session, MavenProject project) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 11.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
* * @author Kurt Alfred Kluever */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class HttpHeadersTest extends TestCase { public void testConstantNameMatchesString() throws Exception { // Special case some of the weird HTTP Header names... ImmutableBiMap<String, String> specialCases = ImmutableBiMap.<String, String>builder() .put("CDN_LOOP", "CDN-Loop")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Then assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully"); } @Test @DisplayName("Should set ptype field to 0") void shouldSetPtypeToZero() throws NoSuchFieldException, IllegalAccessException { // When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemoveAll_unsupportedEmptyCollection() { try { assertFalse( "removeAll(emptyCollection) should return false or throw " + "UnsupportedOperationException", collection.removeAll(MinimalCollection.of())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.7K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
/** * Returns the value of a specific attribute. * * @param name the name of the attribute to retrieve * @return the attribute value, or {@code null} if the attribute doesn't exist * @throws NullPointerException if name is null */ @Nullable String attribute(@Nonnull String name); /** * Returns an immutable list of all child nodes. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 15:20:44 GMT 2025 - 18.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/MIEName.java
MIEName(final byte[] buf) { int i; int len; if (buf.length < TOK_ID_SIZE + MECH_OID_LEN_SIZE) { throw new IllegalArgumentException(); } // TOK_ID for (i = 0; i < TOK_ID.length; i++) { if (TOK_ID[i] != buf[i]) { throw new IllegalArgumentException(); } } // MECH_OID_LEN len = 0xff00 & buf[i] << 8; i++;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
@Test void testEncodeSourceOffsetBeyondLength() { // Test with source offset + length exceeding source array bounds byte[] data = { 0x01, 0x02 }; // This constructor call itself should not throw an error, as it's just storing the values. // The error should occur when System.arraycopy is called. ByteEncodable encodable = new ByteEncodable(data, 1, 2); // off=1, len=2, data.length=2. 1+2 > 2Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0)