- Sort Score
- Result 10 results
- Languages All
Results 2141 - 2150 of 3,818 for Avoid (0.05 sec)
-
guava/src/com/google/common/collect/CompactHashSet.java
*/ void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) { setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask)); setElement(entryIndex, object); } /** Resizes the entries storage if necessary. */ private void resizeMeMaybe(int newSize) { int entriesSize = requireEntries().length;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
{new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))} }); } @Before public void init() { mapCache.clear(); } @Test public void testKeySetIterator() { mapCache.put("A", "A_value"); mapCache.put("B", "B_value"); mapCache.put("C", "C_value"); assertThat(mapCache.unmodifiableKeySet()).hasSize(3);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 16:23:26 UTC 2021 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
A right = pop(stack); A left = pop(stack); push(stack, collector.combiner().apply(left, right)); } return pop(stack); } <E extends @Nullable Object> void push(List<E> stack, E value) { stack.add(value); } <E extends @Nullable Object> E pop(List<E> stack) { return stack.remove(stack.size() - 1); } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java
// gathered with problem collector } } return null; } private void loadFullReactor() { if (!fullReactorLoaded) { synchronized (DefaultTransformerContextBuilder.this) { if (!fullReactorLoaded) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java
class DefaultPathTranslatorTest { @Test void testAlignToBasedirWhereBasedirExpressionIsTheCompleteValue() { File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile(); String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir); assertEquals(basedir.getAbsolutePath(), aligned); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
class StringSourceTest { @Test void testGetInputStream() throws Exception { StringSource source = new StringSource("Hello World!"); try (InputStream is = source.getInputStream(); Scanner scanner = new Scanner(is)) { assertEquals("Hello World!", scanner.nextLine()); } } @Test void testGetLocation() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/annotation/Secured.java
* <p> * For example: * * <pre> * @Secured({ "ROLE_USER" }) * public void create(Contact contact); * * @Secured({ "ROLE_USER", "ROLE_ADMIN" }) * public void update(Contact contact); * * @Secured({ "ROLE_ADMIN" }) * public void delete(Contact contact); * </pre> * @author Mark St.Godard */ @Target({ ElementType.METHOD, ElementType.TYPE })
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractorTest.java
public MsExcelExtractor msExcelExtractor; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("msExcelExtractor", MsExcelExtractor.class); msExcelExtractor = container.getComponent("msExcelExtractor"); } public void test_getText() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractorTest.java
@Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("msPowerPointExtractor", MsPowerPointExtractor.class); msPowerPointExtractor = container.getComponent("msPowerPointExtractor"); } public void test_getText() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java
protected void checkEsInvalidAggregation(String name, Object value) { if (value == null || (value instanceof String && ((String) value).isEmpty())) { String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value; throw new InvalidQueryRegisteredException(msg); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.4K bytes - Viewed (0)