Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 3,507 for int (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

         */
        private static byte[] newBuffer(int length) {
            // initialise with distinct pattern to detect unused trailing bytes
            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

     */
    @Deprecated(since = "4.0.0")
    class DefaultProblem implements Problem {
    
        private final String source;
    
        private final int lineNumber;
    
        private final int columnNumber;
    
        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         *
         * @param boundary the alignment boundary
         * @return the number of bytes added for alignment
         */
        public int align(final int boundary) {
            final int m = boundary - 1;
            final int i = this.index - this.start;
            final int n = (i + m & ~m) - i;
            advance(n);
            return n;
        }
    
        /**
         * Encodes a small integer (1 byte) in NDR format.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                for (int i = 0; i < 100; i++) {
                    int bytesRead = response.readBytesWireFormat(buffer, 0);
                    // Then
                    assertEquals(4, bytesRead, "Failed at iteration " + i);
                }
    
                // When - perform multiple write operations
                for (int i = 0; i < 100; i++) {
                    int bytesWritten = response.writeBytesWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        * Indicates whether Unicode strings are supported or used.
        */
        int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
        * Indicates whether OEM strings are supported or used.
        */
        int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
        /**
        * Indicates whether the authentication target is requested from
        * the server.
        */
        int NTLMSSP_REQUEST_TARGET = 0x00000004;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        public static final int MIN_VERSION = 0x0100; // SMB Direct 1.0
        /** Maximum supported SMB Direct protocol version (1.0) */
        public static final int MAX_VERSION = 0x0100; // SMB Direct 1.0
        /** SMB Direct negotiate request message type */
        public static final int NEGOTIATE_REQUEST = 0x01;
    
        // Message fields
        private int minVersion = MIN_VERSION;
        private int maxVersion = MAX_VERSION;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Test with different buffer sizes and indices
            int[][] configs = { { 100, 0 }, { 1024, 50 }, { 4096, 2000 }, { 65536, 32768 } };
    
            for (int[] config : configs) {
                byte[] dst = new byte[config[0]];
                int dstIndex = config[1];
    
                int result = response.writeBytesWireFormat(dst, dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/SMBSigningDigest.java

         *            extra padding to include in signature
         * @param msg
         *            The message to verify
         * @return whether verification was unsuccessful
         */
        boolean verify(byte[] data, int offset, int length, int extraPad, CommonServerMessageBlock msg);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/UnicodeString.java

         */
        public UnicodeString(final String str, final boolean zterm) {
            this.zterm = zterm;
    
            final int len = str.length();
            final int zt = zterm ? 1 : 0;
    
            this.length = this.maximum_length = (short) ((len + zt) * 2);
            this.buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
                this.buffer[i] = (short) str.charAt(i);
            }
            if (zterm) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top