Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 5,044 for Null (0.03 seconds)

  1. src/main/java/org/codelibs/core/collection/ArrayMap.java

         * @return the removed entry, or {@literal null} if there was no entry for the key
         */
        protected Entry<K, V> removeMap(final Object key) {
            int hashCode = 0;
            int index = 0;
    
            if (key != null) {
                hashCode = key.hashCode();
                index = (hashCode & 0x7FFFFFFF) % mapTable.length;
                for (Entry<K, V> e = mapTable[index], prev = null; e != null; prev = e, e = e.next) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            this.syncContextFactory = Objects.requireNonNull(syncContextFactory, "syncContextFactory cannot be null");
            this.repositoryEventDispatcher =
                    Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null");
            this.versionScheme = Objects.requireNonNull(versionScheme, "versionScheme cannot be null");
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

        assertNull("getOrDefault(absent, null) should return null", getMap().getOrDefault(k3(), null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_absentNull() {
        assertEquals(
            "getOrDefault(null, def) should return the default value",
            v3(),
            getMap().getOrDefault(null, v3()));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

                getMap()
                    .computeIfAbsent(
                        null,
                        k -> {
                          assertNull(k);
                          return v3();
                        }));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported computeIfAbsent(null, function)");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

          getMap().putIfAbsent(k0(), null);
        } catch (NullPointerException tolerated) {
        }
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null after unsupported putIfAbsent(present, null)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            Element profilesElement = root.child(PROFILES).orElse(null);
            if (profilesElement != null) {
                var profileElements = profilesElement.children(PROFILE).toList();
                for (Element profileElement : profileElements) {
                    Element profileModulesElement = profileElement.child(MODULES).orElse(null);
                    if (profileModulesElement != null) {
                        profileModulesElement.name(SUBPROJECTS);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/StandardTable.java

        return rowKey != null && safeContainsKey(backingMap, rowKey);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        return (rowKey == null || columnKey == null) ? null : super.get(rowKey, columnKey);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  8. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals(-1, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, 42, null);
            assertEquals(42, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, Integer.MAX_VALUE, null);
            assertEquals(Integer.MAX_VALUE, problem.getColumnNumber());
    
            // this case is not specified, might also return -1
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            assertNotNull(indexer.setRoleFieldName("role"));
            assertNotNull(indexer.setReadingConverter(null));
            assertNotNull(indexer.setNormalizer(null));
            assertNotNull(indexer.setAnalyzer(null));
            assertNotNull(indexer.setContentsParser(null));
            assertNotNull(indexer.setSuggestWriter(null));
        }
    
        @Test
        public void test_indexBadWordItem() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            method.setAccessible(true);
    
            // Test with null thread
            try {
                method.invoke(crawler, (Thread) null);
            } catch (Exception e) {
                fail("Should not throw exception with null thread");
            }
    
            // Test with normal thread
            Thread testThread = new Thread(() -> {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top