Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Beal (0.01 sec)

  1. guava/src/com/google/common/collect/TopKSelector.java

        @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
        T[] castBuffer = (T[]) buffer;
        sort(castBuffer, 0, bufferSize, comparator);
        if (bufferSize > k) {
          Arrays.fill(buffer, k, buffer.length, null);
          bufferSize = k;
          threshold = buffer[k - 1];
        }
        // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                    case "test.property":
                        return "config-value";
                    case "filter.null":
                        // This would be filtered to null by PropertyFilter in real scenario
                        throw new ConfigPropertyNotFoundException("filter.null");
                    default:
                        throw new ConfigPropertyNotFoundException(propertyKey);
                    }
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        }
    
        public void test_updateDocument_noLanguageDetected() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("title", "xyz");
            doc.put("content", "xyz");
    
            // Without a real detector, this will throw NullPointerException
            try {
                languageHelper.updateDocument(doc);
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedLongs.java

         * guaranteed to be either exact or one less than the correct value. This follows from fact that
         * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite
         * trivial.
         */
        long quotient = ((dividend >>> 1) / divisor) << 1;
        long rem = dividend - quotient * divisor;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                    return false;
                }
            });
            sambaHelper.init();
    
            // Verify method signature exists for SMB1 SID - actual test would require real SMB1 SID instance
            assertNotNull(sambaHelper);
        }
    
        public void test_createSearchRole_lowercase() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                    }
                  }));
        }
    
        /*
         * It's unlikely that any operations would fail by throwing an exception, but let's check them
         * just to be safe.
         *
         * The real purpose of this test is to produce a TSAN failure if MapIteratorCache is unsafe for
         * reads from multiple threads -- unsafe, in fact, even in the absence of a concurrent write.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link LoadingCache} tests that deal with empty caches.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class EmptyCachesTest extends TestCase {
    
      public void testEmpty() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            assertEquals(customPath, firstCall);
            assertEquals(firstCall, secondCall);
            assertEquals(secondCall, thirdCall);
        }
    
        // Test with changing query string (though typically wouldn't change in real scenario)
        public void test_getServletPath_withChangingQueryString() {
            final String originalPath = "/original/path";
            final String customPath = "/api/v1/dynamic";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link TreeMultiset}.
     *
     * @author Neal Kanodia
     */
    @GwtCompatible
    @NullMarked
    public class TreeMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharStreams.java

        // The most common case is that from is a Reader (like InputStreamReader or StringReader) so
        // take advantage of that.
        if (from instanceof Reader) {
          // optimize for common output types which are optimized to deal with char[]
          if (to instanceof StringBuilder) {
            return copyReaderToBuilder((Reader) from, (StringBuilder) to);
          } else {
            return copyReaderToWriter((Reader) from, asWriter(to));
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top