- Sort Score
- Result 10 results
- Languages All
Results 1101 - 1110 of 2,742 for throws (0.07 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
import java.io.File; import java.io.FileOutputStream; import java.io.IOException; public class XslTransformer { public static void main(String[] args) throws TransformerException, IOException { if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
for (int i = 0; i < reps; ++i) { if (javaImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void longEqualUnsafe(int reps) { for (int i = 0; i < reps; ++i) { if (unsafeImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void diffLastJava(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
@GwtCompatible public enum MapFeature implements Feature<Map> { /** * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)}, * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}. */ ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt
// nowrap (omits zlib header): true, ) private val inflaterSource = InflaterSource(deflatedBytes, inflater) /** Inflates [buffer] in place as described in RFC 7692 section 7.2.2. */ @Throws(IOException::class) fun inflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { inflater.reset() } deflatedBytes.writeAll(buffer)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSourceTransformer.java
* @param pomFile the pom file, cannot be null * @param context the context, cannot be null * @param model the model to transform * @throws TransformerException if the transformation fails */ void transform(Path pomFile, TransformerContext context, Model model) throws TransformerException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectPreconditions.java
if (key == null) { throw new NullPointerException("null key in entry: null=" + value); } else if (value == null) { throw new NullPointerException("null value in entry: " + key + "=null"); } } @CanIgnoreReturnValue static int checkNonnegative(int value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
* * A note on exception types: * * Android API level 10 throws ExceptionInInitializerError the first time and * ClassNotFoundException thereafter. * * Android API level 26 and JVM8 both let our Error propagate directly the first time and * throw NoClassDefFoundError thereafter. This is the proper behavior according to the spec.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java
} } public DefaultEncryptInvoker(ProtoLookup protoLookup) { super(protoLookup); } @Override protected int execute(LocalContext context) throws Exception { return doExecute(context); } @Override protected LocalContext createContext(EncryptInvokerRequest invokerRequest) { return new LocalContext(this, invokerRequest); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt
class QueueDispatcher : Dispatcher() { internal val delegate = QueueDispatcher() @Throws(InterruptedException::class) override fun dispatch(request: RecordedRequest): MockResponse { throw UnsupportedOperationException("unexpected call") } override fun peek(): MockResponse { throw UnsupportedOperationException("unexpected call") } fun enqueueResponse(response: MockResponse) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Oct 18 12:55:43 UTC 2020 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
*/ @GwtCompatible public class CacheBuilderGwtTest extends TestCase { private FakeTicker fakeTicker; @Override protected void setUp() throws Exception { super.setUp(); fakeTicker = new FakeTicker(); } public void testLoader() throws ExecutionException { final Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); Callable<Integer> loader =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 14.4K bytes - Viewed (0)