Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 324 for Correct (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            }
            // We reschedule ourselves with a lock held for two reasons. 1. we want to make sure that
            // cancel calls cancel on the correct future. 2. we want to make sure that the assignment
            // to currentFuture doesn't race with itself so that currentFuture is assigned in the
            // correct order.
            Throwable scheduleFailure = null;
            Cancellable toReturn;
            lock.lock();
            try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     *   <li>Conversion of individual Hankaku Kana characters to Zenkaku Kana characters.</li>
     *   <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li>
     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Comparator<byte[]> comparator2 = UnsignedBytes.lexicographicalComparatorJavaImpl();
    
        /*
         * These arrays are set up to test that the comparator compares bytes within a word in the
         * correct order—in order words, that it doesn't mix up big-endian and little-endian. The first
         * array has a smaller element at one index, and then the second array has a smaller element at
         * the next.
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

              .add("aString", aString)
              .add("anInt", anInt)
              .add("anEnum", anEnum)
              .toString();
        }
      }
    
      /** Validates that the Comparator equivalent we document is correct. */
      @J2ktIncompatible // TODO b/315311435 - J2kt cannot emulate Comparator<C>.<U>thenComparing()
      public void testComparatorEquivalent() {
        Comparator<Foo> comparatorUsingComparisonChain =
            (a, b) ->
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(104, bytesWritten); // 40 bytes header + 64 bytes input buffer
        }
    
        @Test
        @DisplayName("Test setFileInfoClass sets correct info type")
        void testSetFileInfoClassSetsCorrectInfoType() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Initially set a different info type
            request.setInfoType((byte) 0x05);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * We override the toArray methods for two reasons:
       *
       * 1. Both superclass toArray methods assume that size() gives a correct answer, while our size()
       * might not (and the answer might change while we're building the array).
       *
       * TODO: cpovirk - Is this an issue anywhere anymore? It looks to have been fixed for Java 8
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImplTest.java

            service.addExcludeUrlFilter(session1, "https://session1.com/admin/.*");
            service.addExcludeUrlFilter(session2, "https://session2.com/private/.*");
    
            // Verify that dataHelper was called with correct session IDs
            verify(dataHelper).addIncludeUrlPattern(session1, "https://session1.com/.*");
            verify(dataHelper).addIncludeUrlPattern(session2, "https://session2.com/.*");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigIntegerMath.java

         * 10^floor(log10(x)).
         */
    
        if (approxCmp > 0) {
          /*
           * The code is written so that even completely incorrect approximations will still yield the
           * correct answer eventually, but in practice this branch should almost never be entered, and
           * even then the loop should not run more than once.
           */
          do {
            approxLog10--;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            }
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(threadCount * eventsPerThread), stats.get(EventType.AUTHENTICATION_SUCCESS),
                    "Should have correct total number of events");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
            int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top