- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,808 for try (0.01 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
// Fortunately we don't really need nativeFileSystem for anything. // However, we'll try to read it safely for compatibility if (this.byteCount > bufferIndex - start) { try { // Attempt to read nativeFileSystem, but don't fail if there are issues final int fsLen = this.byteCount - (bufferIndex - start);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
if (token.length <= 0) { throw new PACDecodingException("Empty kerberos ApReq"); } ASN1Sequence sequence; try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
MsrpcQueryInformationPolicy rpc; synchronized (this.sidCache) { try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + server + "[\\PIPE\\lsarpc]", tc)) { // NetApp doesn't like the 'generic' access mask values try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, null, 0x00000001)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
private static final String ID_FIELD = "_id"; public void test_default_1000docs_10size() throws Exception { String query = "*"; int allRecordCount = 1000; int pageSize = 10; try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) { rankFusionProcessor.setSeacher(new TestMainSearcher(allRecordCount)); rankFusionProcessor.init();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
expectUnchanged(); expectMissing(e3()); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "putIfAbsent(present, existingValue) should return present or throw", v0(), getMap().putIfAbsent(k0(), v0())); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
class ResourceLifecycleTest { @Test @DisplayName("Should support try-with-resources pattern") void shouldSupportTryWithResourcesPattern() { SmbSession mockSession = mock(SmbSession.class); assertDoesNotThrow(() -> { try (SmbSession session = mockSession) { // Resource usage simulation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
for (String testName : testNames) { try { testClass.getMethod(testName); return true; } catch (NoSuchMethodException e) { continue; } } return false; } private static boolean isEqualsDefined(Class<?> cls) { try { return !cls.getDeclaredMethod("equals", Object.class).isSynthetic();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
List<ArtifactRepository> pomRepositories = new ArrayList<>(); for (Repository modelRepository : model.getRepositories()) { try { pomRepositories.add(MavenRepositorySystem.buildArtifactRepository(modelRepository)); } catch (InvalidRepositoryException e) { // cannot use this then } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
} @Test public void testEncodingAfterParamThrowsException() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); request.param("key", "value"); try { request.encoding("ISO-8859-1"); fail("Expected CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("must be called before param method")); }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0)