Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 208 for 1014 (0.02 sec)

  1. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("initSecContext returns token and verifies interaction")
        void initSecContext_success() throws Exception {
            byte[] in = new byte[] { 10, 11 };
            byte[] out = new byte[] { 12, 13, 14 };
            when(gssContext.initSecContext(eq(in), eq(0), eq(in.length))).thenReturn(out);
    
            byte[] res = ctx.initSecContext(in, 0, in.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            this.channelCounter = new AtomicInteger(0);
            this.multiChannelEnabled = false;
    
            // Schedule periodic health checks
            scheduler.scheduleAtFixedRate(this::performHealthCheck, 10, 10, TimeUnit.SECONDS);
    
            // Schedule interface discovery
            scheduler.scheduleAtFixedRate(this::discoverInterfaces, 0, 30, TimeUnit.SECONDS);
        }
    
        /**
         * Initialize multi-channel support
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/bigger-applications.md

    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    
    ### Die `APIRouter` für `users` und `items` inkludieren
    
    Inkludieren wir nun die `router` aus diesen Submodulen `users` und `items`:
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    /// info
    
    `users.router` enthält den `APIRouter` in der Datei `app/routers/users.py`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/bigger-applications.md

    ```
    
    ### Подключение маршрутизаторов (`APIRouter`) для `users` и для `items`
    
    Давайте подключим маршрутизаторы (`router`) из суб-модулей `users` и `items`:
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    /// info | Примечание
    
    `users.router` содержит `APIRouter` из файла `app/routers/users.py`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
        HashTestUtils.assertInvariants(Hashing.goodFastHash(256));
      }
    
      public void testConsistentHash_correctness() {
        long[] interestingValues = {-1, 0, 1, 2, Long.MAX_VALUE, Long.MIN_VALUE};
        for (long h : interestingValues) {
          checkConsistentHashCorrectness(h);
        }
        Random r = new Random(7);
        for (int i = 0; i < 20; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle large buffer encoding")
            void testLargeBufferEncode() {
                byte[] largeName = new byte[1024];
                Arrays.fill(largeName, (byte) 'X');
                byte[] largeData = new byte[2048];
                Arrays.fill(largeData, (byte) 'Y');
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/bigger-applications.md

    ```Python hl_lines="5" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### 🔌 `APIRouter`Ⓜ `users` &amp; `items`
    
    🔜, ➡️ 🔌 `router`Ⓜ ⚪️➡️ 🔁 `users` &amp; `items`:
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    /// info
    
    `users.router` 🔌 `APIRouter` 🔘 📁 `app/routers/users.py`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body-nested-models.md

    しかし、よく考えてみると、タグは繰り返すべきではなく、おそらくユニークな文字列になるのではないかと気付いたとします。
    
    そして、Pythonにはユニークな項目のセットのための特別なデータ型`set`があります。
    
    そのため、以下のように、`Set`をインポートして`str`の`set`として`tags`を宣言することができます:
    
    {* ../../docs_src/body_nested_models/tutorial003.py hl[1,14] *}
    
    これを使えば、データが重複しているリクエストを受けた場合でも、ユニークな項目のセットに変換されます。
    
    そして、そのデータを出力すると、たとえソースに重複があったとしても、固有の項目のセットとして出力されます。
    
    また、それに応じて注釈をつけたり、文書化したりします。
    
    ## ネストされたモデル
    
    Pydanticモデルの各属性には型があります。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
                byte[] buffer = new byte[1024];
                Smb2SessionSetupRequest req =
                        new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

            this.channelCounter = new AtomicInteger(0);
            this.multiChannelEnabled = false;
            
            // Schedule periodic health checks
            scheduler.scheduleAtFixedRate(this::performHealthCheck, 10, 10, TimeUnit.SECONDS);
            
            // Schedule interface discovery
            scheduler.scheduleAtFixedRate(this::discoverInterfaces, 0, 30, TimeUnit.SECONDS);
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top