Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for doRead (0.06 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/src/com/google/common/eventbus/EventBus.java

     * worry about being reentrant, unless also called from outside the EventBus.
     *
     * <h2>Dead Events</h2>
     *
     * <p>If an event is posted, but no registered subscribers can accept it, it is considered "dead."
     * To give the system a second chance to handle dead events, they are wrapped in an instance of
     * {@link DeadEvent} and reposted.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                            mapEntry("c", (Collection<String>) ImmutableSortedSet.of("carl", "carol")),
                            mapEntry("d", (Collection<String>) ImmutableSortedSet.of("david", "dead")),
                            mapEntry(
                                "e", (Collection<String>) ImmutableSortedSet.of("eric", "elaine")));
                      }
    
                      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top