Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,731 for isInstance (0.07 sec)

  1. src/main/java/jcifs/context/SingletonContext.java

        public static synchronized final SingletonContext getInstance() {
            if (INSTANCE == null) {
                try {
                    log.debug("Initializing singleton context");
                    init(null);
                } catch (final CIFSException e) {
                    log.error("Failed to create singleton JCIFS context", e);
                }
            }
            return INSTANCE;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        /**
         * Creates and returns a new instance of {@link ArrayDeque}.
         *
         * @param <E> the element type of {@link ArrayDeque}
         * @return a new instance of {@link ArrayDeque}
         * @see ArrayDeque#ArrayDeque()
         */
        public static <E> ArrayDeque<E> newArrayDeque() {
            return new ArrayDeque<>();
        }
    
        /**
         * Creates and returns a new instance of {@link ArrayDeque}.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Crypto.java

        /**
         * Get an MD5 message digest instance.
         * @return MD5 digest instance
         */
        public static MessageDigest getMD5() {
            try {
                return MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException e) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get a SHA-512 message digest instance.
         * @return SHA512 digest instance
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        @Mock
        private Configuration mockConfig;
    
        private SmbComFindClose2 instance;
        private final int TEST_SID = 0x1234; // 4660 decimal
    
        @BeforeEach
        void setUp() {
            instance = new SmbComFindClose2(mockConfig, TEST_SID);
        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
            // toString includes the class name and the sid field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

     * A wrapper class for CrawlerClientFactory that delegates operations to an underlying factory instance.
     * This wrapper allows for parameter management and initialization before delegating to the wrapped factory.
     *
     * The wrapper maintains its own parameter map which can be initialized separately from the wrapped factory,
     * and provides access to the wrapped factory instance through getParent().
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (10)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

    class MonotonicClockTest {
    
        @Test
        @DisplayName("MonotonicClock singleton instance should always return the same instance")
        void testSingletonInstance() {
            MonotonicClock clock1 = MonotonicClock.get();
            MonotonicClock clock2 = MonotonicClock.get();
    
            assertSame(clock1, clock2, "Multiple calls to get() should return the same instance");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. .teamcity/scripts/common.sh

    # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
    exit_if_not_on_ec2_instance() {
      curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
      IS_EC2_INSTANCE=$?
      if [ $IS_EC2_INSTANCE -ne 0 ]; then
        echo "Not running on an EC2 instance, skipping the configuration"
        exit 0
      fi
    }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Oct 26 09:37:09 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/resources/fess_job.xml

    	</component>
    
    	<!-- Jobs -->
    	<component name="crawlJob" class="org.codelibs.fess.job.CrawlJob" instance="prototype">
    	</component>
    	<component name="suggestJob" class="org.codelibs.fess.job.SuggestJob" instance="prototype">
    	</component>
    	<component name="aggregateLogJob" class="org.codelibs.fess.job.AggregateLogJob" instance="prototype">
    	</component>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jun 12 22:21:45 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java

     *
     * @author koichik
     */
    public interface ParameterizedClassDesc {
    
        /**
         * Returns <code>true</code> if the class represented by this instance is parameterized.
         *
         * @return <code>true</code> if the class represented by this instance is parameterized
         */
        boolean isParameterizedClass();
    
        /**
         * Returns the raw class.
         *
         * @param <T>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) {
        method.setAccessible(true);
        testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass());
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top