Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 299 for reinitialized (0.27 seconds)

  1. android/guava/src/com/google/common/cache/AbstractCache.java

        private final LongAddable totalLoadTime = LongAddables.create();
        private final LongAddable evictionCount = LongAddables.create();
    
        /** Constructs an instance with all counts initialized to zero. */
        public SimpleStatsCounter() {}
    
        /**
         * @since 11.0
         */
        @Override
        public void recordHits(int count) {
          hitCount.add(count);
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/RequestTest.java

        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(request, response, context, disconnectRequest, nextRequest);
        }
    
        @Test
        @DisplayName("Test initResponse returns initialized response")
        void testInitResponse() {
            // Given
            when(request.initResponse(context)).thenReturn(response);
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        }
    
        @AfterEach
        void restoreStreams() {
            System.setOut(originalOut);
            System.setErr(originalErr);
        }
    
        @Test
        @DisplayName("TestLocking fields are properly initialized")
        void testFieldInitialization() {
            TestLocking t = new TestLocking();
    
            // Check default field values
            assertEquals(1, t.numThreads, "Default numThreads should be 1");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        void testConstructorWithConfigOnly() {
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
    
            assertNotNull(packet);
            // The packet should have calledName and callingName initialized but empty
            byte[] dst = new byte[256];
            int written = packet.writeTrailerWireFormat(dst, 0);
            assertTrue(written > 0);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/StandardNetwork.java

            builder.edgeOrder.createMap(firstNonNull(builder.expectedEdgeCount, DEFAULT_EDGE_COUNT)));
      }
    
      /**
       * Constructs a graph with the properties specified in {@code builder}, initialized with the given
       * node and edge maps.
       */
      StandardNetwork(
          NetworkBuilder<? super N, ? super E> builder,
          Map<N, NetworkConnections<N, E>> nodeConnections,
          Map<E, N> edgeToReferenceNode) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            // Note: isUseMultiChannel() checks if actual multi-channel is negotiated with server
            // In mock environment, this will be false until we mock successful negotiation
    
            // Verify load balancer is initialized
            assertNotNull(channelManager.getLoadBalancer());
        }
    
        @Test
        void testNetworkInterfaceInfo() throws Exception {
            // Test NetworkInterfaceInfo creation and scoring
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            });
    
            cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(),
                    TimeUnit.MILLISECONDS);
    
            log.info("Authentication rate limiter initialized: maxAccount={}, maxIp={}, maxGlobal={}/min", maxAttemptsPerAccount,
                    maxAttemptsPerIp, maxGlobalAttemptsPerMinute);
        }
    
        /**
         * Check if authentication attempt is allowed
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. callbacks/preload.go

    	}
    	return nil
    }
    
    func preloadDB(db *gorm.DB, reflectValue reflect.Value, dest interface{}) *gorm.DB {
    	tx := db.Session(&gorm.Session{Context: db.Statement.Context, NewDB: true, SkipHooks: db.Statement.SkipHooks, Initialized: true})
    	db.Statement.Settings.Range(func(k, v interface{}) bool {
    		tx.Statement.Settings.Store(k, v)
    		return true
    	})
    
    	if err := tx.Statement.Parse(dest); err != nil {
    		tx.AddError(err)
    		return tx
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/PreauthIntegrityService.java

            }
    
            PreauthIntegrityContext context = new PreauthIntegrityContext(salt, hashAlgorithm);
            sessionContexts.put(sessionId, context);
    
            log.debug("Initialized preauth integrity context for session {}", sessionId);
            return context;
        }
    
        /**
         * Updates the preauth integrity hash with a new message.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmServletTest.java

            lenient().when(configuration.getDefaultDomain()).thenReturn("TEST_DOMAIN");
        }
    
        /**
         * Test the init method of the servlet.
         * Verifies that servlet is correctly initialized with parameters from ServletConfig.
         * @throws ServletException
         */
        @Test
        void testInit() throws ServletException {
            assertDoesNotThrow(() -> ntlmServlet.init(servletConfig));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top