Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 3,063 for rint (0.01 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

        private static final int MAX_INTITEM_LENGTH = 9;
    
        private static final int MAX_LONGITEM_LENGTH = 18;
    
        private String value;
    
        private String canonical;
    
        private ListItem items;
    
        private interface Item {
            int INT_ITEM = 3;
            int LONG_ITEM = 4;
            int BIGINTEGER_ITEM = 0;
            int STRING_ITEM = 1;
            int LIST_ITEM = 2;
            int COMBINATION_ITEM = 5;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Doubles.java

       *     such index exists.
       */
      public static int indexOf(double[] array, double target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(double[] array, double target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java

        FAILED(6),
    
        /**
         * Channel is being closed
         */
        CLOSING(7);
    
        private final int value;
    
        ChannelState(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this state
         *
         * @return state value
         */
        public int getValue() {
            return value;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Encodable.java

         * @param dstIndex the starting index in the destination array
         * @return encoded length
         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Returns the size in bytes that this object will occupy when encoded.
         *
         * @return the encoded size
         */
        int size();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
            return inputStream.read(b, off, len);
        }
    
        /**
         * Reads some number of bytes from the input stream and stores them into the buffer array b.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        public static final int WITNESS_REGISTER_NONE = 0x00000000;
        /** Register for IP address change notifications */
        public static final int WITNESS_REGISTER_IP_NOTIFICATION = 0x00000001;
    
        // Registration state
        private volatile WitnessRegistrationState state;
        private volatile long lastHeartbeat;
        private volatile int heartbeatFailures;
        private int flags;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Prepare buffer
            byte[] buffer = new byte[100];
            int startIndex = 10;
    
            // Encode
            int bytesWritten = info.encode(buffer, startIndex);
    
            // Verify bytes written (encode returns 40, which includes 4 padding bytes)
            assertEquals(40, bytesWritten);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                final int leftCount = leftPart.isEmpty() ? 0 : leftPart.split(":").length;
                final int rightCount = rightPart.isEmpty() ? 0 : rightPart.split(":").length;
                final int zerosCount = 8 - leftCount - rightCount;
                final StringBuilder expanded = new StringBuilder(leftPart);
                for (int i = 0; i < zerosCount; i++) {
                    if (expanded.length() > 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.add(2);
        mmHeap.add(3);
        assertEquals(4, (int) mmHeap.pollLast());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(2, (int) mmHeap.peekLast());
        assertEquals(2, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.peekLast());
        assertEquals(1, (int) mmHeap.pollLast());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        }
    
        @Test
        void testNegativeSidWrapsCorrectly() {
            // -1 == 0xFFFF
            int negativeSid = -1;
            SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid);
            byte[] dst = new byte[2];
            int written = neg.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, written);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top