Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 1,924 for Instance (0.1 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Test at various positions in the buffer
            int[] positions = { 0, 10, 50, 100, 150 };
    
            for (int pos : positions) {
                when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance
                response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response
    
                // Fill buffer at position
                for (int i = 0; i < 37; i++) {
                    buffer[pos + i] = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            }
        }
    
        @Test
        public void testConcurrentAccess() throws Exception {
            // Test thread safety with concurrent access
            // Use a separate rate limiter instance with higher limits for this test
            AuthenticationRateLimiter concurrentLimiter = new AuthenticationRateLimiter(5, // max attempts per account (higher than default 3)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        private Credentials creds;
        @Mock
        private Address address;
        @Mock
        private SmbNegotiationResponse negotiationResponse;
    
        @BeforeEach
        void setUp() {
            // Create a fresh pool instance for each test
            pool = new SmbTransportPoolImpl();
    
            // Setup default mock behaviors
            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getNameServiceClient()).thenReturn(nameSvc);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. cmd/erasure.go

    	// some may be local and some remote.
    	getEndpointStrings func() []string
    
    	// Locker mutex map.
    	nsMutex *nsLockMap
    }
    
    // NewNSLock - initialize a new namespace RWLocker instance.
    func (er erasureObjects) NewNSLock(bucket string, objects ...string) RWLocker {
    	return er.nsMutex.NewNSLock(er.getLockers, bucket, objects...)
    }
    
    // Shutdown function for object storage interface.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * Get the channel manager
         *
         * @return channel manager instance
         */
        public ChannelManager getChannelManager() {
            return channelManager;
        }
    
        /**
         * Get the lease manager for SMB3 lease support
         *
         * @return lease manager instance
         */
        public LeaseManager getLeaseManager() {
            return leaseManager;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

          var result: CipherSuite? = INSTANCES[javaName]
          if (result == null) {
            result = INSTANCES[secondaryName(javaName)]
    
            if (result == null) {
              result = CipherSuite(javaName)
            }
    
            // Add the new cipher suite, or a confirmed alias.
            INSTANCES[javaName] = result
          }
          return result
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      @Override
      public ImmutableSet<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The value {@code Map<R, V>} instances in the returned map are {@link ImmutableMap} instances
       * as well.
       */
      @Override
      public abstract ImmutableMap<C, Map<R, V>> columnMap();
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NetworkExplorerTest.java

            defaultDomainField.setAccessible(true);
            defaultDomainField.set(explorer, null);
        }
    
        /**
         * Helper method to create a mocked NetworkExplorer instance
         */
        private NetworkExplorer createMockedNetworkExplorer(boolean enableBasic, String realm) {
            return new NetworkExplorer() {
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    ///
    
    ## Hash and verify the passwords { #hash-and-verify-the-passwords }
    
    Import the tools we need from `pwdlib`.
    
    Create a PasswordHash instance with recommended settings - it will be used for hashing and verifying passwords.
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/first-steps.md

    Вы можете использовать весь функционал <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> и в `FastAPI`.
    
    ///
    
    ### Шаг 2: создайте экземпляр `FastAPI` { #step-2-create-a-fastapi-instance }
    
    {* ../../docs_src/first_steps/tutorial001_py39.py hl[3] *}
    
    Здесь переменная `app` будет экземпляром класса `FastAPI`.
    
    Это будет основная точка взаимодействия для создания всего вашего API.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
Back to top