- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 2,652 for throw (0.03 sec)
-
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
this.hashFn = hashFn; } public MessageDigest getMessageDigest() { try { return MessageDigest.getInstance(algorithmName); } catch (NoSuchAlgorithmException e) { throw new AssertionError(e); } } public HashFunction getHashFunction() { return hashFn; } } // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
switch ( il ) { case FileSystemInformation.SMB_INFO_ALLOCATION: return 0x1; case FileSystemInformation.FS_SIZE_INFO: return 0x103; } throw new IllegalArgumentException("Unhandled information level"); } @Override protected int writeDataWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
try { return doCleanArgs(args); } catch (RuntimeException e) { for (String a : args) { System.out.println("Arg: '" + a + "'"); } throw e; } } private static String[] doCleanArgs(String[] args) { List<String> cleaned = new ArrayList<>(); StringBuilder currentArg = null; for (String arg : args) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt
url = "https://api.github.com/markdown/raw".toHttpUrl(), body = file.asRequestBody(MEDIA_TYPE_MARKDOWN), ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapWithBadHashesMapInterfaceTest.java
@GwtCompatible public class ImmutableMapWithBadHashesMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<Object, Integer> { @Override protected Map<Object, Integer> makeEmptyMap() { throw new UnsupportedOperationException(); } @Override protected Map<Object, Integer> makePopulatedMap() { Colliders colliders = new Colliders(); return ImmutableMap.of( colliders.e0(), 0,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 09 02:18:08 UTC 2022 - 1.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ProjectBuilder} service. * * @since 4.0.0 */ @Experimental public class ProjectBuilderException extends MavenException { @Serial
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PrompterException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link Prompter} service. * * @since 4.0.0 */ @Experimental public class PrompterException extends MavenException { @Serial private static final long serialVersionUID = -3505070928479515081L;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManagerException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ToolchainManager}. * * @since 4.0.0 */ @Experimental public class ToolchainManagerException extends MavenException { @Serial
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
Throwable cause = e.getCause(); if (policy.isExpectedType(cause)) { return; } throw new AssertionError( String.format( "wrong exception thrown from %s when passing null to %s parameter at index %s.%n" + "Full parameters: %s%n" + "Actual exception message: %s", invokable,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
*/ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int start = bufferIndex; int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if ( structureSize != 9 ) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0)