- Sort Score
- Num 10 results
- Language All
Results 1791 - 1800 of 2,310 for rethrow (0.05 seconds)
-
guava-tests/test/com/google/common/base/EnumsTest.java
urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) { throw new AssertionError("malformed class path entry: " + entry, e); } } return urls.build(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] buffer = new byte[100]; // Should work with zero length int result = emptyBufferResponse.readDataWireFormat(buffer, 0, 0); assertEquals(0, result); // Should throw exception with non-zero length assertThrows(SMBProtocolDecodingException.class, () -> emptyBufferResponse.readDataWireFormat(buffer, 0, 1)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
largeElementSplitFunction: (T, Int) -> List<R>, smallElementAggregateFunction: (List<T>) -> R, expectedBucketNumber: Int, maxNumberInBucket: Int, noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") }, canRunTogether: (T, T) -> Boolean = { _, _ -> true }, ): List<R> { if (list.isEmpty()) { return noElementSplitFunction(expectedBucketNumber)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
private final ListenableFutureTask<Integer> task = ListenableFutureTask.create( () -> { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); } return 25; }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/CartesianList.java
try { for (int i = axes.size() - 1; i >= 0; i--) { axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size()); } } catch (ArithmeticException e) { throw new IllegalArgumentException( "Cartesian product too large; must have size at most Integer.MAX_VALUE"); } this.axesSizeProduct = axesSizeProduct; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
endpoint = new Object(); initialized = true; log.info("DiSNI RDMA provider initialized"); } catch (Exception e) { throw new IOException("Failed to initialize DiSNI", e); } } } @Override public String getProviderName() { return "DiSNI (InfiniBand/RoCE)"; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// Assert throwing/catching behavior with assertThrows SMBProtocolDecodingException thrown = assertThrows(SMBProtocolDecodingException.class, () -> { throw new SMBProtocolDecodingException(); }, "Should be throwable via assertThrows"); assertTrue(thrown instanceof CIFSException, "Thrown instance should also be CIFSException subtype"); } @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
bufferIndex += 2; final int numAces = ServerMessageBlock.readInt4(buffer, bufferIndex); bufferIndex += 4; if (numAces > 4096) { throw new IOException("Invalid SecurityDescriptor"); } aces = new ACE[numAces]; for (int i = 0; i < numAces; i++) { aces[i] = new ACE();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
final int start = bufferIndex; version = readInt2(buffer, bufferIndex); if (version != 3 && version != 1) { throw new RuntimeException("Version " + version + " referral not supported. Please report this to jcifs at samba dot org."); } bufferIndex += 2; size = readInt2(buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
*/ @VisibleForTesting transient @Nullable Object @Nullable [] values; /** * Keeps track of metadata like the number of hash table bits and modifications of this data * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note * that we choose not to make this volatile, so we do less of a "best effort" to track such * errors, for better performance. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0)