Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 2,967 for rint (0.02 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      override fun getProtocol(): String = delegate!!.protocol
    
      override fun getPeerHost(): String = delegate!!.peerHost
    
      override fun getPeerPort(): Int = delegate!!.peerPort
    
      override fun getPacketBufferSize(): Int = delegate!!.packetBufferSize
    
      override fun getApplicationBufferSize(): Int = delegate!!.applicationBufferSize
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

         * Directory Read and Handle caching (RH) - recommended for directory operations
         */
        public static final int DIRECTORY_READ_HANDLE = Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING;
    
        /**
         * Directory Full caching (RWH) - all three lease types
         */
        public static final int DIRECTORY_FULL = Smb2LeaseState.SMB2_LEASE_FULL;
    
        /**
         * Check if directory can cache enumeration results
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutTask.java

     *
     */
    public class TimeoutTask {
    
        private static final int ACTIVE = 0;
    
        private static final int STOPPED = 1;
    
        private static final int CANCELED = 2;
    
        private final TimeoutTarget timeoutTarget;
    
        private final long timeoutMillis;
    
        private final boolean permanent;
    
        private long startTime;
    
        private int status = ACTIVE;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            protected void doSendFragment(byte[] buf, int off, int length) throws IOException {
                // Mock implementation for testing
            }
    
            @Override
            protected int doReceiveFragment(byte[] buf) throws IOException {
                return doReceiveFragmentReturn;
            }
    
            @Override
            protected int doSendReceiveFragment(byte[] out, int off, int length, byte[] inB) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        @Test
        void readRDataWireFormat_shouldHandleMultipleNames() throws Exception {
            // Test with maximum reasonable number of names
            int numNames = 10;
            int dataLength = 1 + (18 * numNames) + 6 + 6;
            byte[] src = new byte[dataLength];
            int srcIndex = 0;
    
            Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
            rDataLengthField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbConstantsTest.java

            // Verify file attributes have distinct bit patterns
            int[] attributes = { SmbConstants.ATTR_READONLY, SmbConstants.ATTR_HIDDEN, SmbConstants.ATTR_SYSTEM, SmbConstants.ATTR_VOLUME,
                    SmbConstants.ATTR_DIRECTORY, SmbConstants.ATTR_ARCHIVE };
    
            for (int i = 0; i < attributes.length; i++) {
                for (int j = i + 1; j < attributes.length; j++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      private final ByteBuffer buffer;
    
      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            return tempFile;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.io.InputStream#read()
         */
        @Override
        public int read() throws IOException {
            return fileInputStream.read();
        }
    
        @Override
        public int available() throws IOException {
            return fileInputStream.available();
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            // This method is expected to do nothing and return 0
            int result = smbComQueryInformation.writeParameterWordsWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testWriteBytesWireFormat() {
            // Test the writing of bytes to a byte array
            byte[] dst = new byte[100];
            int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top