Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 262 for getInstance (0.08 sec)

  1. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

    @ExperimentalOkHttpApi
    class AndroidAsyncDns(
      private val dnsClass: AsyncDns.DnsClass,
      private val network: Network? = null,
    ) : AsyncDns {
      @RequiresApi(Build.VERSION_CODES.Q)
      internal val resolver = DnsResolver.getInstance()
      private val executor = Executors.newSingleThreadExecutor()
    
      override fun query(
        hostname: String,
        callback: AsyncDns.Callback,
      ) {
        try {
          resolver.query(
            network,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 10:07:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            //String searchName = classificationName;
            //if (classificationName.contains(".")) {
            //    final String dbName = Srl.substringFirstFront(classificationName, ".");
            //    if (dbName.equals(DBCurrent.getInstance().projectName())) {
            //        searchName = Srl.substringFirstRear(classificationName, ".");
            //    } else {
            //        return null;
            //    }
            //}
            //try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          this.algorithmName = algorithmName;
          this.hashFn = hashFn;
        }
    
        public MessageDigest getMessageDigest() {
          try {
            return MessageDigest.getInstance(algorithmName);
          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        public HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          this.algorithmName = algorithmName;
          this.hashFn = hashFn;
        }
    
        public MessageDigest getMessageDigest() {
          try {
            return MessageDigest.getInstance(algorithmName);
          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        public HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  5. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

        callback: DnsResolver.Callback<List<InetAddress>>,
      ) {
        responder(Request(network, domain, nsType, flags, callback))
      }
    
      companion object {
        @Implementation
        @JvmStatic
        fun getInstance(): DnsResolver = Shadow.newInstance(DnsResolver::class.java, arrayOf(), arrayOf())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

     * yyaoEufLKVXhrTQhRfodTeigi4RX
     * -----END CERTIFICATE-----
     * ```
     */
    fun String.decodeCertificatePem(): X509Certificate {
      try {
        val certificateFactory = CertificateFactory.getInstance("X.509")
        val certificates =
          certificateFactory
            .generateCertificates(
              Buffer().writeUtf8(this).inputStream(),
            )
    
        return certificates.single() as X509Certificate
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsCrawlingInfoCB.java

        //                                                                             =======
        @Override
        public CrawlingInfoDbm asDBMeta() {
            return CrawlingInfoDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "crawling_info";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsGroupCB.java

        //                                                                             =======
        @Override
        public GroupDbm asDBMeta() {
            return GroupDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "group";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWordToLabel.java

        //                                                                             =======
        @Override
        public ElevateWordToLabelDbm asDBMeta() {
            return ElevateWordToLabelDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "elevate_word_to_label";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/bsentity/BsGroup.java

        //                                                                             =======
        @Override
        public GroupDbm asDBMeta() {
            return GroupDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "group";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top