- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,922 for try (0.03 sec)
-
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
Facade<Integer> facade = list.get(i); try { facade.get(); r++; } catch (CancellationException e) { r += 2; } } return r; } @Benchmark public long timeGetWith0Timeout(long reps) throws Exception { Facade<?> f = notDoneFuture; long r = 0; for (int i = 0; i < reps; i++) { try { f.get(0, SECONDS); r += 1;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* URL。{@literal null}であってはいけません * @return URLが表すリソースを読み込むための{@link InputStream} */ public static InputStream openStream(final URL url) { assertArgumentNotNull("url", url); try { final URLConnection connection = url.openConnection(); connection.setUseCaches(false); return connection.getInputStream(); } catch (final IOException e) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java
String slf4jBinding = loggerFactory.getClass().getCanonicalName(); try { Enumeration<URL> resources = Slf4jConfigurationFactory.class.getClassLoader().getResources(RESOURCE); while (resources.hasMoreElements()) { URL resource = resources.nextElement(); try { InputStream is = resource.openStream();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
return logger; } @Override protected void storeData(final ResponseData responseData, final ResultData resultData) { final DOMParser parser = getDomParser(); try (final BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) { final byte[] bomBytes = new byte[UTF8_BOM_SIZE]; bis.mark(UTF8_BOM_SIZE);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
/* * Negotiate Protocol Request / Response */ SmbComNegotiateResponse resp = new SmbComNegotiateResponse( server ); try { negotiate( port, resp ); } catch( ConnectException ce ) { // Try an alternate port if there was an issue communicating to the server // Only set the alternate port to the port property if it was successful
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
create.chain(query); Smb2CreateResponse createResp; try { createResp = th.send(create); } catch ( SmbException e ) { Smb2CreateResponse cr = create.getResponse(); if ( cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_OK ) { try { th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 16:15:08 UTC 2020 - 5.7K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
* @throws XmlPullParserException XmlPullParserException if * any. * @return Settings */ public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException { try { return new Settings(delegate.read(reader, strict, null)); } 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.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java
PersistedToolchains pt = new PersistedToolchains(); merger.merge(pt, null, null); merger.merge(null, pt, null); } @Test void testMergeJdk() throws Exception { try (InputStream isDominant = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml"); InputStream isRecessive = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml")) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
if ("system.properties".equals(id)) { return asStream(id).contentTypeOctetStream().stream(out -> { try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { ComponentUtil.getSystemProperties().store(baos, id); try (final InputStream in = new ByteArrayInputStream(baos.toByteArray())) { out.write(in); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 6.1K bytes - Viewed (0) -
disabled-Jenkinsfile
def runITsOses = ['linux'] def runITsJdks = ['17', '21'] def runITsMvn = '3.8.x' def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true def tests try { def osNode = jenkinsEnv.labelForOS(buildOs) node(jenkinsEnv.nodeSelection(osNode)) { dir('build') { stage('Checkout') { checkout scm } def WORK_DIR=pwd()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Sep 30 14:11:55 UTC 2024 - 8.4K bytes - Viewed (0)