Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,751 for LENGTH (0.08 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

                final char[] out = new char[in.length];
                final int length = in.length;
                int i, o, state;
                final int s;
    
                /* The canonicalization routine
                 */
                state = 0;
                o = 0;
                for (i = 0; i < length; i++) {
                    switch (state) {
                    case 0:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] suffix = {"f", "g"};
          String[] all = new String[elements.length + suffix.length];
          arraycopy(elements, 0, all, 0, elements.length);
          arraycopy(suffix, 0, all, elements.length, suffix.length);
          return ImmutableList.copyOf(all).subList(0, elements.length);
        }
      }
    
      public static class ImmutableListTailSubListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/CryptoTest.java

            assertNotNull(random2);
            assertEquals(length, random1.length);
            assertEquals(length, random2.length);
            // Very unlikely to be equal
            assertNotEquals(new String(random1), new String(random2));
        }
    
        @Test
        @DisplayName("Should handle AES encryption operations")
        void testAESOperations() throws Exception {
            // Given
            byte[] key = new byte[16]; // 128-bit key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            int offset = 50;
            byte[] infoData = createMockFileBasicInfoBuffer();
            System.arraycopy(infoData, 0, buffer, offset, infoData.length);
            response.setDataCount(infoData.length);
    
            int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset);
    
            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            // Verify num_sids
            assertEquals(2, lsarSidArrayX.num_sids, "num_sids should match the array length");
    
            // Verify sids array and its contents
            assertNotNull(lsarSidArrayX.sids, "sids array should not be null");
            assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match");
            assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         *
         * @param remoteKey remote memory key
         * @param address remote memory address
         * @param length length of memory region
         */
        public void addRdmaChannelInfo(int remoteKey, long address, int length) {
            this.rdmaChannelInfo = new RdmaChannelInfo(remoteKey, address, length);
            this.channel = Smb2Constants.SMB2_CHANNEL_RDMA_V1;
        }
    
        /**
         * Get RDMA channel information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            byte[] buffer = new byte[offset + notificationData.length];
            System.arraycopy(notificationData, 0, buffer, offset, notificationData.length);
    
            int result = response.readParametersWireFormat(buffer, offset, notificationData.length);
    
            assertTrue(result > 0);
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertEquals(1, itemList.get(0).getInputs().length);
            assertEquals(1, itemList.get(0).getOutputs().length);
            assertEquals("a1", itemList.get(0).getInputs()[0]);
            assertEquals("A1", itemList.get(0).getOutputs()[0]);
            assertFalse(itemList.get(0).isUpdated());
    
            assertEquals(2, itemList.get(1).getInputs().length);
            assertEquals(1, itemList.get(1).getOutputs().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            assertEquals(0, used, "readBytesWireFormat is unimplemented and must return 0");
        }
    
        private static byte[] subArray(byte[] src, int offset, int length) {
            byte[] dst = new byte[length];
            System.arraycopy(src, offset, dst, 0, length);
            return dst;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top