Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for srcIndex (0.04 sec)

  1. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            byte[] src = new byte[100];
            int srcIndex = 0;
    
            // Mock the superclass method to control its behavior
            doReturn(15).when((NameServicePacket) request).readQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            int result = request.readBodyWireFormat(src, srcIndex);
    
            // Verify that readQuestionSectionWireFormat was called
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameQueryRequest.java

        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readQuestionSectionWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readRDataWireFormat(final byte[] src, final int srcIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void moveLastEntry(int dstIndex) {
        int srcIndex = size() - 1;
        setSucceeds(getPredecessor(dstIndex), getSuccessor(dstIndex));
        if (dstIndex < srcIndex) {
          setSucceeds(getPredecessor(srcIndex), dstIndex);
          setSucceeds(dstIndex, getSuccessor(srcIndex));
        }
        super.moveLastEntry(dstIndex);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Hexdump.java

         *
         * @param src the source byte array to convert
         * @param srcIndex the starting index in the source array
         * @param size the number of bytes to convert from the source array
         * @return a hexadecimal string representation of the byte array
         */
        public static String toHexString(final byte[] src, final int srcIndex, final int size) {
            final char[] c = new char[2 * size];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

        @Nullable Object[] values = requireValues();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
          // move the last entry to the removed spot, just like we moved the element
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object object = elements[srcIndex];
          elements[dstIndex] = object;
          elements[srcIndex] = null;
    
          // move the last entry to the removed spot, just like we moved the element
          entries[dstIndex] = entries[srcIndex];
          entries[srcIndex] = 0;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0
            byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 };
            assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0
            assertEquals("0011", Hexdump.toHexString(data4, 1, 4)); // Bug: ignores srcIndex, reads from 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

        @Nullable Object[] values = requireValues();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
          // move the last entry to the removed spot, just like we moved the element
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Hexdump.java

         * @param src the source byte array containing the data to dump
         * @param srcIndex the starting index in the source array
         * @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;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

            subCommand = SmbComTransaction.TRANS2_FIND_FIRST2;
        }
    
        String readString(final byte[] src, final int srcIndex, int len) {
            String str = null;
            try {
                if (useUnicode) {
                    // should Unicode alignment be corrected for here?
                    str = new String(src, srcIndex, len, UNI_ENCODING);
                } else {
    
                    /* On NT without Unicode the fileNameLength
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top