- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,098 for Try (0.01 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { return read(in, isStrict(options), getSource(options)); } } @Override public Model read(InputStream input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (XmlStreamReader in = ReaderFactory.newXmlReader(input)) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/MacHashFunction.java
public int bits() { return bits; } private static boolean supportsClone(Mac mac) { try { Object unused = mac.clone(); return true; } catch (CloneNotSupportedException e) { return false; } } private static Mac getMac(String algorithmName, Key key) { try { Mac mac = Mac.getInstance(algorithmName); mac.init(key); return mac;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
final byte[] p21 = new byte[21]; final byte[] p24 = new byte[24]; byte[] passwordBytes; try { passwordBytes = password.toUpperCase().getBytes(SmbConstants.OEM_ENCODING); } catch (final UnsupportedEncodingException uee) { throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee); } int passwordLength = passwordBytes.length;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
* only. Natrually the <code>jcifs.smb1.netbios.nameserver</code> property must * be set. */ public static final int P_NODE = 1; /** * Try Broadcast queries first, then try to resolve the name using the * nameserver. */ public static final int M_NODE = 2; /** * A Hybrid node tries to resolve a name using the nameserver first. If
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
if (httpStatusCode < 400 || httpStatusCode == 401) { parseTokenPage(tokenPattern, responseParams, entity); } else { String content; try { content = new String(InputStreamUtil.getBytes(entity.getContent()), Constants.UTF_8_CHARSET); } catch (final IOException e) { content = e.getMessage();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
src/main/java/jcifs/util/ResourceManager.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
// Validate projectId before attempting connection if (StringUtil.isBlank(projectId)) { throw new IOException("GCS_PROJECT_ID is blank."); } try { final StorageOptions.Builder builder = StorageOptions.newBuilder().setProjectId(projectId); if (StringUtil.isNotBlank(endpoint)) { // For fake-gcs-server or custom endpointRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
// Validate endpoint before attempting connection if (StringUtil.isBlank(endpoint)) { throw new IOException("S3_ENDPOINT is blank."); } try { final software.amazon.awssdk.services.s3.S3ClientBuilder builder = S3Client.builder().endpointOverride(URI.create(endpoint)).region(Region.of(region)).forcePathStyle(true);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
} @Test @DisplayName("Test circuit opens after failure threshold") void testCircuitOpensAfterThreshold() { // Fail 3 times to open the circuit for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); }); } catch (Exception e) { // Expected } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* only. Natrually the <code>jcifs.netbios.nameserver</code> property must * be set. */ public static final int P_NODE = 1; /** * Try Broadcast queries first, then try to resolve the name using the * nameserver. */ public static final int M_NODE = 2; /** * A Hybrid node tries to resolve a name using the nameserver first. If
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0)