Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,924 for Instance (0.25 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

    @ExtendWith(MockitoExtension.class)
    class Smb2LogoffResponseTest {
    
        // Helper to create an instance with a mocked Configuration
        private Smb2LogoffResponse newResponse() {
            Configuration cfg = Mockito.mock(Configuration.class);
            return new Smb2LogoffResponse(cfg);
        }
    
        @Test
        @DisplayName("Constructor accepts a Configuration and creates instance")
        void constructor_happyPath() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayMap.java

        /** View as a {@link Set} */
        protected transient Set<? extends Map.Entry<K, V>> entrySet = null;
    
        /**
         * Constructs an instance with the default initial capacity.
         */
        public ArrayMap() {
            this(INITIAL_CAPACITY);
        }
    
        /**
         * Constructs an instance with the specified initial capacity.
         *
         * @param initialCapacity the initial capacity
         */
        @SuppressWarnings("unchecked")
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

    import okhttp3.internal.addIfAbsent
    import okhttp3.internal.concurrent.TaskRunner.Companion.INSTANCE
    import okhttp3.internal.okHttpName
    import okhttp3.internal.threadFactory
    
    /**
     * A set of worker threads that are shared among a set of task queues.
     *
     * Use [INSTANCE] for a task runner that uses daemon threads. There is not currently a shared
     * instance for non-daemon threads.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. okhttp-zstd/README.md

    responses.
    
    Note that zstd is not used for sending requests.
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(ZstdInterceptor.INSTANCE)
      .build();
    ```
    
    ```kotlin
    implementation("com.squareup.okhttp3:okhttp-zstd:5.3.0")
    ```
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 556 bytes
    - Viewed (1)
  7. impl/maven-core/src/test/projects/default-maven/cyclic-reference/module-a/pom.xml

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>cyclic-reference</groupId>
        <artifactId>parent</artifactId>
        <version>1.0-SNAPSHOT</version>
      </parent>
      <artifactId>module-a</artifactId>
    
      <dependencies>
        <dependency>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 619 bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

            /**
             * Sets the initial capacity for the text normalization context.
             *
             * @param initialCapacity the initial capacity to be set
             * @return the updated TextNormalizeContext instance
             */
            public TextNormalizeContext initialCapacity(final int initialCapacity) {
                this.initialCapacity = initialCapacity;
                return this;
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        /**
         * Gets the singleton instance of the XmlService.
         *
         * @return the XmlService instance
         * @throws IllegalStateException if no implementation is found
         */
        private static XmlService getService() {
            return Holder.INSTANCE;
        }
    
        /** Holder class for lazy initialization of the default instance */
        private static final class Holder {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top