Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1691 - 1700 of 1,812 for rethrow (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

          // Read the header.
          val header = Buffer()
          fileOperator.read(0, header, FILE_HEADER_SIZE)
          val prefix = header.readByteString(PREFIX_CLEAN.size.toLong())
          if (prefix != PREFIX_CLEAN) throw IOException("unreadable cache file")
          val upstreamSize = header.readLong()
          val metadataSize = header.readLong()
    
          // Read the metadata.
          val metadataBuffer = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

        void testToStringWithNullSID() {
            ace.allow = true;
            ace.access = 0x001200A9;
            ace.flags = 0x00;
            ace.sid = null;
    
            // This should throw NullPointerException as the current implementation doesn't handle null SID
            assertThrows(NullPointerException.class, () -> ace.toString());
        }
    
        @Test
        @DisplayName("Test decode creates new SID instance")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            }
            if (responseBodyFile != null) {
                try {
                    return new FileInputStream(responseBodyFile);
                } catch (final FileNotFoundException e) {
                    throw new IORuntimeException(e);
                }
            }
            return null;
        }
    
        /**
         * Sets the response body from a byte array.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            int len = Encdec.dec_uint32le(this.buf, i);
            i += 12;
            if (len != 0) {
                len--;
                final int size = len * 2;
                if (size < 0 || size > 0xFFFF) {
                    throw new NdrException(NdrException.INVALID_CONFORMANCE);
                }
                val = Strings.fromUNIBytes(this.buf, i, size);
                i += size + 2;
            }
            advance(i - this.index);
            return val;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

                        ImmutableList.of("foo", "bar"),
                        new Function<String, String>() {
                          @Override
                          public String apply(String input) {
                            throw new IndexOutOfBoundsException();
                          }
                        })
                    .toArray());
      }
    
      private static void assertTransformListIterator(List<String> list) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
    
            if (structureSize != 89) {
                throw new SMBProtocolDecodingException("Structure size is not 89");
            }
    
            this.oplockLevel = buffer[bufferIndex + 2];
            this.openFlags = buffer[bufferIndex + 3];
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

                @Override
                public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                    if (buffer == null || buffer.length < bufferIndex + 4) {
                        throw new SMBProtocolDecodingException("Buffer too small");
                    }
                    return 4;
                }
    
                @Override
                public int encode(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                try {
                    decoded.decode(buffer, 200, encoded);
                    assertArrayEquals(ciphers, decoded.getCiphers());
                } catch (SMBProtocolDecodingException e) {
                    fail("Should not throw exception: " + e.getMessage());
                }
            }
    
            @Test
            @DisplayName("Should verify cipher constants")
            void testCipherConstants() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          for (RoundingMode mode : modes) {
            Double previous = expectedValues.put(mode, expectedValue);
            if (previous != null) {
              throw new AssertionError();
            }
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        RoundToDoubleTester roundUnnecessaryShouldThrow() {
          unnecessaryShouldThrow = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top