Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 157 for getInstance (0.28 sec)

  1. src/main/java/jcifs/spnego/NegTokenInit.java

                    ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                    Enumeration<ASN1Object> fields = sequence.getObjects();
                    while ( fields.hasMoreElements() ) {
                        tagged = (ASN1TaggedObject) fields.nextElement();
                        switch ( tagged.getTagNo() ) {
                        case 0:
                            sequence = ASN1Sequence.getInstance(tagged, true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. 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);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K 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());
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                logger.debug("role: {}", roleSet);
            }
            final String[] roles = roleSet.toArray(new String[roleSet.size()]);
    
            if (!subRoleSet.isEmpty()) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    processSubRoles(ldapUser, bindDn, subRoleSet, groupFilter, roleSet);
                    if (logger.isDebugEnabled()) {
                        logger.debug("role(lazy loading): {}", roleSet);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/crypto/CachedCipher.java

            Cipher cipher = encryptoQueue.poll();
            if (cipher == null) {
                final SecretKeySpec sksSpec = new SecretKeySpec(key.getBytes(), algorithm);
                try {
                    cipher = Cipher.getInstance(algorithm);
                    cipher.init(Cipher.ENCRYPT_MODE, sksSpec);
                } catch (final InvalidKeyException e) {
                    throw new InvalidKeyRuntimeException(e);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                        + ", hotThread=" + hotThread + "]";
            }
    
        }
    
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        public static void main(final String[] args) {
            final Options options = new Options();
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  7. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            }
        }
    
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        public static void main(final String[] args) {
            final Options options = new Options();
            final CmdLineParser parser = new CmdLineParser(options);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/BsCrawlingInfoParam.java

        //                                                                             =======
        @Override
        public CrawlingInfoParamDbm asDBMeta() {
            return CrawlingInfoParamDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "crawling_info_param";
        }
    
        // ===================================================================================
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsElevateWordToLabelCB.java

        //                                                                             =======
        @Override
        public ElevateWordToLabelDbm asDBMeta() {
            return ElevateWordToLabelDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "elevate_word_to_label";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

         *             {@link NoSuchAlgorithmException}が発生した場合
         */
        public static MessageDigest getInstance(final String algorithm) {
            assertArgumentNotEmpty("algorithm", algorithm);
    
            try {
                return MessageDigest.getInstance(algorithm);
            } catch (final NoSuchAlgorithmException e) {
                throw new NoSuchAlgorithmRuntimeException(e);
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top