- Sort Score
- Result 10 results
- Languages All
Results 2461 - 2470 of 2,652 for throw (0.03 sec)
-
okhttp/src/main/kotlin/okhttp3/FormBody.kt
fun value(index: Int): String = encodedValue(index).percentDecode(plusIsSpace = true) override fun contentType(): MediaType = CONTENT_TYPE override fun contentLength(): Long = writeOrCountBytes(null, true) @Throws(IOException::class) override fun writeTo(sink: BufferedSink) { writeOrCountBytes(sink, false) } /** * Either writes this request to [sink] or measures its content length. We have one method
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InternetDomainName.java
* returns a new {@code InternetDomainName} with the value {@code www.bar.foo.com}. Only lenient * validation is performed, as described {@link #from(String) here}. * * @throws NullPointerException if leftParts is null * @throws IllegalArgumentException if the resulting name is not valid */ public InternetDomainName child(String leftParts) { return from(checkNotNull(leftParts) + "." + name); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
docs/bucket/versioning/README.md
import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; public class EnableVersioning { /** MinioClient.enableVersioning() example. */ public static void main(String[] args) throws IOException, NoSuchAlgorithmException, InvalidKeyException { try { /* play.min.io for test and development. */ MinioClient minioClient = MinioClient.builder()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 04 21:43:52 UTC 2023 - 11.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MediaType.kt
override fun equals(other: Any?): Boolean = commonEquals(other) override fun hashCode(): Int = commonHashCode() companion object { /** * Returns a media type for this string. * * @throws IllegalArgumentException if this is not a well-formed media type. */ @JvmStatic @JvmName("get") fun String.toMediaType(): MediaType = commonToMediaType()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
ms.add("a", 3); ms.add("c", 1); ms.add("b", 2); assertEquals("[a x 3, c, b x 2]", ms.toString()); } public void testLosesPlaceInLine() throws Exception { Multiset<String> ms = LinkedHashMultiset.create(); ms.add("a"); ms.add("b", 2); ms.add("c"); assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder(); ms.remove("b");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
/** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int start = bufferIndex; for ( int i = 0; i < this.unlocks.length; i++ ) { this.unlocks[ i ] = createLockRange();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicate.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
* under the License. */ package org.apache.maven.settings.building; /** * Describes a problem that was encountered during settings building. A problem can either be an exception that was * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file * that exhibits the problem. * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { int start = bufferIndex; this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.free = SMBUtil.readInt8(buffer, bufferIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
() -> new FileSource((File) null), "Should fail, since you must specify a file"); assertEquals("file cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); try (InputStream is = source.getInputStream();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0)