Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 286 of 286 for dstIndex (0.19 sec)

  1. android/guava/src/com/google/common/escape/CharEscaper.java

            dest = growBuffer(dest, destIndex, sizeNeeded);
          }
          s.getChars(lastEscape, slen, dest, destIndex);
          destIndex = sizeNeeded;
        }
        return new String(dest, 0, destIndex);
      }
    
      /**
       * Helper method to grow the character buffer as needed, this only happens once in a while so it's
       * ok if it's in a method call. If the index passed in is 0 then no copying will be done.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/UnicodeEscaper.java

        if (charsSkipped > 0) {
          int endIndex = destIndex + charsSkipped;
          if (dest.length < endIndex) {
            dest = growBuffer(dest, destIndex, endIndex);
          }
          s.getChars(unescapedChunkStart, end, dest, destIndex);
          destIndex = endIndex;
        }
        return new String(dest, 0, destIndex);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/escape/UnicodeEscaper.java

        if (charsSkipped > 0) {
          int endIndex = destIndex + charsSkipped;
          if (dest.length < endIndex) {
            dest = growBuffer(dest, destIndex, endIndex);
          }
          s.getChars(unescapedChunkStart, end, dest, destIndex);
          destIndex = endIndex;
        }
        return new String(dest, 0, destIndex);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

       * @since 11.0
       */
      public static String getFileExtension(String fullName) {
        checkNotNull(fullName);
        String fileName = new File(fullName).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/ByteEncodableTest.java

            byte[] dest = new byte[5];
    
            // Expect IndexOutOfBoundsException from System.arraycopy
            assertThrows(IndexOutOfBoundsException.class, () -> {
                encodable.encode(dest, 3); // destIndex=3, len=3, dest.length=5. 3+3 > 5
            }, "Should throw IndexOutOfBoundsException if destination offset + length exceeds destination array bounds");
        }
    
        @Test
        void testEncodeNullSourceArray() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

       * @since 11.0
       */
      public static String getFileExtension(String fullName) {
        checkNotNull(fullName);
        String fileName = new File(fullName).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top