- Sort Score
- Result 10 results
- Languages All
Results 2111 - 2120 of 3,588 for finally (0.16 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
import okhttp3.Headers; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import okhttp3.tls.Certificates; import okhttp3.tls.HandshakeCertificates; public final class CustomTrust { // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view // https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren'tRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 9.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
return null; // no edges - nothing to worry about } final TreeSet<MetadataGraphVertex> vertices = graph.getVertices(); try { // edge case - single vertex graph if (vertices.size() == 1) { return new MetadataGraph(entry); } final ArtifactScopeEnum requestedScope = ArtifactScopeEnum.checkScope(scope);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
* @author ******@****.*** (Geoff Pike) */ final class Fingerprint2011 extends AbstractNonStreamingHashFunction { static final HashFunction FINGERPRINT_2011 = new Fingerprint2011(); // Some primes between 2^63 and 2^64 for various uses. private static final long K0 = 0xa5b85c5e198ed849L; private static final long K1 = 0x8d58ac26afe12e47L; private static final long K2 = 0xc47b6e9e3a970ed3L;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
/** * Check whether a hostname is actually an ip address * * @param hostname the hostname to check * @return whether this is an IP address */ public static boolean isDotQuadIP(final String hostname) { if (Character.isDigit(hostname.charAt(0))) { int i, len, dots; char[] data; i = dots = 0; /* quick IP address validation */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/UsingToStringOrdering.java
import java.io.Serializable; /** An ordering that uses the natural order of the string representation of the values. */ @GwtCompatible final class UsingToStringOrdering extends Ordering<Object> implements Serializable { static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering(); @Override public int compare(Object left, Object right) { return left.toString().compareTo(right.toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
* */ public class DateConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java
*/ public class TimeConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final TimeConverter converter = new TimeConverter("HH:mm:ss"); final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56"); System.out.println(result); assertThat(converter.getAsString(result), is("12:34:56")); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java
/** * @throws Exception */ @Hoge(bbb = "3") @Test public void testGetProperties() throws Exception { final Method m = ClassUtil.getMethod(getClass(), "testGetProperties"); final Annotation anno = m.getAnnotation(Hoge.class); final Map<String, Object> props = AnnotationUtil.getProperties(anno); assertThat((String) props.get("aaa"), is("123"));Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
try { MessageDigestUtil.digest(null, text); assertTrue(false); } catch (final EmptyArgumentException e) { assertTrue(true); } try { MessageDigestUtil.digest("HOGE", text); assertTrue(false); } catch (final NoSuchAlgorithmRuntimeException e) { assertTrue(true); } }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
} private static final class Sha1Holder { static final HashFunction SHA_1 = new MessageDigestHashFunction("SHA-1", "Hashing.sha1()"); } /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */ public static HashFunction sha256() { return Sha256Holder.SHA_256; } private static final class Sha256Holder { static final HashFunction SHA_256 =Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0)