Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for align (0.09 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            return this.buf;
        }
    
        /**
         * Aligns the buffer index to the specified boundary with a fill value.
         *
         * @param boundary the alignment boundary
         * @param value the fill value for padding
         * @return the number of bytes added for alignment
         */
        public int align(final int boundary, final byte value) {
            final int n = align(boundary);
            int i = n;
            while (i > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                _dst.align(4);
                _dst.enc_ndr_referent(entry_path, 1);
    
                if (entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(entry_path);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                final int _entry_pathp = _src.dec_ndr_long();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                _dst.align(4);
                _dst.enc_ndr_referent(this.entry_path, 1);
    
                if (this.entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.entry_path);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0();
            shareInfo0.netname = "TestShare";
    
            shareInfo0.encode(mockNdrBuffer);
    
            // Verify the encode operations
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).enc_ndr_referent("TestShare", 1);
            verify(mockDeferredBuffer).enc_ndr_string("TestShare");
        }
    
        @Test
        void testShareInfo0EncodeWithNullNetname() throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                _src.align(4);
                _src.align(4);
                if (this.name == null) {
                    this.name = new rpc.unicode_string();
                }
                this.name.length = (short) _src.dec_ndr_short();
                this.name.maximum_length = (short) _src.dec_ndr_short();
                final int _name_bufferp = _src.dec_ndr_long();
                _src.align(4);
                if (this.dns_domain == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                _src.align(4);
                _src.align(4);
                if (name == null) {
                    name = new rpc.unicode_string();
                }
                name.length = (short) _src.dec_ndr_short();
                name.maximum_length = (short) _src.dec_ndr_short();
                final int _name_bufferp = _src.dec_ndr_long();
                _src.align(4);
                if (dns_domain == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                _dst.align(4);
                _dst.enc_ndr_referent(netname, 1);
    
                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                final int _netnamep = _src.dec_ndr_long();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            return buf;
        }
    
        /**
         * Aligns the buffer index to the specified boundary with a fill value.
         *
         * @param boundary the alignment boundary
         * @param value the fill value for padding
         * @return the number of bytes added for alignment
         */
        public int align(final int boundary, final byte value) {
            final int n = align(boundary);
            int i = n;
            while (i > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            // Already aligned
            ndrBuffer.setIndex(4);
            alignedBytes = ndrBuffer.align(4);
            assertEquals(0, alignedBytes);
            assertEquals(4, ndrBuffer.getIndex());
    
            // Align to 8-byte boundary
            ndrBuffer.setIndex(5);
            alignedBytes = ndrBuffer.align(8);
            assertEquals(3, alignedBytes); // Should advance by 3 bytes (5 -> 8)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. docs/fa/docs/index.md

    <style>
    .md-content .md-typeset h1 { display: none; }
    </style>
    
    <p align="center">
      <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
    </p>
    <p align="center">
        فریم‌ورک FastAPI، کارایی بالا، یادگیری آسان، کدنویسی سریع، آماده برای استفاده در محیط پروداکشن
    </p>
    <p align="center">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 26K bytes
    - Viewed (0)
Back to top