Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,890 for instance (0.05 sec)

  1. src/test/java/jcifs/smb/DfsReferralTest.java

         */
        @Test
        void testConstructorAndGetData() {
            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/ValueHolder.java

     *            The type of the value
     */
    public class ValueHolder<T> {
    
        /** The value */
        protected T value;
    
        /**
         * Constructs an instance.
         */
        public ValueHolder() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param value
         *            The value
         */
        public ValueHolder(final T value) {
            this.value = value;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            @Test
            @DisplayName("Should create instance with null ciphers")
            void testConstructorWithNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                assertNotNull(context);
                assertNull(context.getCiphers());
            }
    
            @Test
            @DisplayName("Should create instance with empty ciphers array")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

        /** The size of the preload buffer for checking file format. */
        protected int preloadSize = 512;
    
        /**
         * Creates a new SitemapsHelper instance.
         */
        public SitemapsHelper() {
            // Default constructor
        }
    
        /**
         * Checks if the given input stream contains valid sitemap data.
         * @param in the input stream to validate
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        private val PREVAILING_RULE = listOf("*")
    
        private const val EXCEPTION_MARKER = '!'
    
        private var instance = PublicSuffixDatabase(PublicSuffixList.Default)
    
        fun get(): PublicSuffixDatabase = instance
    
        private fun ByteString.binarySearch(
          labels: Array<ByteString>,
          labelIndex: Int,
        ): String? {
          var low = 0
          var high = size
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertNotNull(buf, "getBuffer should never return null");
            assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size");
        }
    
        // Happy path: get -> release -> get returns same instance, zeroed on release
        @Test
        @DisplayName("Release stores buffer for reuse and zeroes its contents")
        void releaseStoresAndZeroesBuffer() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/BeanDesc.java

         */
        Iterable<FieldDesc> getFieldDescs();
    
        /**
         * Creates a new instance.
         *
         * @param <T>
         *            The type of the Bean class
         * @param args
         *            The arguments to pass to the constructor
         * @return A new instance
         */
        <T> T newInstance(Object... args);
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/resources/app.xml

    	</component>
    	<component name="themeHelper" class="org.codelibs.fess.helper.ThemeHelper">
    	</component>
    	<component name="queryStringBuilder" class="org.codelibs.fess.util.QueryStringBuilder" instance="prototype">
    	</component>
    	<component name="queryParser" class="org.codelibs.fess.query.parser.QueryParser">
    	</component>
    	<component name="facetInfo" class="org.codelibs.fess.entity.FacetInfo">
    	</component>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Nov 19 02:22:47 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

        }
    
        @Test
        void close_shouldClosePolicySuccessfully() throws IOException {
            // Arrange
            // First, successfully create an LsaPolicyHandle instance
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/stream/StreamUtil.java

            // nothing
        }
    
        /**
         * Creates a {@link StreamOf} instance from the provided values.
         * If the input array is {@code null}, an empty stream is returned.
         *
         * @param <T> The type of elements in the stream.
         * @param values The elements to be included in the stream. Can be {@code null}.
         * @return A {@link StreamOf} instance containing the provided values, or an empty stream if {@code values} is {@code null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top