Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 337 for reusing (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     *   ... // Handle the failure.
     *   }
     * });
     * ```
     *
     * These examples will not work if you're consuming the response body on another thread. In such
     * cases the consuming thread must call [close] when it has finished reading the response
     * body.
     *
     * ### The response body can be consumed only once.
     *
     * This class may be used to stream very large responses. For example, it is possible to use this
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

      @LazyInit private ThreadConfinedTaskQueue latestTaskQueue = new ThreadConfinedTaskQueue();
    
      /**
       * This object is unsafely published, but avoids problematic races by relying exclusively on the
       * identity equality of its Thread field so that the task field is only accessed by a single
       * thread.
       */
      private static final class ThreadConfinedTaskQueue {
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            TransPeekNamedPipeResponse testResponse = new TransPeekNamedPipeResponse(testConfig);
    
            // Assert
            assertNotNull(testResponse);
        }
    
        @Test
        @DisplayName("Test state changes after reading parameters")
        void testStateAfterReadingParameters() {
            // Arrange
            byte[] buffer = new byte[10];
            SMBUtil.writeInt2(1500, buffer, 0);
            SMBUtil.writeInt2(0xFFFF, buffer, 2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                }
                maxLineBuffer = maxOutputLineBuffer;
            }
    
            /**
             * Runs the input stream thread, reading lines and buffering them.
             */
            @Override
            public void run() {
                for (;;) {
                    try {
                        final String line = br.readLine();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            private final int maxLineBuffer;
    
            /**
             * Constructs a new InputStreamThread.
             * @param is The InputStream to read from.
             * @param charset The charset to use for reading.
             * @param maxOutputLineBuffer The maximum number of lines to buffer.
             */
            public InputStreamThread(final InputStream is, final String charset, final int maxOutputLineBuffer) {
                try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            setupCountField.setAccessible(true);
            assertEquals(128, setupCountField.get(response));
        }
    
        @Test
        @DisplayName("Test reading from different buffer positions")
        void testReadFromDifferentPositions() throws Exception {
            byte[] buffer = new byte[200];
    
            // Test at various positions in the buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

    import java.util.Map;
    
    import jcifs.util.Encdec;
    import jcifs.util.Strings;
    
    /**
     * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages.
     * This class provides methods for reading and writing primitive types and strings
     * in NDR format for DCE/RPC communication.
     */
    public class NdrBuffer {
    
        private int referent;
        private Map<Object, Entry> referents;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(1, ndrBuffer.getIndex());
            assertEquals(1, ndrBuffer.getLength());
            assertEquals((byte) 0xAB, buffer[0]);
    
            ndrBuffer.setIndex(0); // Reset index for reading
            int val = ndrBuffer.dec_ndr_small();
            assertEquals(0xAB, val);
            assertEquals(1, ndrBuffer.getIndex());
        }
    
        @Test
        void testEncDecNdrShort() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

          stream.defaultWriteObject();
          stream.writeObject(inverse());
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            @SuppressWarnings("unchecked") // reading data stored by writeObject
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
          stream.defaultReadObject();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       * body. This was misleading for tracing because it was too early.
       */
      open fun responseBodyStart(call: Call) {
      }
    
      /**
       * Invoked immediately after receiving a response body and completing reading it.
       *
       * Will only be invoked for requests having a response body e.g. won't be invoked for a web socket
       * upgrade.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top