Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 5,331 for news (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       */
      @BeforeExperiment
      void setUp() {
        long seed = 99;
        Random rnd = new Random(seed);
        strings = new String[SAMPLES];
        for (int i = 0; i < SAMPLES; i++) {
          StringBuilder sb = new StringBuilder();
          for (int j = 0; j < charCount; j++) {
            int codePoint;
            // discard illegal surrogate "codepoints"
            do {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                SettingsDecryptionResult result =
                                        settingsDecrypter.decrypt(new DefaultSettingsDecryptionRequest(server));
                                server = result.getServer();
    
                                AuthenticationInfo authInfo = new AuthenticationInfo();
                                authInfo.setUserName(server.getUsername());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FunnelsTest.java

    @NullUnmarked
    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
      public void testForBytes_null() {
        assertNullsThrowException(Funnels.byteArrayFunnel());
      }
    
      public void testForStrings() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

        public static void loadProperties(
                java.util.Properties properties, Path path, UnaryOperator<String> callback, boolean escape)
                throws IOException {
            MavenProperties sp = new MavenProperties(false);
            if (Files.exists(path)) {
                sp.load(path);
            }
            properties.forEach(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableListOfGenerator())
                .named("ImmutableList")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new BuilderAddAllListGenerator())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/MathPreconditions.java

      @CanIgnoreReturnValue
      static int checkPositive(String role, int x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
        return new IsOdd();
      }
    
      /*
       * Tests for Predicates.alwaysTrue().
       */
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

        protected Map<String, String> metadataXpathMap = new HashMap<>();
    
        /** Thread-local instance of XPathAPI for thread-safe XPath evaluation. */
        private final ThreadLocal<XPathAPI> xpathAPI = new ThreadLocal<>();
    
        /**
         * Creates a new HtmlExtractor instance.
         */
        public HtmlExtractor() {
            super();
        }
    
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Oct 04 08:47:19 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            final NormalizerChain normalizerChain = new NormalizerChain();
            normalizerChain.add(new AnalyzerNormalizer(client, settings));
            /*
             * normalizerChain.add(new HankakuKanaToZenkakuKana()); normalizerChain.add(new
             * FullWidthToHalfWidthAlphabetNormalizer()); normalizerChain.add(new ICUNormalizer("Any-Lower"));
             */
            return normalizerChain;
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 11:21:40 UTC 2025
    - 17.5K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        ByteSource source = newByteSource(0, 50);
        int[] counter = new int[1];
        ByteSource checker =
            new ByteSource() {
              @Override
              public InputStream openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterInputStream(source.openStream()) {
                  @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top