Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Consuming (0.08 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Read the three data bytes
            assertEquals(1, sis.read());
            assertEquals(2, sis.read());
            assertEquals(3, sis.read());
    
            // After consuming all data, trying to read again will attempt to read
            // another packet header, but since there's no more data, it will throw IOException
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertNotNull(r2, "Second adapted resource must not be null");
            assertTrue(r2.getName().endsWith("/"), "Name should end with '/'");
    
            assertFalse(itr.hasNext(), "No more elements after consuming two");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @DisplayName("Invalid names are skipped; next valid is returned")
        void skipsMalformedNames_thenReturnsValid(String badName) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-files.md

        * A file stored in memory up to a maximum size limit, and after passing this limit it will be stored in disk.
    * This means that it will work well for large files like images, videos, large binaries, etc. without consuming all the memory.
    * You can get metadata from the uploaded file.
    * It has a <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` interface.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @throws IOException if an I/O error occurs
         */
        protected abstract void makeKey(Request request) throws IOException;
    
        /**
         * Reads and returns the key of the next message without consuming it.
         *
         * @return the request key of the next message
         * @throws IOException if an I/O error occurs
         */
        protected abstract Request peekKey() throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            verify(nameFilter, atLeast(1)).accept(eq(parent), nameCaptor.capture());
            assertTrue(nameCaptor.getAllValues().contains(acceptedName));
    
            // After consuming accepted name, iterator should be exhausted and closed
            assertFalse(it.hasNext());
            verify(tree, times(1)).release();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * trailers are available to read.
       *
       * It is not safe to call this concurrently with code that is processing the response body. If you
       * call this without consuming the complete response body, any remaining bytes in the response
       * body will be discarded before trailers are returned.
       *
       * If [Call.cancel] is called while this is blocking, this call will immediately throw.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/concepts.md

    And multiple processes normally **don't share any memory**. This means that each running process has its own things, variables, and memory. And if you are consuming a large amount of memory in your code, **each process** will consume an equivalent amount of memory.
    
    ### Server Memory { #server-memory }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. docs/config/README.md

    ```
    ~ mc admin config set alias/ scanner
    KEY:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(synStream.associatedStreamId).isEqualTo(-1)
        assertThat(synStream.headerBlock).isEqualTo(headerEntries("a", "artichaut"))
      }
    
      /** A server RST_STREAM shouldn't prevent the client from consuming the response body.  */
      @Test fun serverResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    			default:
    				internalLogIf(ctx, err)
    			}
    			if retries >= maxTries {
    				return err
    			}
    			retries++
    			time.Sleep(retryDelay)
    		}
    		return nil
    	})
    
    	// Blocks while consuming entries or an error occurs.
    	err = bw.Close()
    	if err != nil {
    		mc.setErr(err.Error())
    	}
    	metaMu.Lock()
    	defer metaMu.Unlock()
    	if mc.meta.error != "" {
    		return err
    	}
    	// Save success
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top