Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,611 for inst (0.05 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcBind.java

                "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", "DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED" };
    
        private static String getResultMessage(final int result) {
            return result < 4 ? result_message[result] : "0x" + jcifs.util.Hexdump.toHexString(result, 4);
        }
    
        @Override
        public DcerpcException getResult() {
            if (this.result != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

                "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", "DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED" };
    
        static String getResultMessage(final int result) {
            return result < 4 ? result_message[result] : "0x" + jcifs.smb1.util.Hexdump.toHexString(result, 4);
        }
    
        @Override
        public DcerpcException getResult() {
            if (result != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            assertEquals("DHnQ", new String(request.getName()));
            assertTrue(request.size() > 0);
    
            // Test encoding
            byte[] buffer = new byte[request.size()];
            int encoded = request.encode(buffer, 0);
            assertEquals(request.size(), encoded);
        }
    
        @Test
        public void testDurableHandleV2Request() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readParameterWordsWireFormat(buffer, 0);
    
            // Then
            assertEquals(8, result);
            assertEquals(0xffffL, instance.getCount());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/InfoTest.java

        // SMB uses little-endian byte order
        private static void writeLong(byte[] buf, int offset, long val) {
            for (int i = 0; i < 8; i++) {
                buf[offset + i] = (byte) ((val >>> (8 * i)) & 0xFF);
            }
        }
    
        private static void writeShort(byte[] buf, int offset, int val) {
            buf[offset] = (byte) (val & 0xFF);
            buf[offset + 1] = (byte) ((val >>> 8) & 0xFF);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            return Arrays.copyOf(fileId, 16);
        }
    
        @Override
        public int size() {
            // Context header (16) + name length (4) + padding to 8-byte alignment + data (16)
            return 16 + 4 + 4 + STRUCTURE_SIZE;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

         */
        public SmbShareInfo(final String netName, final int type, final String remark) {
            this.netName = netName;
            this.type = type;
            this.remark = remark;
        }
    
        @Override
        public String getName() {
            return netName;
        }
    
        @Override
        public int getType() {
            /* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java

        @Override
        public void invalidate() {
            // No real invalidation needed for TCP
            valid = false;
        }
    
        @Override
        protected int generateLocalKey() {
            return keyGenerator.getAndIncrement();
        }
    
        @Override
        protected int generateRemoteKey() {
            return keyGenerator.getAndIncrement();
        }
    
        @Override
        protected long getBufferAddress(ByteBuffer buffer) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.write(new byte[9]);
            assertTrue(cos.isInMemory());
            cos.close();
        }
    
        @Test
        public void testWriteWithOffsetAndLength() throws IOException {
            // Test write(byte[], int, int) method
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            byte[] data = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
            cos.write(data, 2, 3); // Write bytes at index 2, 3, 4
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/BeanDesc.java

         *            The index of the {@link PropertyDesc}
         * @return {@link PropertyDesc}
         */
        PropertyDesc getPropertyDesc(int index);
    
        /**
         * Returns the number of {@link PropertyDesc}.
         *
         * @return The number of {@link PropertyDesc}
         */
        int getPropertyDescSize();
    
        /**
         * Returns an {@link Iterable} of {@link PropertyDesc}.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top