Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,011 for Decode (0.41 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                byte[] buffer = new byte[EXPECTED_SIZE * 3];
    
                // When
                int offset1 = chunk1.encode(buffer, 0);
                int offset2 = chunk2.encode(buffer, offset1);
                int offset3 = chunk3.encode(buffer, offset1 + offset2);
    
                // Then
                assertEquals(EXPECTED_SIZE, offset1);
                assertEquals(EXPECTED_SIZE, offset2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EncodableTest.java

            Arrays.fill(dst, (byte) 0x55);
    
            // Act
            int written = enc.encode(dst, dstIndex);
    
            // Assert: reported written bytes matches size() and requested len.
            assertEquals(len, enc.size(), "size() must equal provided length");
            assertEquals(len, written, "encode() must return number of bytes written");
    
            // Assert: copied region equals the source slice.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Name.java

         * @param hexCode the NetBIOS name type/suffix
         * @param scope the NetBIOS scope identifier (uses default if null or empty)
         */
        public Name(String name, final int hexCode, final String scope) {
            if (name.length() > 15) {
                name = name.substring(0, 15);
            }
            this.name = name.toUpperCase();
            this.hexCode = hexCode;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. docs/ko/docs/advanced/response-change-status-code.md

    # 응답 - 상태 코드 변경
    
    기본 [응답 상태 코드 설정](../tutorial/response-status-code.md){.internal-link target=_blank}이 가능하다는 걸 이미 알고 계실 겁니다.
    
    하지만 경우에 따라 기본 설정과 다른 상태 코드를 반환해야 할 때가 있습니다.
    
    ## 사용 예
    
    예를 들어 기본적으로 HTTP 상태 코드 "OK" `200`을 반환하고 싶다고 가정해 봅시다.
    
    하지만 데이터가 존재하지 않으면 이를 새로 생성하고, HTTP 상태 코드 "CREATED" `201`을 반환하고자 할 때가 있을 수 있습니다.
    
    이때도 여전히 `response_model`을 사용하여 반환하는 데이터를 필터링하고 변환하고 싶을 수 있습니다.
    
    이런 경우에는 `Response` 파라미터를 사용할 수 있습니다.
    
    ## `Response` 파라미터 사용하기
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        )
    
        nullawayEnabled.convention(false)
    }
    
    nullaway {
        // NullAway can use NullMarked instead, but for the adoption process it is more effective to assume that all gradle code is already annotated.
        // This way we can catch discrepancies in modules easier. We should make all packages NullMarked eventually too, but this is a separate task.
        annotatedPackages.add("org.gradle")
    }
    
    dependencies {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 01 11:57:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.16.md

    <!-- BEGIN MUNGE: GENERATED_TOC -->
    
    - [v1.16.15](#v11615)
      - [Downloads for v1.16.15](#downloads-for-v11615)
        - [Source Code](#source-code)
        - [Client binaries](#client-binaries)
        - [Server binaries](#server-binaries)
        - [Node binaries](#node-binaries)
      - [Changelog since v1.16.14](#changelog-since-v11614)
      - [Changes by Kind](#changes-by-kind)
        - [Bug or Regression](#bug-or-regression)
      - [Dependencies](#dependencies)
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 345.2K bytes
    - Viewed (0)
  7. docs/fr/docs/features.md

    Vous devrez rarement revenir à la documentation.
    
    Voici comment votre éditeur peut vous aider:
    
    * dans <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)
    
    * dans <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Given
            byte[] buffer = new byte[512];
            int headerStart = 50;
            int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Encode the full message to set headerStart
            request.encode(buffer, headerStart);
    
            // Then - verify the body was written correctly
            byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NodeStatusResponse.java

                 */
                if (!addrFound && this.queryAddress.hostName.hexCode == hexCode
                        && (this.queryAddress.hostName.isUnknown() || this.queryAddress.hostName.name.equals(n))) {
    
                    if (this.queryAddress.hostName.isUnknown()) {
                        this.queryAddress.hostName = new Name(this.config, n, hexCode, scope);
                    }
                    this.queryAddress.groupName = groupName;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            int originalHexCode = 0xFF;
            mockName.hexCode = originalHexCode;
    
            // Create a spy to capture the state during writeQuestionSectionWireFormat
            NodeStatusRequest spyRequest = spy(nodeStatusRequest);
            doAnswer(invocation -> {
                // Verify hexCode is 0 during the call
                assertEquals(0x00, mockName.hexCode);
                return 40;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top