- Sort Score
- Num 10 results
- Language All
Results 1561 - 1570 of 2,371 for Try (0.07 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java
} /** * Returns true if any files with a .yml extension exist the test resources rest-api-spec/test directory (from source or output dir) */ private boolean projectHasYamlRestTests() { try { // check source folder for tests if (sourceResourceDir != null && new File(sourceResourceDir, REST_TEST_PREFIX).exists()) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
configuration.setProcessPlugins(true); configuration.setResolveDependencies(true); initRepoSession(configuration); try { return projectBuilder.build(pom, configuration).getProject(); } catch (Exception e) { Throwable cause = e.getCause();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 7.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcSetupExtension.java
if (bytes[i] == '\n') { delegate.write(indent); } } } } private static String readFromFile(File file) { try { return FileUtils.readFileToString(file).trim(); } catch (IOException ioException) { throw new GradleException("Cannot read java properties file.", ioException); } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 18 09:11:28 GMT 2021 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java
} public WebConfig getWebConfig() { if (webConfig == null) { final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class); try { webConfig = webConfigService.getWebConfig(getWebConfigId()).get(); } catch (final Exception e) { logger.warn("Web Config {} does not exist.", getWebConfigId(), e); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
/** * Test that NbtException can be caught as a CIFSException. */ @Test @DisplayName("NbtException should be catchable as CIFSException") void testCatchableAsCIFSException() { try { throw new NbtException(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR); } catch (CIFSException e) { assertTrue(e instanceof NbtException, "Caught exception should be an instance of NbtException");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// The validation logic is implemented and verified through code inspection // Complex SMB parsing conditions make precise testing challenging, but the security checks exist try { response.readBytesWireFormat(buffer, 0); // If no exception, it's because other validation conditions weren't met // The important point is that the validation logic exists in the codeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
cmd/callhome.go
return } if !runCallhome(ctx, objAPI) { // callhome was disabled or context was canceled return } // callhome running on a different node. // sleep for some time and try again. duration := max(time.Duration(r.Float64()*float64(globalCallhomeConfig.FrequencyDur())), // Make sure to sleep at least a second to avoid high CPU ticks. time.Second) time.Sleep(duration) } }() }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} } @SuppressWarnings("GoodTime") // timestamps as numeric primitives private V load(K key) throws ExecutionException { long startTime = ticker.read(); V calculatedValue; try { calculatedValue = checkNotNull(loader).load(key); // TODO(b/147136275): Perform the null check on the result before the put() call. put(key, calculatedValue); } catch (RuntimeException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0)