- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 3,054 for throws (0.04 sec)
-
src/main/java/jcifs/smb/Kerb5Context.java
/** * {@inheritDoc} * * @throws CIFSException * * @see jcifs.smb.SSPContext#calculateMIC(byte[]) */ @Override public byte[] calculateMIC(byte[] data) throws CIFSException { try { return this.gssContext.getMIC(data, 0, data.length, new MessageProp(false)); } catch (GSSException e) { throw new CIFSException("Failed to calculate MIC", e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertDoesNotThrow(() -> cache.resolveSids(handle, policy, sids)); } @Test @DisplayName("resolveSids(DcerpcHandle,...) throws SmbException on unexpected retval") void resolveSids_throwsOnUnexpectedRetval() throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
.setBody(response.toString()); } private MockResponse fileToResponse(String path, File file) throws IOException { return new MockResponse() .setStatus("HTTP/1.1 200") .setBody(fileToBytes(file)) .addHeader("content-type: " + contentType(path)); } private Buffer fileToBytes(File file) throws IOException { Buffer result = new Buffer(); result.writeAll(Okio.source(file)); return result;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
import org.codelibs.core.beans.ParameterizedClassDesc; import org.junit.Test; /** * @author koichik */ public class ParameterizedClassDescFactoryTest { /** * @throws Exception */ @Test public void testFieldType() throws Exception { final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class); final Field field = Hoge.class.getField("foo");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
*/ public class ClassTraversalTest { private static int count = 0; /** * @throws Exception */ @Before public void setUp() throws Exception { count = 0; } /** * @throws Exception */ @Test public void testForEachJarFile() throws Exception { final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code * stream.collect(MoreCollectors.onlyElement())}. * * @throws NoSuchElementException if the iterable is empty * @throws IllegalArgumentException if the iterable contains multiple elements */ @ParametricNullness public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
@Override protected void setUp() throws Exception { file1 = File.createTempFile("kuromoji_", ".txt"); FileUtil.write( file1.getAbsolutePath(), "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3" .getBytes(Constants.UTF_8)); } @Override protected void tearDown() throws Exception { file1.delete(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
assertNotNull(result); assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result"); } @Test @DisplayName("Should perform RC4 encryption/decryption") void testRC4() throws Exception { // Given byte[] key = "testkey123456789".getBytes(); // 16 bytes byte[] plaintext = "This is a test message for RC4".getBytes(); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
import org.codelibs.fess.suggest.request.suggest.SuggestResponse; import org.junit.Test; public class DeferredTest { @Test public void test_doneBeforeResolve() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> { try { Thread.sleep(1000);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 37.2K bytes - Viewed (0)