Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 486 for Initializer (0.04 sec)

  1. android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt

    import android.app.Application
    import android.os.Build
    import okhttp3.OkHttp
    
    class TestApplication : Application() {
      override fun onCreate() {
        super.onCreate()
    
        if (isSecondaryProcess()) {
          OkHttp.initialize(applicationContext)
        }
      }
    
      private fun isSecondaryProcess(): Boolean = getProcess() != packageName
    
      @SuppressLint("DiscouragedPrivateApi")
      private fun getProcess(): String? =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      static final int DEFAULT_SIZE = 3;
    
      // used to indicate blank table entries
      static final int UNSET = -1;
    
      /*
       * The array fields below are not initialized directly in the constructor, but they're initialized
       * by init(), which the constructor calls.
       */
    
      /** The keys of the entries in the map. */
      transient @Nullable Object[] keys;
    
      /** The values of the entries in the map. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        private byte[] reserved = new byte[8];
    
        /**
         * Create a new durable handle response
         */
        public DurableHandleResponse() {
            // Reserved field initialized to zeros
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

        /**
         * Test the constructor of MsrpcQueryInformationPolicy.
         * It should correctly call the super constructor and set ptype and flags.
         */
        @Test
        @DisplayName("Constructor should initialize fields and call super constructor")
        void constructorTest() {
            short level = 1;
    
            // Create an instance of the class under test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

        /**
         * Default constructor.
         */
        public CronExpressionValidator() {
            // Empty constructor
        }
    
        @Override
        public void initialize(final CronExpression constraintAnnotation) {
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            return determineValid(value);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertNotNull(copyResponse);
            }
    
            @Test
            @DisplayName("Should initialize chunksWritten to zero")
            void testInitialChunksWrittenValue() {
                assertEquals(0, response.getChunksWritten());
            }
    
            @Test
            @DisplayName("Should initialize chunkBytesWritten to zero")
            void testInitialChunkBytesWrittenValue() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

        /** The content type for OSDD response. */
        protected String contentType = "text/xml"; // "application/opensearchdescription+xml"
    
        /** The OSDD file. */
        protected File osddFile;
    
        /**
         * Initializes the OSDD helper.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class AvChannelBindingsTest {
    
        /**
         * Test that the constructor correctly initializes with a valid channel binding hash.
         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Logger;
    import org.jspecify.annotations.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    final class LazyLogger {
      private final Object lock = new Object();
    
      private final String loggerName;
      private volatile @Nullable Logger logger;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

        }
    
        @Nested
        @DisplayName("Constructor and Initialization Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with correct configuration")
            void testConstructorInitialization() {
                Trans2GetDfsReferralResponse localResponse = new Trans2GetDfsReferralResponse(mockConfig);
    
                assertNotNull(localResponse);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top