Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,611 for inst (0.23 sec)

  1. src/test/java/jcifs/DfsReferralDataTest.java

        }
    
        @Test
        @DisplayName("Should get path consumed")
        void testGetPathConsumed() {
            // Given
            int pathConsumed = 10;
            when(mockReferralData.getPathConsumed()).thenReturn(pathConsumed);
    
            // When
            int result = mockReferralData.getPathConsumed();
    
            // Then
            assertEquals(pathConsumed, result);
            verify(mockReferralData).getPathConsumed();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

            this.timeoutSpecified = true;
            this.timeout = timeout;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.timeout, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

         * {@code decode_out}.
         */
        private static class TestMessage extends DcerpcMessage {
            int decodedValue = 0;
    
            TestMessage() {
                /* nothing */
            }
    
            @Override
            public int getOpnum() {
                return 0x1234;
            }
    
            @Override
            public void encode_in(NdrBuffer buf) throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final int boundarySize = boundary.length;
            final int limitSize = getBoundaryLimitSize();
            if (boundarySize > getBoundaryLimitSize()) {
                throwTooLongBoundarySizeException(contentType, boundarySize, limitSize);
            }
        }
    
        protected int getBoundaryLimitSize() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
            // Arrange
            String server = "testServer";
            int access = 123;
            int errorCode = 12345;
    
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = errorCode; // Simulate RPC error
                return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

        }
    
        class Hoge {
            private int i;
    
            private String s;
    
            /**
             * @param i
             *            the i to set
             */
            public void setI(final int i) {
                this.i = i;
            }
    
            /**
             * @return the i
             */
            public int getI() {
                return i;
            }
    
            /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

        }
    
        /**
         * Gets the return code.
         *
         * @return the return code
         */
        public int getReturnCode() {
            return returnCode;
        }
    
        /**
         * Sets the return code.
         *
         * @param returnCode the return code
         */
        public void setReturnCode(int returnCode) {
            this.returnCode = returnCode;
        }
    
        /**
         * Gets the recommended heartbeat interval.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

        }
    
        /**
         * Gets the return code.
         *
         * @return the return code
         */
        public int getReturnCode() {
            return returnCode;
        }
    
        /**
         * Sets the return code.
         *
         * @param returnCode the return code
         */
        public void setReturnCode(int returnCode) {
            this.returnCode = returnCode;
        }
    
        /**
         * Gets the context handle.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

        /**
         * SMB 3.0 persistent handle - survives server reboot
         */
        PERSISTENT(3);
    
        private final int value;
    
        HandleType(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this handle type
         * @return the numeric value
         */
        public int getValue() {
            return value;
        }
    
        /**
         * Get HandleType from numeric value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        }
    
        private void establishAdditionalChannels() {
            int currentChannels = channels.size();
            int targetChannels = Math.min(maxChannels, Math.min(localInterfaces.size(), remoteInterfaces.size()));
    
            for (int i = currentChannels; i < targetChannels; i++) {
                try {
                    establishChannel(i);
                } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top