Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,577 for inst (0.03 sec)

  1. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] dst = new byte[256];
            int offset = 10;
    
            // Mark the buffer before offset
            for (int i = 0; i < offset; i++) {
                dst[i] = (byte) 0xFF;
            }
    
            int bytesWritten = packet.writeTrailerWireFormat(dst, offset);
    
            assertTrue(bytesWritten > 0);
            // Check that bytes before offset are unchanged
            for (int i = 0; i < offset; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

        SmbComNegotiate() {
            command = SMB_COM_NEGOTIATE;
            flags2 = DEFAULT_FLAGS2;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes("ASCII");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        void testWriteSetupWireFormat() {
            // Given
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, "test");
            byte[] dst = new byte[10];
            int dstIndex = 0;
    
            // When
            int bytesWritten = trans2GetDfsReferral.writeSetupWireFormat(dst, dstIndex);
    
            // Then
            assertEquals(2, bytesWritten);
            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/WinError.java

         */
    
        /** The operation completed successfully */
        int ERROR_SUCCESS = 0;
        /** Access is denied */
        int ERROR_ACCESS_DENIED = 5;
        /** No more connections can be made to this remote computer */
        int ERROR_REQ_NOT_ACCEP = 71;
        /** The pipe state is invalid */
        int ERROR_BAD_PIPE = 230;
        /** All pipe instances are busy */
        int ERROR_PIPE_BUSY = 231;
        /** The pipe is being closed */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Base64.java

            final int length = string.length();
            if (length == 0) {
                return new byte[0];
            }
            final int pad = string.charAt(length - 2) == '=' ? 2 : string.charAt(length - 1) == '=' ? 1 : 0;
            final int size = length * 3 / 4 - pad;
            final byte[] buffer = new byte[size];
            int block;
            int i = 0;
            int index = 0;
            while (i < length) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        void testGetEntries_largeNumberOfRoots() throws Exception {
            // Create array with many entries
            int count = 100;
            netdfs.DfsEnumArray200 largeArray = new netdfs.DfsEnumArray200();
            largeArray.count = count;
            largeArray.s = new netdfs.DfsInfo200[count];
    
            for (int i = 0; i < count; i++) {
                netdfs.DfsInfo200 entry = new netdfs.DfsInfo200();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

         */
        @Override
        public int size() {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            for (final Smb2Lock l : this.locks) {
                size += l.size();
            }
            return size8(size);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessVersion.java

         */
        public int getValue() {
            return version;
        }
    
        /**
         * Gets the major version number.
         *
         * @return the major version
         */
        public int getMajorVersion() {
            return (version >> 16) & 0xFFFF;
        }
    
        /**
         * Gets the minor version number.
         *
         * @return the minor version
         */
        public int getMinorVersion() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

         * @param length number of bytes to read
         * @return number of bytes actually read
         * @throws IOException if read operation fails
         */
        public abstract int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException;
    
        /**
         * Write data to RDMA connection
         *
         * @param buffer buffer containing data to write
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top