Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for comments (0.04 sec)

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

    @GwtCompatible
    abstract class CollectionFuture<V extends @Nullable Object, C extends @Nullable Object>
        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        this.predecessor = null;
        this.successor = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
       * requirePredecessors() and requireSuccessors(), which are defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         * Handles various GSA pattern formats including regexp, contains, and URL-based patterns.
         *
         * @param s the input GSA pattern string
         * @return a regular expression pattern string, or empty string for comments/invalid patterns
         */
        protected String getFilterPath(final String s) {
            if (s.startsWith("#")) {
                return StringUtil.EMPTY;
            }
            if (s.startsWith(CONTAINS)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        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
      public void testIsInstanceOf_apply() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertEquals(1, result.size());
            assertEquals("f", result.get(0).getOutput());
        }
    
        // 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());
    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/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)
  7. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          if (supportsRemove) {
            int initialSize = map.size();
            // var oldValue = map.get(keyToRemove);
            map.remove(keyToRemove);
            // This line doesn't hold - see the Javadoc comments above.
            // assertEquals(expectedValue, oldValue);
            assertFalse(map.containsKey(keyToRemove));
            assertEquals(initialSize - 1, map.size());
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

             * pending, so its `state` field hasn't been nulled out yet.
             *
             * OK, it's technically possible for this to fail in the presence of unsafe publishing, as
             * discussed in the comments in TimeoutFuture. TODO(cpovirk): Maybe check for null before
             * calling recordOutputCancellation?
             */
            requireNonNull(localState).recordOutputCancellation(interruptIfRunning);
            return true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * for this with respect to reads.
         *
         * As a guide, all critical volatile reads and writes to the count field are marked in code
         * comments.
         */
    
        @Weak final MapMakerInternalMap<K, V, E, S> map;
    
        /**
         * The number of live elements in this segment's region. This does not include unset elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top