Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,751 for LENGTH (0.11 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

            byte[] derived = new byte[length];
    
            // Combine inputs
            byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8);
            byte[] input = new byte[baseKey.length + labelBytes.length + (context != null ? context.length : 0)];
    
            int pos = 0;
            System.arraycopy(baseKey, 0, input, pos, baseKey.length);
            pos += baseKey.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

                while (iter.hasNext()) {
                    final String _key = (String) iter.next();
                    final int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
                        match = _key.equals(key);
                    } else if (_klen < key.length()) {
                        match = _key.regionMatches(0, key, 0, _klen) && key.charAt(_klen) == '\\';
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            } else {
                ret.append(Hexdump.toHexString(serverChallenge, 0, serverChallenge.length * 2));
            }
            ret.append(",signingKey=");
            if (signingKey == null) {
                ret.append("null");
            } else {
                ret.append(Hexdump.toHexString(signingKey, 0, signingKey.length * 2));
            }
            ret.append("]");
            return ret.toString();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Name.java

            } catch (final UnsupportedEncodingException uee) {}
            dstIndex += scope.length();
    
            dst[dstIndex++] = (byte) 0x00;
    
            // now go over scope backwards converting '.' to label length
    
            int i = dstIndex - 2;
            final int e = i - scope.length();
            int c = 0;
    
            do {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
    
            assertNotEquals(guid1, guid2);
            assertEquals(16, guid1.toBytes().length);
            assertEquals(16, guid2.toBytes().length);
        }
    
        @Test
        public void testHandleGuidRoundTrip() {
            HandleGuid original = new HandleGuid();
            byte[] bytes = original.toBytes();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            multiset1.add("only1");
            multiset2.add("only2");
            for (int i = 0; i < elements.length; i++) {
              multiset1.add(elements[i]);
              multiset2.add(elements[elements.length - 1 - i]);
            }
            if (elements.length > 0) {
              multiset1.add(elements[0]);
            }
            if (elements.length > 1) {
              /*
               * When a test requests a multiset with duplicates, our plan of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/WinErrorTest.java

        @DisplayName("Arrays: non-null, same length, and exact contents")
        void arrays_are_well_formed_and_match() {
            // Validate arrays existence and alignment (edge and structure checks)
            assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null");
            assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            byte[] actualDescrBytes = new byte[expectedDescrBytes.length];
            System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length);
            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
            // Verify level (0x0001 - 2 bytes)
            int descrEnd = 2 + expectedDescrBytes.length;
            assertEquals(0x01, dst[descrEnd]);
            assertEquals(0x00, dst[descrEnd + 1]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            assertThat(args.length, is(1));
            assertThat(args[0].getRawClass(), is(sameClass(Integer.class)));
    
            desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 1, map);
            assertThat(desc.getRawClass(), is(sameClass(Map.class)));
            args = desc.getArguments();
            assertThat(args.length, is(2));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/Hexdump.java

         * @param length the number of bytes to dump from the source array
         */
    
        public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) {
            if (length == 0) {
                return;
            }
    
            final int s = length % 16;
            final int r = s == 0 ? length / 16 : length / 16 + 1;
            final char[] c = new char[r * (74 + NL_LENGTH)];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top