Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ArrayIndexOutOfBoundsException (0.36 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    import okhttp3.Headers
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.ArrayIndexOutOfBoundsException
    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString.Companion.decodeHex
    import okio.Closeable
    import okio.FileNotFoundException
    import okio.FileSystem
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // Massive string
          Strings.repeat("12345678", (1 << 30) + 3);
          fail();
        } catch (ArrayIndexOutOfBoundsException expected) {
        }
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testRepeat_null() {
        try {
          Strings.repeat(null, 5);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/MD4.java

            // make sure we don't exceed input's allocated size/length
            if (offset < 0 || len < 0 || (long)offset + len > input.length)
                throw new ArrayIndexOutOfBoundsException();
    
            // compute number of bytes still unhashed; ie. present in buffer
            int bufferNdx = (int)(count % BLOCK_LENGTH);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/StringsTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // Massive string
          Strings.repeat("12345678", (1 << 30) + 3);
          fail();
        } catch (ArrayIndexOutOfBoundsException expected) {
        }
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testRepeat_null() {
        try {
          Strings.repeat(null, 5);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

        final int len = string.length();
        final long longSize = (long) len * (long) count;
        final int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        final char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Strings.java

        final int len = string.length();
        final long longSize = (long) len * (long) count;
        final int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        final char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

         * a number. Does not verify whether supplied radix is valid, passing an invalid radix will give
         * undefined results or an ArrayIndexOutOfBoundsException.
         */
        static boolean overflowInParse(long current, int digit, int radix) {
          if (current >= 0) {
            if (current < maxValueDivs[radix]) {
              return false;
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top