Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for doRead (0.07 sec)

  1. src/test/java/jcifs/netbios/LmhostsTest.java

                                return -1;
                            }
                            int toRead = Math.min(buffer.length, remaining);
                            System.arraycopy(includeContent, index[0], buffer, 0, toRead);
                            index[0] += toRead;
                            return toRead;
                        });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

        /**
         * Sends a request to the remote endpoint.
         *
         * @param request the request to send
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSend(Request request) throws IOException;
    
        /**
         * Receives a response from the remote endpoint.
         *
         * @param response the response object to populate
         * @throws IOException if an I/O error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          source: Buffer,
          byteCount: Long,
        ) {
          val toRead = minOf(remainingByteCount, byteCount)
          if (toRead > 0L) {
            source.read(buffer, toRead)
          }
          val toSkip = byteCount - toRead
          if (toSkip > 0L) {
            source.skip(toSkip)
          }
          remainingByteCount -= toRead
          receivedByteCount += byteCount
        }
    
        @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

         * @throws IOException if an I/O error occurs
         */
        protected <T extends Response> long doSend(final Request request, final T response, final Set<RequestParam> params, final long timeout)
                throws IOException {
            final long firstKey = prepareRequests(request, response, params, timeout);
            doSend(request);
            return firstKey;
        }
    
        /**
         * @param request
         * @param response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        // A String -- an event for which no one has registered.
        bus.post(EVENT);
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("One dead event should be delivered.", 1, events.size());
        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
      public void testDeadEventPosting() {
        GhostCatcher catcher = new GhostCatcher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

          // Fail fast if there's no response queued up.
          return failFastResponse!!
        }
    
        val result = responseQueue.take()
    
        // If take() returned because we're shutting down, then enqueue another dead letter so that any
        // other threads waiting on take() will also return.
        if (result == DEAD_LETTER) responseQueue.add(DEAD_LETTER)
    
        return result
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/TransportTest.java

                if (recvException != null) {
                    throw recvException;
                }
                return peekedKey;
            }
    
            @Override
            protected void doSend(Request request) throws IOException {
                if (sendException != null) {
                    throw sendException;
                }
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

             * in sbuf will be preserved for copying into BUF in doRecv().
             */
    
            return key;
        }
    
        @Override
        protected void doSend(final Request request) throws IOException {
            synchronized (BUF) {
                ServerMessageBlock smb = (ServerMessageBlock) request;
                final int n = smb.encode(BUF, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

            maxReadWriteSize = Math.min(maxReadWriteSize, response.getMaxReadWriteSize());
            maxReceiveSize = Math.min(maxReceiveSize, response.getMaxReceiveSize());
        }
        
        @Override
        protected void doSend(ServerMessageBlock2 request) throws IOException {
            if (shouldUseRdmaReadWrite(request)) {
                sendWithRdmaReadWrite(request);
            } else {
                sendWithRdmaSendReceive(request);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/concepts.md

    And if the server is restarted (for example after updates, or migrations from the cloud provider) you probably **won't notice it**. And because of that, you won't even know that you have to restart the process manually. So, your API will just stay dead. 😱
    
    ### Run Automatically on Startup { #run-automatically-on-startup }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top