Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 1,878 for constructor (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/Handler.java

                    throw new IllegalStateException("URLStreamHandlerFactory already set.");
                }
                PROTOCOL_HANDLERS.clear();
                Handler.factory = factory;
            }
        }
    
        /**
         * Constructs a handler with the specified CIFS context.
         *
         * @param tc context to use
         */
        public Handler(final CIFSContext tc) {
            this.transportContext = tc;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/Pac.java

        private PacLogonInfo logonInfo;
        private PacCredentialType credentialType;
        private PacSignature serverSignature;
        private PacSignature kdcSignature;
    
        /**
         * Constructs and validates a PAC from raw data using provided Kerberos keys.
         * @param data the raw PAC data bytes
         * @param keys map of Kerberos keys for signature validation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

        protected static final String KRYO = "kryo";
    
        /** ThreadLocal container for Kryo instances to ensure thread safety. */
        protected final ThreadLocal<Kryo> kryoThreadLocal;
    
        /**
         * Constructs a new DataSerializer.
         * <p>
         * Initializes the ThreadLocal Kryo instances with appropriate configuration.
         * The Kryo instances are configured to not require class registration for
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (3)
  5. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/GraphBuilder.java

     * @author Joshua O'Madadhain
     * @param <N> The most general node type this builder will support. This is normally {@code Object}
     *     unless it is constrained by using a method like {@link #nodeOrder}, or the builder is
     *     constructed based on an existing {@code Graph} using {@link #from(Graph)}.
     * @since 20.0
     */
    @Beta
    @DoNotMock
    public final class GraphBuilder<N> extends AbstractGraphBuilder<N> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asByteSource : new boolean[] {false, true}) {
          suite.addTest(
              CharSourceTester.tests(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

         */
        protected Thread parentThread;
    
        /**
         * The thread group for crawler threads.
         */
        protected ThreadGroup crawlerThreadGroup;
    
        /**
         * Constructs a new Crawler instance.
         * Initializes the crawler context with a new session ID based on the current timestamp.
         */
        public Crawler() {
            crawlerContext = new CrawlerContext();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal FuturesTest
     * test methods in these degenerate classloaders.
     */
    
    @NullUnmarked
    public class AggregateFutureStateFallbackAtomicHelperTest extends TestCase {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/HandlerTest.java

            // Act & Assert
            assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE");
            verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction
        }
    
        @Test
        @DisplayName("openConnection uses SingletonContext when no context provided")
        void testOpenConnection_UsesSingletonContext() throws Exception {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top