- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 262 for getInstance (0.09 sec)
-
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000); assertEquals(count, expiredCount); assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount()); task.cancel(); Thread.sleep(2000); assertEquals(0, TimeoutManager.getInstance().getTimeoutTaskCount()); assertNull(TimeoutManager.getInstance().thread); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertNull(map.getInstance(Integer.class)); assertNull(map.putInstance(int.class, 0)); assertNull(map.putInstance(Integer.class, 1)); assertEquals(2, map.size()); assertEquals(0, (int) map.getInstance(int.class)); assertEquals(1, (int) map.getInstance(Integer.class)); assertEquals(0, (int) map.putInstance(int.class, null));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
.put(int.class, 1) .build(); assertEquals(2, map.size()); assertEquals(0, (int) map.getInstance(Integer.class)); assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class))); assertEquals(1, (int) map.getInstance(int.class)); assertEquals(1, (int) map.getInstance(TypeToken.of(int.class))); } public void testParameterizedType() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
assertNull(map.get(Integer.class)); assertNull(map.getInstance(Integer.class)); map.put(Long.class, null); assertNull(map.get(Long.class)); assertNull(map.getInstance(Long.class)); } public void testPrimitiveAndWrapper() { assertNull(map.getInstance(int.class)); assertNull(map.getInstance(Integer.class)); assertNull(map.putInstance(int.class, 0));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4.8K bytes - Viewed (0) -
finisher_api.go
var rowsAffected int64 tx = db.getInstance() // the reflection length judgment of the optimized value reflectLen := reflectValue.Len() callFc := func(tx *DB) error { for i := 0; i < reflectLen; i += batchSize { ends := i + batchSize if ends > reflectLen { ends = reflectLen } subtx := tx.getInstance() subtx.Statement.Dest = reflectValue.Slice(i, ends).Interface()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 22.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate(in); KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); keyStore.load(null, null); keyStore.setCertificateEntry("server", certificate); TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* that may have been bound to a subtype. * * <p>{@code getInstance(Foo.class)} is equivalent to {@code * getInstance(TypeToken.of(Foo.class))}. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /** * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
* that may have been bound to a subtype. * * <p>{@code getInstance(Foo.class)} is equivalent to {@code * getInstance(TypeToken.of(Foo.class))}. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /** * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 3.8K bytes - Viewed (0) -
chainable_api.go
// db.Unscoped().Find(&users) // // Retrieves all users, including deleted ones. func (db *DB) Unscoped() (tx *DB) { tx = db.getInstance() tx.Statement.Unscoped = true return } func (db *DB) Raw(sql string, values ...interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.SQL = strings.Builder{} if strings.Contains(sql, "@") { clause.NamedExpr{SQL: sql, Vars: values}.Build(tx.Statement)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 14.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
try { return MessageDigest.getInstance("MD4", getProvider()); } catch ( NoSuchAlgorithmException e ) { throw new CIFSUnsupportedCryptoException(e); } } /** * * @return MD5 digest */ public static MessageDigest getMD5 () { try { return MessageDigest.getInstance("MD5"); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Aug 17 17:34:29 UTC 2021 - 5.2K bytes - Viewed (0)