Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,601 for ints (1.44 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

        }
    
        /**
         * Reads bytes into the specified array at the given offset.
         * @param b the byte array to read into
         * @param off the start offset in the array
         * @param len the number of bytes to read
         * @throws IOException if an I/O error occurs
         */
        public void readFully(final byte[] b, final int off, final int len) throws IOException {
            this.dis.readFully(b, off, len);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * <li>If <code>type</code> is a parameterized type, its raw type is returned.</li>
         * <li>If <code>type</code> is a wildcard type, its (first) upper bound is returned.</li>
         * <li>If <code>type</code> is a type variable and is a key in the given map, its actual type argument is returned.</li>
         * <li>If <code>type</code> is a type variable and is not a key in the given map, its (first) upper bound is returned.</li>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

        private final int outputBufferOffset;
        private byte padding;
        private byte readFlags;
        private int readLength;
        private long offset;
        private int minimumCount;
        private int channel;
        private int remainingBytes;
        private RdmaChannelInfo rdmaChannelInfo;
    
        /**
         * Constructs a SMB2 read request with the specified parameters
         *
         * @param config
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

         */
        protected static String read(final Reader reader, final int initialCapacity) {
            int bufferSize;
            if (initialCapacity > 0 && initialCapacity <= MAX_BUF_SIZE) {
                bufferSize = initialCapacity;
            } else {
                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         */
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        /**
         * The toString representation should include the class name and both
         * fields.  This provides visibility into the debug output of the SMB
         * packet.
         */
        @Test
        @DisplayName("happy: toString contains class info and field values")
        void testToStringContainsAllInfo() {
            int fid = 256;
            long lwt = 9876543210L;
            SmbComClose close = new SmbComClose(fid, lwt);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @param off
         * @param tot
         * @return
         * @throws IOException
         */
        private int sendFragments(final DcerpcMessage msg, final byte[] out, final NdrBuffer buf) throws IOException {
            int off = 0;
            final int tot = buf.getLength() - 24;
            while (off < tot) {
                int fragSize = tot - off;
                if (24 + fragSize > this.max_xmit) {
                    // need fragementation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Encodable.java

     *
     * @author mbechler
     */
    public interface Encodable {
    
        /**
         * Encodes this object into the specified byte array.
         *
         * @param dst the destination byte array to encode into
         * @param dstIndex the starting index in the destination array
         * @return encoded length
         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Returns the size in bytes that this object will occupy when encoded.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessEventType.java

        NODE_AVAILABLE(7);
    
        private final int value;
    
        /**
         * Creates a new WitnessEventType with the specified value.
         *
         * @param value the numeric event type value
         */
        WitnessEventType(int value) {
            this.value = value;
        }
    
        /**
         * Gets the numeric event type value.
         *
         * @return the event type value
         */
        public int getValue() {
            return value;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException {
            // Arrange
            int access = 1;
            int rid = 100;
            int errorCode = 0xC0000022; // Example error code
    
            // Mock the behavior of sendrecv for MsrpcSamrOpenAlias to simulate failure
            doAnswer(invocation -> {
                MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top