Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 786 for Receiver (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    
    import com.google.common.cache.CacheTesting.Receiver;
    import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
    import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
    import java.util.List;
    import java.util.Set;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

          }
        };
      }
    
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static Object invokeAccessibleNonThrowingMethod(
          Method method, Object receiver, Object... params) {
        try {
          return method.invoke(receiver, params);
        } catch (IllegalAccessException e) {
          throw new RuntimeException(e);
        } catch (InvocationTargetException e) {
          throw propagate(e.getCause());
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * Marks this step as the last step in the {@code ClosingFuture} pipeline. When this step is done,
       * {@code receiver} will be called with an object that contains the result of the operation. The
       * receiver can store the {@link ValueAndCloser} outside the receiver for later synchronous use.
       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, this method again, or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length file ID")
            void testZeroLengthFileId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length read")
            void testZeroLengthRead() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        }
    
        /**
         * Calculate average receive latency in microseconds
         *
         * @return average receive latency
         */
        public double getAverageReceiveLatencyMicros() {
            long receives = rdmaReceives.get();
            if (receives == 0) {
                return 0.0;
            }
            return totalReceiveTime.get() / (double) receives / 1000.0; // Convert to microseconds
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            @Test
            @DisplayName("Should handle multiple receives for fragment")
            void testDoSendReceiveFragment_MultipleReceives() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                byte[] buf = new byte[50];
                byte[] inB = new byte[100];
    
                // Setup fragment length requiring multiple receives
                Encdec.enc_uint16le((short) 80, inB, 8);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        /**
         * Receives a DCERPC fragment from the remote endpoint
         * @param buf the buffer to receive the fragment data
         * @return the number of bytes received
         * @throws IOException if an I/O error occurs during reception
         */
        protected abstract int doReceiveFragment(byte[] buf) throws IOException;
    
        /**
         * Sends a DCERPC fragment and receives the response in a single operation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         */
        protected abstract void doSendFragment(byte[] buf, int off, int length, boolean isDirect) throws IOException;
    
        /**
         * Receives a DCERPC fragment from the remote endpoint
         * @param buf the buffer to receive the fragment
         * @param isDirect whether to use direct reception
         * @throws IOException if an I/O error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top