Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 3,882 for exceeds (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                request.writeBytesWireFormat(buffer, 0);
            });
        }
    
        @Test
        @DisplayName("Should throw exception when offset exceeds buffer")
        void testWriteBytesWireFormatOffsetTooLarge() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

            // This test uses a real MD5 instance to verify the HMAC calculation logic
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    
            byte[] key = { (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b,
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/FileUtilTest.java

            final byte[] bytes = FileUtil.readBytes(file, 1024);
            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        /**
         * Test readBytes with custom maxSize - file exceeds limit
         *
         * @throws Exception
         */
        @Test(expected = IORuntimeException.class)
        public void testReadBytes_CustomMaxSize_ExceedsLimit() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        /**
         * Skip n bytes of data on this stream. This operation will not result
         * in any IO with the server. Unlink <code>InputStream</code> value less than
         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip(final long n) throws IOException {
            if (n > 0) {
                fp += n;
                return n;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            throw new DfsReferral(dr);
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response)
                throws SmbException {
            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, T response,
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

        /**
         * Skip n bytes of data on this stream. This operation will not result
         * in any IO with the server. Unlink <code>InputStream</code> value less than
         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip(final long n) throws IOException {
            if (n > 0) {
                this.fp += n;
                return n;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                    byte[] buffer = invocation.getArgument(0);
                    buffer[0] = 5;
                    buffer[1] = 0;
                    Encdec.enc_uint16le((short) 4281, buffer, 8); // Exceeds maxRecv
                    return 20;
                });
    
                assertThrows(IOException.class, () -> handle.doReceiveFragment(buf));
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // Should we pepper more of these calls throughout the above? Where?
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
       * evicted and nothing else.
       */
      public void testEviction_maxWeight_entryTooBig() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                            responseData.setResponseBody(outputFile, true);
                            if (logger.isDebugEnabled()) {
                                logger.debug(
                                        "Object size exceeds cache threshold, using temp file: bucket={}, path={}, size={}, threshold={}, tempFile={}",
                                        bucketName, path, blob.getSize(), maxCachedContentSize, outputFile.getAbsolutePath());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/escape/UnicodeEscaper.java

                    + " at index "
                    + (index - 1)
                    + " in '"
                    + seq
                    + "'");
          }
        }
        throw new IndexOutOfBoundsException("Index exceeds specified range");
      }
    
      /**
       * Helper method to grow the character buffer as needed, this only happens once in a while so it's
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top