- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,967 for throws (0.11 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
/** Throws an undeclared checked exception. */ private static void sneakyThrow(Throwable t) { class SneakyThrower<T extends Throwable> { @SuppressWarnings("unchecked") // intentionally unsafe for test void throwIt(Throwable t) throws T { throw (T) t; } } new SneakyThrower<Error>().throwIt(t); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 46.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testCopyTo_appendable() throws IOException { StringBuilder builder = new StringBuilder(); assertEquals(STRING.length(), source.copyTo(builder)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertEquals(STRING, builder.toString()); } public void testCopyTo_charSink() throws IOException { TestCharSink sink = new TestCharSink();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.5K bytes - Viewed (0) -
src/mdo/reader.vm
/** * * @param reader a reader object. * @param strict a strict object. * @throws IOException IOException if any. * @throws XMLStreamException XMLStreamException if * any. * @return ${root.name} */ public ${root.name} read(Reader reader, boolean strict) throws IOException, XMLStreamException { XMLInputFactory factory = new com.ctc.wstx.stax.WstxInputFactory();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Dec 15 06:33:11 UTC 2023 - 42.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
/** * Ensures that the file descriptor is openend * * @throws CIFSException */ public void open () throws CIFSException { try ( SmbFileHandleImpl fh = ensureOpen() ) {} } /** * Closes this output stream and releases any system resources associated * with it. * * @throws IOException * if a network error occurs */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
return ticket; } /** * @param principal * @return * @throws RealmException */ protected static PrincipalName convertPrincipal ( KerberosPrincipal principal ) throws RealmException { PrincipalName principalName = new PrincipalName( principal.getName() + PrincipalName.NAME_REALM_SEPARATOR + principal.getRealm(),
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 11.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java
outstr.writeLong(index.rootPos.getPos()); outstr.writeShort(maxChildIndexEntries); } public IndexBlock getRoot() throws Exception { return index.getRoot(); } } private class IndexBlock extends BlockPayload { private final List<IndexEntry> entries = new ArrayList<IndexEntry>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 26.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java
*/ public abstract byte getSerializerIndex(); protected abstract void serialize(Encoder encoder, T value) throws Exception; protected abstract T deserialize(Decoder decoder) throws Exception; @Override public final void write(Encoder encoder, T value) throws Exception { encoder.writeByte(getSerializerIndex()); serialize(encoder, value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
this.handle = handle; } @Override public void encode_in ( NdrBuffer _dst ) throws NdrException { this.handle.encode(_dst); } @Override public void decode_out ( NdrBuffer _src ) throws NdrException { this.retval = _src.dec_ndr_long(); } } public static class SamrConnect2 extends DcerpcMessage {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:40:13 UTC 2019 - 15.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
}; } @Override protected void run() throws Exception {} } public void testStopWhileStarting_runNotCalled() throws Exception { final CountDownLatch started = new CountDownLatch(1); FakeService service = new FakeService() { @Override protected void startUp() throws Exception { super.startUp(); started.await();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
* @param key * @param cipher * @return * @throws GeneralSecurityException * @throws InvalidKeyException * @throws InvalidAlgorithmParameterException * @throws IllegalBlockSizeException * @throws BadPaddingException */ private static byte[] decryptDES ( byte[] data, Key key, Cipher cipher )
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0)