Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 531 for getDistance (0.21 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/FactoryNamedDomainObjectContainerSpec.groovy

            0 * _._
        }
    
        // Tests for reflective instantiation
    
        def type
        def extraArgs = []
        def name = "test"
    
        protected getInstance() {
            getInstance(name)
        }
    
        protected getInstance(name) {
            new FactoryNamedDomainObjectContainer(type, instantiator, new ReflectiveNamedDomainObjectFactory(type, instantiator, *extraArgs), CollectionCallbackActionDecorator.NOOP).create(name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 26 05:36:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                    final KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
                    keyStore.load(null, null);
                    keyStore.setCertificateEntry("server", certificate);
    
                    final TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/keystore/TestKeyStore.groovy

            URL fileUrl = ClassLoader.getSystemResource(path);
            KeyStore original = KeyStore.getInstance("JKS");
            original.load(fileUrl.openStream(), password.toCharArray());
    
            KeyStore target = KeyStore.getInstance(type);
            target.load(null, null);
            for (alias in original.aliases()) {
                if (original.isKeyEntry(alias)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDeclarationProviderFactory.kt

        KotlinDeclarationProviderFactory.getInstance(this).createDeclarationProvider(scope, contextualModule)
    
    public fun Project.mergeDeclarationProviders(declarationProviders: List<KotlinDeclarationProvider>): KotlinDeclarationProvider =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinMessageBusProvider.kt

        public companion object {
            public fun getInstance(project: Project): KotlinMessageBusProvider =
                project.getService(KotlinMessageBusProvider::class.java)
        }
    }
    
    /**
     * The [MessageBus] used to subscribe to and publish to Analysis API topics ([KotlinModificationTopics]).
     */
    public val Project.analysisMessageBus: MessageBus
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        return when {
          majorVersion != null && majorVersion >= 9 ->
            SSLContext.getInstance("TLS")
          else ->
            try {
              // Based on SSLSocket.getApplicationProtocol check we should
              // have TLSv1.3 if we request it.
              // See https://www.oracle.com/java/technologies/javase/8u261-relnotes.html
              SSLContext.getInstance("TLSv1.3")
            } catch (nsae: NoSuchAlgorithmException) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

                ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                Enumeration<?> fields = sequence.getObjects();
                while ( fields.hasMoreElements() ) {
                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch ( tagged.getTagNo() ) {
                    case 0:
                        ASN1Enumerated enumerated = ASN1Enumerated.getInstance(tagged, true);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top