Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 474 for shortp (0.05 sec)

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

        void testReadStringWithMaxLength() {
            smb.useUnicode = false;
            byte[] buffer = new byte[6];
            System.arraycopy("short".getBytes(), 0, buffer, 0, 5);
            buffer[5] = 0; // Null terminator
            String result = smb.readString(buffer, 0, 5, false);
            assertEquals("short", result);
        }
    
        @Test
        void testReadStringWithMaxLengthExceeded() {
            smb.useUnicode = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            dest[offset + 3] = (byte) (ulong >> 24 & 0xff);
        }
    
        static void writeUShort(final byte[] dest, final int offset, final int ushort) {
            dest[offset] = (byte) (ushort & 0xff);
            dest[offset + 1] = (byte) (ushort >> 8 & 0xff);
        }
    
        static int writeSecurityBuffer(final byte[] dest, final int offset, final byte[] src) {
            final int length = src != null ? src.length : 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            }
        }
    
        @Test
        @DisplayName("Test decode throws exception when length is too short")
        void testDecodeThrowsExceptionWhenLengthTooShort() {
            byte[] buffer = new byte[28];
    
            // Test with len = 23 (one byte too short)
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
    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/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

            int start = bufferIndex;
    
            if (len < 52) {
                throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len);
            }
    
            // Read lease V2 data (52 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicy.java

         * @param level the information level to query
         * @param info the NdrObject to receive the policy information
         */
        public MsrpcQueryInformationPolicy(final LsaPolicyHandle policyHandle, final short level, final NdrObject info) {
            super(policyHandle, level, info);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. docs/en/docs/management.md

    # Repository Management
    
    Here's a short description of how the FastAPI repository is managed and maintained.
    
    ## Owner
    
    I, <a href="https://github.com/tiangolo" target="_blank">@tiangolo</a>, am the creator and owner of the FastAPI repository. 🤓
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. lib/fips140/Makefile

    	rm -rf $$(go env GOMODCACHE)/golang.org/fips140@v$*
    
    # make v1.2.3.test runs the crypto tests using that snapshot.
    v%.test:
    	GOFIPS140=v$* go test -short crypto...
    
    # make updatesum updates the fips140.sum file.
    updatesum:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/MIENameTest.java

                throw new RuntimeException(e);
            }
            byte[] nameBytes = "bob".getBytes(StandardCharsets.US_ASCII);
    
            return Stream.of(
                    // Too short for TOK_ID + MECH_OID_LEN
                    Arguments.of("too short header", new byte[] { 0x04, 0x01, 0x00 }, IllegalArgumentException.class),
    
                    // Wrong TOK_ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    
    /**
     * Observes, modifies, and potentially short-circuits requests going out and the corresponding
     * responses coming back in. Typically interceptors add, remove, or transform headers on the request
     * or response.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

          for (int remaining = b.remaining(); remaining > 0; remaining--) {
            putByte(b.get());
          }
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putShort(short s) {
        putByte((byte) s);
        putByte((byte) (s >>> 8));
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putInt(int i) {
        putByte((byte) i);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top