Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 2,280 for contain (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        String s2 = new String("a");
        assertEquals(s1, s2); // Stating the obvious.
        assertTrue(s1 != s2); // Stating the obvious.
    
        multiset.add(s1);
        assertTrue(multiset.contains(s1));
        assertFalse(multiset.contains(s2));
        assertEquals(1, multiset.count(s1));
        assertEquals(0, multiset.count(s2));
    
        multiset.add(s1);
        multiset.add(s2, 3);
        assertEquals(2, multiset.count(s1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/projects/StageProject.kt

                // in gradleBuildSmokeTest, most of the tests are for using the configuration cache on gradle/gradle
                val configCacheTests = (functionalTests + specificBuildTypes).filter { it.name.lowercase().contains("configcache") || it.name.contains(GRADLE_BUILD_SMOKE_TEST_NAME) }
                if (configCacheTests.size > 1) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 07 09:17:14 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            super.setUp();
    
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class)//
                    .singleton("sitemapsRule", SitemapsRule.class)//
                    .singleton("fileRule", RegexRule.class)//
                    .singleton("ruleManager", RuleManagerImpl.class);
    
            ruleManager = container.getComponent("ruleManager");
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
                Integer expectedValue = null;
                if (range1.contains(i)) {
                  expectedValue = 1;
                } else if (range2.contains(i)) {
                  expectedValue = 2;
                }
    
                assertEquals(expectedValue, rangeMap.get(i));
              }
            }
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

                throw new IllegalArgumentException(msg);
            }
        }
    
        protected String toRangeDateString(Date date, String format) {
            if (format.contains("epoch_millis")) {
                return Long.toString(date.getTime());
            } else if (format.contains("date_optional_time")) {
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/bytes/example_test.go

    	if found {
    		// Found it!
    	}
    }
    
    func ExampleContains() {
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("")))
    	fmt.Println(bytes.Contains([]byte(""), []byte("")))
    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              assertEquals(
                  EVEN.apply(i) && contents.contains(i),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            return parent.addAll(index, c);
        }
    
        @Override
        public void clear() {
            parent.clear();
        }
    
        @Override
        public boolean contains(final Object o) {
            return parent.contains(o);
        }
    
        @Override
        public boolean containsAll(final Collection<?> c) {
            return parent.containsAll(c);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. cmd/metacache.go

    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // metacache contains a tracked cache entry.
    type metacache struct {
    	// do not re-arrange the struct this struct has been ordered to use less
    	// space - if you do so please run https://github.com/orijtech/structslop
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top