Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 503 for arra (0.58 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

            @DisplayName("Returns 0 with valid array and various indices")
            void normalArray(int idx) {
                byte[] arr = new byte[15];
                assertEquals(0, response.readParameterWordsWireFormat(arr, idx));
            }
        }
    
        @Nested
        @DisplayName("readBytesWireFormat tests")
        class ReadBytes {
    
            @Test
            @DisplayName("Returns 0 with null array")
            void nullArray() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/UUID.java

            final char[] arr = str.toCharArray();
            time_low = hex_to_bin(arr, 0, 8);
            time_mid = S(hex_to_bin(arr, 9, 4));
            time_hi_and_version = S(hex_to_bin(arr, 14, 4));
            clock_seq_hi_and_reserved = B(hex_to_bin(arr, 19, 2));
            clock_seq_low = B(hex_to_bin(arr, 21, 2));
            node = new byte[6];
            node[0] = B(hex_to_bin(arr, 24, 2));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            // Test String array
            final String[] arr = new String[] { "a", "b", "c" };
            binary = SerializeUtil.fromObjectToBinary(arr);
            final String[] result = (String[]) SerializeUtil.fromBinaryToObject(binary);
            assertEquals(arr.length, result.length);
            assertEquals(arr[0], result[0]);
    
            // Test ArrayList
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtStatus.java

        /** More processing is required to complete this request */
        int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016;
        /** Access is denied */
        int NT_STATUS_ACCESS_DENIED = 0xC0000022;
        /** The data area passed to a system call is too small */
        int NT_STATUS_BUFFER_TOO_SMALL = 0xC0000023;
        /** The object name is invalid */
        int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033;
        /** The object was not found */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/Config.java

         */
    
        public static InetAddress[] getInetAddressArray(final String key, final String delim, final InetAddress[] def) {
            final String p = getProperty(key);
            if (p != null) {
                final StringTokenizer tok = new StringTokenizer(p, delim);
                final int len = tok.countTokens();
                final InetAddress[] arr = new InetAddress[len];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

            CIFSContext ctx = mock(CIFSContext.class);
            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
            jcifs.SID[] arr = new jcifs.SID[] { sid("S-1-1-0") };
            cache.resolveSids(ctx, "server", arr, 0, 0);
            verify(cache, never()).resolveSids0(any(), any(), any());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** More processing is required to complete this request */
        int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016;
        /** Access is denied */
        int NT_STATUS_ACCESS_DENIED = 0xC0000022;
        /** The data area passed to a system call is too small */
        int NT_STATUS_BUFFER_TOO_SMALL = 0xC0000023;
        /** The object name is invalid */
        int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033;
        /** The object was not found */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Config.java

                final int len = tok.countTokens();
                final InetAddress[] arr = new InetAddress[len];
                for (int i = 0; i < len; i++) {
                    final String addr = tok.nextToken();
                    try {
                        arr[i] = InetAddress.getByName(addr);
                    } catch (final UnknownHostException uhe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            assert i == body.length;
            return body;
        }
    
        /**
         * Build a CREATE response body with a single, unrecognized create context.
         * The parser should iterate it but produce an empty contexts array.
         */
        private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) {
            // Base body part size (up to and including CreateContextsLength)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            assertArgumentNotNull("array", array);
    
            final int[] newArray = (int[]) Array.newInstance(int.class, array.length + 1);
            System.arraycopy(array, 0, newArray, 0, array.length);
            newArray[array.length] = value;
            return newArray;
        }
    
        /**
         * Returns a new array with the specified long value appended to the end of the long array.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
Back to top