- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 1,782 for scratch (0.06 seconds)
-
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
InputSource source = InputSource.of(input.toString()); return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) { throw new ToolchainsParseException( e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getColumnNumber(),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
.readTimeout(500, TimeUnit.MILLISECONDS) .build(); try (Response response = client1.newCall(request).execute()) { System.out.println("Response 1 succeeded: " + response); } catch (IOException e) { System.out.println("Response 1 failed: " + e); } // Copy to customize OkHttp for this request. OkHttpClient client2 = client.newBuilder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
& expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0; try { assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode)); assertTrue(isInBounds); } catch (ArithmeticException e) { assertFalse(isInBounds); } } } } @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode) public void testRoundFractionalDoubleToInt() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
try { return MessageDigest.getInstance(algorithmName); } catch (NoSuchAlgorithmException e) { throw new AssertionError(e); } } @Override public Hasher newHasher() { if (supportsClone) { try { return new MessageDigestHasher((MessageDigest) prototype.clone(), bytes); } catch (CloneNotSupportedException e) { // falls through } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
* you may wish to override {@link #offer} to forward to this implementation. * * @since 7.0 */ protected boolean standardOffer(@ParametricNullness E e) { try { return add(e); } catch (IllegalStateException caught) { return false; } } /** * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
result = evaluator.evaluate(value); } } } failIfNotTypeCompatible(result, type, configuration); return result; } catch (final ExpressionEvaluationException e) { final String reason = String.format( "Cannot evaluate expression '%s' for configuration entry '%s'", value, configuration.getName());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Name.java
} dst[dstIndex + TYPE_OFFSET] = (byte) (((hexCode & 0xF0) >> 4) + 0x41); dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((hexCode & 0x0F) + 0x41); } catch (final UnsupportedEncodingException uee) {} return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET); } int readWireFormat(final byte[] src, final int srcIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
if (v4Factory == null) { return null; } return createV3FactoryBridgeForV4Factory(v4Factory); } catch (Exception e) { // If lookup fails, no v4 factory exists for this type return null; } } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 31 10:58:52 GMT 2025 - 11K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/LogNotificationAppender.java
if (!ComponentUtil.getFessConfig().isLogNotificationEnabled()) { return; } } catch (final Exception e) { return; } final LogNotificationHelper helper; try { helper = ComponentUtil.getLogNotificationHelper(); } catch (final Exception e) { return; } String throwableStr = null;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 6K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) { throw new PACDecodingException("Malformed kerberos ticket", e); } Enumeration<?> fields = sequence.getObjects(); while (fields.hasMoreElements()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0)