Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for 26 (0.02 sec)

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

        void testWriteParameterWordsWireFormat() {
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
            // Buffer needs 26 bytes: 2+2+2+2+4+2+4+8 = 26
            byte[] dst = new byte[26];
            int result = smbComOpenAndX.writeParameterWordsWireFormat(dst, 0);
            assertEquals(26, result);
        }
    
        /**
         * Test writeBytesWireFormat method with Unicode.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/BaseTest.java

         */
        protected String createTestString(int length) {
            StringBuilder sb = new StringBuilder(length);
            for (int i = 0; i < length; i++) {
                sb.append((char) ('A' + (i % 26)));
            }
            return sb.toString();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            for (int i = 0; i < 24; i++) {
                buffer[i] = (byte) (i + 1);
            }
    
            // Add context length (reserved) - 4 bytes
            buffer[24] = 0x00;
            buffer[25] = 0x00;
            buffer[26] = 0x00;
            buffer[27] = 0x00;
    
            // Decode
            int bytesConsumed = response.decode(buffer, 0, 28);
    
            // Verify
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            int fnOffset = buffer[Smb2Constants.SMB2_HEADER_LENGTH + 24] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 25] << 8);
            int fnLength = buffer[Smb2Constants.SMB2_HEADER_LENGTH + 26] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 27] << 8);
    
            assertEquals(0, fnOffset);
            assertEquals(0, fnLength);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat returns 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, singleDialect);
    
            // Expected size: 24 (fixed) + 2 * 1
            assertEquals(26, request.size());
        }
    
        @Test
        @DisplayName("Test size calculation with empty dialects array")
        void testSizeWithEmptyDialects() {
            int[] emptyDialects = new int[0];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(url.encodedQuery).isEqualTo("a%2B%3D%26%20b=c%2B%3D%26%20d")
      }
    
      @Test
      fun composeQueryWithEncodedComponents() {
        val base = parse("http://host/")
        val url =
          base
            .newBuilder()
            .addEncodedQueryParameter("a+=& b", "c+=& d")
            .build()
        assertThat(url.toString()).isEqualTo("http://host/?a+%3D%26%20b=c+%3D%26%20d")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
            "R0.00, R1.75, R1.26, R0.76, R0.30, R0.20, R0.20, R0.20", // #1
            "U0.20", // #2
            "U4.00", // #3
            "R0.00, R1.75, R1.26, R0.76, R0.30, R0.20, R0.20, R0.20", // #4
            "U0.20", // #5
            "U1.00", // #6
            "R0.00, R0.20, R0.20, R0.20, R0.20, R0.20, R0.20, R0.20"); // #7
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
            "R0.00, R1.75, R1.26, R0.76, R0.30, R0.20, R0.20, R0.20", // #1
            "U0.20", // #2
            "U4.00", // #3
            "R0.00, R1.75, R1.26, R0.76, R0.30, R0.20, R0.20, R0.20", // #4
            "U0.20", // #5
            "U1.00", // #6
            "R0.00, R0.20, R0.20, R0.20, R0.20, R0.20, R0.20, R0.20"); // #7
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            bufferIndex += 4;
    
            // Write comment offset
            SMBUtil.writeInt4(26, buffer, bufferIndex);
            bufferIndex += 4;
    
            // Write comment
            byte[] commentBytes = comment.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(commentBytes, 0, buffer, 26, commentBytes.length);
            buffer[26 + commentBytes.length] = 0;
    
            response.readDataWireFormat(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/extending-openapi.md

    It will be generated only once, and then the same cached schema will be used for the next requests.
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[13:14,25:26] *}
    
    ### Override the method { #override-the-method }
    
    Now you can replace the `.openapi()` method with your new function.
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[29] *}
    
    ### Check it { #check-it }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top