Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for 65 (0.26 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Set incorrect structure size (should be 65)
            SMBUtil.writeInt2(64, malformedBuffer, 0);
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(malformedBuffer, 0);
            });
    
            assertTrue(exception.getMessage().contains("Structure size is not 65"));
            assertTrue(exception.getMessage().contains("got: 64"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        sink().write(value.toByteArray())
      }
    
      fun writeLong(v: Long) {
        val sink = sink()
    
        val lengthBitCount: Int =
          if (v < 0L) {
            65 - java.lang.Long.numberOfLeadingZeros(v xor -1L)
          } else {
            65 - java.lang.Long.numberOfLeadingZeros(v)
          }
    
        val lengthByteCount = (lengthBitCount + 7) / 8
        for (shift in (lengthByteCount - 1) * 8 downTo 0 step 8) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            setReceivedMethod.invoke(resp);
        }
    
        private byte[] createValidNegotiateResponseBuffer() {
            byte[] buffer = new byte[256];
            int offset = 0;
    
            // Structure size (65)
            SMBUtil.writeInt2(65, buffer, offset);
    
            // Security mode
            SMBUtil.writeInt2(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, buffer, offset + 2);
    
            // Dialect revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
                    SmbConstants.DEFAULT_SHARING);
    
            // When
            outputStream.write(65); // Write 'A'
    
            // Then
            verify(mockTreeHandle, atLeastOnce()).send(any(Smb2WriteRequest.class), any());
        }
    
        @Test
        void testWriteByteArray() throws IOException, CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            if (buffer == null || buffer.length < bufferIndex + 65) {
                throw new SMBProtocolDecodingException("Buffer too small for SMB2 negotiate response (minimum 65 bytes required)");
            }
    
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 65) {
                throw new SMBProtocolDecodingException("Structure size is not 65, got: " + structureSize);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeInt(it.toInt()).readByteArray(),
            )
          }
      }
    
      /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65].  */
      fun allocateIpv6(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Platform.java

       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
       * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Platform.java

       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
       * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(61)).isEqualTo("%3D")
        assertThat(formEncode(62)).isEqualTo("%3E")
        assertThat(formEncode(63)).isEqualTo("%3F")
        assertThat(formEncode(64)).isEqualTo("%40")
        assertThat(formEncode(65)).isEqualTo("A")
        assertThat(formEncode(90)).isEqualTo("Z")
        assertThat(formEncode(91)).isEqualTo("%5B")
        assertThat(formEncode(92)).isEqualTo("%5C")
        assertThat(formEncode(93)).isEqualTo("%5D")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.6.md

        - [Server Binaries](#server-binaries-7)
        - [Node Binaries](#node-binaries-7)
      - [Changelog since v1.6.5](#changelog-since-v165)
        - [Action Required](#action-required)
        - [Other notable changes](#other-notable-changes-7)
    - [v1.6.5](#v165)
      - [Known Issues for v1.6.5](#known-issues-for-v165)
      - [Downloads for v1.6.5](#downloads-for-v165)
        - [Client Binaries](#client-binaries-8)
        - [Server Binaries](#server-binaries-8)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
Back to top