Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 980 for Received (0.05 sec)

  1. src/main/java/jcifs/util/transport/Response.java

        /**
         * Checks if the response has been received.
         *
         * @return whether the response is received
         */
        boolean isReceived();
    
        /**
         * Set received status
         */
        void received();
    
        /**
         * Unset received status
         */
        void clearReceived();
    
        /**
         * Gets the number of credits granted by the server.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         *
         * @return bytes sent
         */
        public long getBytesSent() {
            return bytesSent.get();
        }
    
        /**
         * Get number of bytes received
         *
         * @return bytes received
         */
        public long getBytesReceived() {
            return bytesReceived.get();
        }
    
        /**
         * Get number of requests sent
         *
         * @return requests sent
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                             * loop around and try again.
                             */
                            if (response.received && request.questionType == response.recordType) {
                                return;
                            }
    
                            response.received = false;
                            timeout -= System.currentTimeMillis() - start;
                        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            when(tree.send(any(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class))).thenAnswer((InvocationOnMock inv) -> {
                Trans2FindFirst2Response resp = inv.getArgument(1);
                resp.received(); // mark as received
                throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, (Throwable) null);
            });
    
            DirFileEntryEnumIterator1 it = new DirFileEntryEnumIterator1(tree, parent, "*", null, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // When
            boolean received = response.isReceived();
    
            // Then
            assertTrue(received);
            verify(response).isReceived();
        }
    
        @Test
        @DisplayName("Test Response interface methods - received")
        void testReceived() {
            // Given
            doNothing().when(response).received();
    
            // When
            response.received();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            void testReset() {
                // Set initial state
                response.received();
                assertTrue(response.isReceived());
    
                // Reset
                response.reset();
    
                assertFalse(response.isReceived());
            }
    
            @Test
            @DisplayName("Should handle received notification")
            void testReceived() throws InterruptedException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestTest.java

                this.received = false;
                this.errorCode = 0;
                this.exception = null;
            }
    
            // Methods from jcifs.util.transport.Response interface
            @Override
            public boolean isReceived() {
                return received;
            }
    
            @Override
            public void received() {
                this.received = true;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         */
        SmbFileHandle ensureOpen() throws CIFSException;
    
        /**
         * Receive data from the pipe
         *
         * @param buf buffer to receive data into
         * @param off offset in the buffer
         * @param length maximum length to receive
         * @return number of bytes received
         * @throws IOException if an I/O error occurs
         */
        int recv(byte[] buf, int off, int length) throws IOException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val connection = connect(peer)
        connection.writePingAndAwaitPong() // Ensure the SETTINGS have been received.
        val stream = connection.newStream(headerEntries("a", "android"), true)
        val sink = stream.sink.buffer()
        sink.writeUtf8("abcdefghi")
        sink.flush()
    
        // Verify the peer received what was expected.
        peer.takeFrame() // PING
        val headers = peer.takeFrame()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
Back to top