Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for reached (0.04 sec)

  1. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

                throw new SmbEndOfFileException();
            });
            assertEquals("Unexpectedly reached end of file", thrown.getMessage());
        }
    
        /**
         * toString should include both the class name and the default message.
         */
        @ParameterizedTest
        @ValueSource(strings = { "SmbEndOfFileException", "Unexpectedly reached end of file" })
        void toStringContainsKeyInfo(String expectedSubstring) {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEndOfFileException.java

         *
         */
        private static final long serialVersionUID = 298752101881244000L;
    
        /**
         * Constructs an end-of-file exception.
         */
        public SmbEndOfFileException() {
            super("Unexpectedly reached end of file");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    @NullMarked
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            fp = 0L;
        }
    
        /**
         * Reads a single byte from the file at the current file pointer position.
         *
         * @return the byte read as an integer (0-255), or -1 if end of file is reached
         * @throws SmbException if an I/O error occurs
         */
        public int read() throws SmbException {
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. docs/bucket/quota/README.md

    ![quota](https://raw.githubusercontent.com/minio/minio/master/docs/bucket/quota/bucketquota.png)
    
    Buckets can be configured to have `Hard` quota - it disallows writes to the bucket after configured quota limit is reached.
    
    ## Prerequisites
    
    - Install MinIO - [MinIO Quickstart Guide](https://docs.min.io/community/minio-object-store/operations/deployments/baremetal-deploy-minio-on-redhat-linux.html#procedure).
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        void testSessionLimitPreventsReuse() throws Exception {
            // Given: Config with session limit of 1
            when(config.getSessionLimit()).thenReturn(1);
    
            // Create first connection
            SmbTransportImpl first = pool.getSmbTransport(ctx, address, 445, false);
    
            // Mock that session limit is reached
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/BufferCache.java

            if (buf == null || buf.length != SmbComTransaction.TRANSACTION_BUF_SIZE) {
                return; // Silently ignore invalid buffers
            }
    
            // Only cache if we haven't reached the limit - O(1) check
            if (queueSize.get() < MAX_BUFFERS) {
                if (bufferQueue.offer(buf)) { // O(1) operation
                    queueSize.incrementAndGet();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
       * processing an event.
       *
       * @return false when EOF is reached
       */
      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
        while (true) {
          when (source.select(options)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileFilterTest.java

            SmbFileFilter filter = f -> {
                if (f == null) {
                    throw new NullPointerException("file must not be null");
                }
                return true; // not reached in this test
            };
    
            // Act + Assert
            NullPointerException npe = assertThrows(NullPointerException.class, () -> filter.accept(null));
            assertEquals("file must not be null", npe.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ReaderUtil.java

         *
         * @param reader
         *            the {@link BufferedReader} (must not be {@literal null})
         * @return a line of text, or {@literal null} if the end of the stream has been reached
         * @see BufferedReader#readLine()
         */
        public static String readLine(final BufferedReader reader) {
            assertArgumentNotNull("reader", reader);
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top