- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 288 for setInstance (0.08 seconds)
-
guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java
private MessageDigest md; @BeforeExperiment void setUp() throws Exception { md = MessageDigest.getInstance(algorithm); } @Benchmark int getInstance(int reps) throws Exception { int retValue = 0; for (int i = 0; i < reps; i++) { retValue ^= MessageDigest.getInstance(algorithm).getDigestLength(); } return retValue; } @Benchmark int clone(int reps) throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
final ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true); final Enumeration<?> fields = sequence.getObjects(); while (fields.hasMoreElements()) { tagged = (ASN1TaggedObject) fields.nextElement(); switch (tagged.getTagNo()) { case 0: final ASN1Enumerated enumerated = ASN1Enumerated.getInstance(tagged, true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true); final Enumeration<ASN1Object> fields = sequence.getObjects(); while (fields.hasMoreElements()) { tagged = (ASN1TaggedObject) fields.nextElement(); switch (tagged.getTagNo()) { case 0: sequence = ASN1Sequence.getInstance(tagged, true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (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()
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
+ numOfThreads + "]"; } } static void initializeProbes() { // Force probes to be loaded ProcessProbe.getInstance(); OsProbe.getInstance(); JvmInfo.jvmInfo(); } /** * Main entry point for the thumbnail generator application. * * @param args command-line arguments */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java
private MessageDigest md; @BeforeExperiment void setUp() throws Exception { md = MessageDigest.getInstance(algorithm); } @Benchmark int getInstance(int reps) throws Exception { int retValue = 0; for (int i = 0; i < reps; i++) { retValue ^= MessageDigest.getInstance(algorithm).getDigestLength(); } return retValue; } @Benchmark int clone(int reps) throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
assertNotNull(SingletonContext.getInstance()); // Should still initialize } @Test void testGetInstanceInitializesIfNull() { // Test getInstance initializes the context if it's null assertNull(getSingletonInstanceViaReflection()); // Ensure it's null initially CIFSContext context = SingletonContext.getInstance(); assertNotNull(context);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
val trustStore = newEmptyKeyStore(keyStoreType) for (i in trustedCertificates.indices) { trustStore.setCertificateEntry("cert_$i", trustedCertificates[i]) } val factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()) factory.init(trustStore) val result = factory.trustManagers!! check(result.size == 1 && result[0] is X509TrustManager) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
chainable_api.go
// var users []User // 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)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0)