Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2411 - 2420 of 3,115 for Code (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        void testReadAndXWireFormatWithErrorCode() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
            block.errorCode = 1; // any non-zero error code should inhibit chaining
            block.headerStart = 0;
    
            byte[] buf = new byte[64];
            buf[0] = 4; // wordCount
            buf[1] = 0x42; // andxCommand present
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            }
    
            @Test
            @DisplayName("read() returns -1 when underlying readDirect hits EOF")
            void readSingleByteEOF() throws Exception {
                // Arrange SMB2 EOF via NT status code mapping in SmbFileInputStream
                when(mockTree.send(any(Request.class), any(RequestParam.class))).thenThrow(new SmbException(0xC0000011, false)); // STATUS_END_OF_FILE
    
                SmbFileInputStream in = newStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/testing.md

    以下でテストを実行します:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    rootdir: /home/user/code/superawesome-cli/app
    plugins: forked-1.1.3, xdist-1.31.0, cov-2.8.1
    collected 6 items
    
    ---> 100%
    
    test_main.py <span style="color: green; white-space: pre;">......                            [100%]</span>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/first-steps.md

    Lassen Sie uns die von **FastAPI** bereitgestellten Tools verwenden, um Sicherheit zu gewährleisten.
    
    ## Wie es aussieht
    
    Lassen Sie uns zunächst einfach den Code verwenden und sehen, wie er funktioniert, und dann kommen wir zurück, um zu verstehen, was passiert.
    
    ## `main.py` erstellen
    
    Kopieren Sie das Beispiel in eine Datei `main.py`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/bytes/reader_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"io"
    	"sync"
    	"testing"
    )
    
    func TestReader(t *testing.T) {
    	r := NewReader([]byte("0123456789"))
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            public Node insertBefore(Node newChild, Node refChild) {
                return null;
            }
    
            @Override
            public Node replaceChild(Node newChild, Node oldChild) {
                return null;
            }
    
            @Override
            public Node removeChild(Node oldChild) {
                return null;
            }
    
            @Override
            public Node appendChild(Node newChild) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. docs/ja/docs/features.md

    **FastAPI** フレームワークは、この要求を満たすことを基本としています。オートコンプリートはどこでも機能します。
    
    ドキュメントに戻る必要はほとんどありません。
    
    エディターがどのように役立つかを以下に示します:
    
    * <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>の場合:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>の場合:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            return "index.jsp";
        }
    
        /**
         * Constructs a localized page path with language and country.
         *
         * @param page the page name
         * @param lang the language code
         * @param country the country code
         * @return the localized page path
         */
        private String getLocalizedPagePath(final String page, final String lang, final String country) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            TestFilterChain chain = new TestFilterChain();
    
            manager.process(request, response, chain);
            assertEquals(404, response.getStatus());
    
            // Test with different status code
            manager = new StatusCodeWebApiManager(201);
            response = new TestHttpServletResponse();
            manager.process(request, response, chain);
            assertEquals(201, response.getStatus());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Unit test for [FastFallbackExchangeFinder] implementation details.
     *
     * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has
     * the same structure:
     *
     *  * prepare a set of plans, each with a predictable connect delay
     *  * attempt to find a connection
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top