Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,129 for dsbyte (0.04 sec)

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

         * It should write the dialect string to the destination array.
         */
        @Test
        void testWriteBytesWireFormat() throws UnsupportedEncodingException {
            byte[] expectedBytes = DIALECTS.getBytes("ASCII");
            byte[] dst = new byte[expectedBytes.length];
            int dstIndex = 0;
    
            // Execute the method to write bytes
            int bytesWritten = smbComNegotiate.writeBytesWireFormat(dst, dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

        @Test
        public void testHandleGuidInvalidBytes() {
            assertThrows(IllegalArgumentException.class, () -> {
                new HandleGuid(new byte[8]); // Wrong length
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                new HandleGuid(new byte[20]); // Wrong length
            });
        }
    
        @Test
        public void testHandleGuidEqualsAndHashCode() {
            UUID uuid = UUID.randomUUID();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

         *
         * @see jcifs.internal.smb1.ServerMessageBlock#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readParameterWordsWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            byte[] dst = new byte[1024];
            int result = response.writeParameterWordsWireFormat(dst, 0);
    
            // The method should write parameter words
            assertTrue(result >= 0, "writeParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

        /**
         *
         */
        private static final Charset UTF16LE = StandardCharsets.UTF_16LE;
    
        /**
         * Constructs an AvTargetName from raw byte data
         *
         * @param raw the raw byte data for the target name AV pair
         */
        public AvTargetName(final byte[] raw) {
            super(AvPair.MsvAvTargetName, raw);
        }
    
        /**
         * Constructs an AvTargetName with the specified target name
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java

         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if an error occurs during decoding
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. doc/go_spec.html

    implementation-specific and may be larger than the slice length.
    
    <pre>
    []byte("hellø")             // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}
    []byte("")                  // []byte{}
    
    bytes("hellø")              // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}
    
    []myByte("world!")          // []myByte{'w', 'o', 'r', 'l', 'd', '!'}
    []myByte(myString("🌏"))    // []myByte{'\xf0', '\x9f', '\x8c', '\x8f'}
    </pre>
    </li>
    
    <li>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

         */
        public Smb2WriteRequest(final Configuration config, final byte[] fileId) {
            super(config, SMB2_WRITE);
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        /**
         * Creates a security descriptor by decoding from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

       */
      @GwtIncompatible // doesn't work
      public static byte[] toByteArray(char value) {
        return new byte[] {(byte) (value >> 8), (byte) value};
      }
    
      /**
       * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top