- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,922 for Try (0.03 sec)
-
src/test/java/jcifs/tests/PipeTest.java
return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31"); } @Test public void testSRVS () throws DcerpcException, IOException { try ( DcerpcHandle handle = DcerpcHandle .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) { MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
// This class can make no hard guarantees. The methods in this class are inherently flaky, but // we try hard to make them robust in practice. We could additionally try to add in a system // load timeout multiplier. Or we could try to use a CPU time bound instead of wall clock time // bound. But these ideas are harder to implement. We do not try to detect or handle a // user-specified -XX:+DisableExplicitGC. //
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
val builder = OkHttpClient.Builder() try { builder.callTimeout(Duration.ofNanos(1)) } catch (ignored: IllegalArgumentException) { } try { builder.connectTimeout(Duration.ofNanos(1)) } catch (ignored: IllegalArgumentException) { } try { builder.writeTimeout(Duration.ofNanos(1)) } catch (ignored: IllegalArgumentException) { } try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
*/ public static ByteBuffer map(final FileChannel channel, final MapMode mode) { assertArgumentNotNull("channel", channel); assertArgumentNotNull("mode", mode); try { return channel.map(mode, 0, channel.size()); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * ファイルのサイズを返します。 *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java
* @throws XmlPullParserException XmlPullParserException if * any. */ public Metadata read(Reader reader, boolean strict) throws IOException, XmlPullParserException { try { return new Metadata(delegate.read(reader, strict)); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* ファイル。{@literal null}であってはいけません * @return この抽象パス名と同じファイルまたはディレクトリを示す正規パス名文字列 */ public static String getCanonicalPath(final File file) { assertArgumentNotNull("file", file); try { return file.getCanonicalPath(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * この抽象パス名を<code>file:</code> URLに変換します。 *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
return; try { transport.wait(); } catch (InterruptedException ie) { throw new SmbException(ie.getMessage(), ie); } } connectionState = 1; // trying ... try { transport.connect(); /*
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 18.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
if (disabled) { return null; } ClassLoader systemLoader; try { systemLoader = ClassLoader.getSystemClassLoader(); } catch (SecurityException e) { logger.info("Not allowed to access system class loader."); return null; } if (systemLoader != null) { try { return systemLoader.loadClass(FINALIZER_CLASS_NAME);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 11 20:51:36 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
try { getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
final int pos = path.lastIndexOf("/"); final String baseDirectory = path.substring(0, pos); ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> { try { if (count < 10) { System.out.println(path1); } assertThat(path1, is(notNullValue())); assertThat(is, is(notNullValue()));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0)