Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2441 - 2450 of 2,691 for code2 (0.02 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. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      // `primitives` can't depend on `collect`, so this is what the prod code has to return.
      @SuppressWarnings("EmptyList")
      public void testAsListEmpty() {
        assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Double#valueOf}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. src/archive/tar/tar_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 tar
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"maps"
    	"math"
    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. src/main/resources/fess_label_en.properties

    labels.description=Description
    labels.user_title=Title
    labels.title=Title
    labels.user_pager=Pager
    labels.pager=Pager
    labels.user_street=Street
    labels.street=Street
    labels.user_postalCode=Postal Code
    labels.postalCode=Postal Code
    labels.user_physicalDeliveryOfficeName=Office
    labels.physicalDeliveryOfficeName=Office
    labels.user_destinationIndicator=Destination Indicator
    labels.destinationIndicator=Destination Indicator
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            ComponentUtil.getFessConfig().getApiJsonResponseHeaderList().forEach(e -> response.setHeader(e.getFirst(), e.getSecond()));
        }
    
        /**
         * Writes a JSON response.
         * @param status The status code.
         * @param t The throwable.
         */
        protected void writeJsonResponse(final int status, final Throwable t) {
            final Supplier<String> stacktraceString = () -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  10. 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)
Back to top