Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Moment (0.03 sec)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        public void test_reload_withEmptyLines() throws Exception {
            // Create content with empty lines and comments
            String content = "# Comment line\n" + "\n" + // empty line
                    "word1\n" + "  \n" + // whitespace line (may be treated as content)
                    "# Another comment\n" + "word2\n";
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload and verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        // Test reload with InputStream
        public void test_reload_withComments() {
            String content = "# This is a comment\n" + "word1\n" + "\n" + // empty line
                    "word2\n" + "# Another comment\n" + "word3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

        void forceJdk() {
          requireNonNull(impl); // see the comment on the field
          this.impl = new JdkBackedSetBuilderImpl<>(impl);
        }
    
        final void copyIfNecessary() {
          if (forceCopy) {
            copy();
            forceCopy = false;
          }
        }
    
        void copy() {
          requireNonNull(impl); // see the comment on the field
          impl = impl.copy();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                if (childNode.getNodeType() == Node.COMMENT_NODE) {
                    final String comment = childNode.getNodeValue().trim();
                    if (comment.startsWith("googleoff:")) {
                        flag.setValue(false);
                    } else if (comment.startsWith("googleon:")) {
                        flag.setValue(true);
                    }
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test reload with comments and empty lines
        public void test_reload_withCommentsAndEmptyLines() throws Exception {
            writeTestFile("# This is a comment\n\na,b => c\n\n# Another comment\nd,e => f\n");
    
            PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
            assertEquals(2, result.size());
        }
    
        // Test reload with invalid format
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

        }
    
        /**
         * Creates and stores system properties to the specified file.
         * Includes system properties and job runtime information if available.
         *
         * @param cmdList the command list (used as comment in properties file)
         * @param propFile the file to store properties to
         * @throws IORuntimeException if an I/O error occurs
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

          this.right = null;
        }
    
        /** Constructor for the header node. */
        AvlNode() {
          this.elem = null;
          this.elemCount = 1;
        }
    
        // For discussion of pred() and succ(), see the comment on the pred and succ fields.
    
        private AvlNode<E> pred() {
          return requireNonNull(pred);
        }
    
        private AvlNode<E> succ() {
          return requireNonNull(succ);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    return props;
                }
            };
            assertEquals(Long.valueOf(-86400000), negativeEnv.getTimeAdjustTimeMillisAsLong());
    
            // Test large value (one year as mentioned in comment)
            FessEnv.SimpleImpl yearEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      @GwtIncompatible // SerializableTester
      public void testIsEqualToNull_serialization() {
        checkSerialization(Predicates.equalTo(null));
      }
    
      /**
       * Tests for Predicates.instanceOf(x). TODO: Fix the comment style after fixing annotation
       * stripper to remove comments properly. Currently, all tests before the comments are removed as
       * well.
       */
      @GwtIncompatible // Predicates.instanceOf
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

        long unused2;
        long unused3;
    
        PaddedLock() {
          super(false);
        }
      }
    
      private static final class PaddedSemaphore extends Semaphore {
        // See PaddedReentrantLock comment
        long unused1;
        long unused2;
        long unused3;
    
        PaddedSemaphore(int permits) {
          super(permits, false);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top