Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 134 for size_t (0.08 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)
                throws IOException {
            this.handle = handle;
            final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

        checkNotNull(other);
        int size = size();
    
        if (other.length < size) {
          Object[] internal = internalArray();
          if (internal != null) {
            return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other);
          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
          other[size] = null;
        }
        copyIntoArray(other, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size method without input buffer")
        void testSizeWithoutInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40)
            // size8 rounds up to nearest multiple of 8
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

            return super.chain(n);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 8 + this.path.length() * 2);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size method")
        void testSize() {
            request = new Smb2SetInfoRequest(mockConfig);
            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.size()).thenReturn(100);
            request.setInfo(mockInfo);
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 32 + info.size())
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        /**
         * Rounds up the size to 8-byte alignment.
         *
         * @param size the size to align
         * @return the aligned size
         */
        protected static final int size8(final int size) {
            return size8(size, 0);
        }
    
        /**
         * Rounds up the size to the specified alignment.
         *
         * @param size the size to align
         * @param align the alignment boundary
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            for (final Smb2Lock l : this.locks) {
                size += l.size();
            }
            return size8(size);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

            this.closeFlags = flags;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SIDCacheImpl.java

                        s.acctName = sid.acctName;
                    } else {
                        list.add(s);
                    }
                }
    
                if (list.size() > 0) {
                    final SID[] resolved = list.toArray(new SID[list.size()]);
                    resolveSids0(authorityServerName, tc, resolved);
                    for (si = 0; si < resolved.length; si++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top