Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 2,028 for ksize (0.03 sec)

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

      public void testClearUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> multimap().clear());
      }
    
      private void assertCleared() {
        assertEquals(0, multimap().size());
        assertEmpty(multimap());
        assertEquals(multimap(), getSubjectGenerator().create());
        assertEmpty(multimap().entries());
        assertEmpty(multimap().asMap());
        assertEmpty(multimap().keySet());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

      }
    
      public void testEquals_differentSize() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.add(e0());
        assertFalse("multiset equals a multiset with a different size", getMultiset().equals(other));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEquals_differentElements() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.remove(e0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/update-notifier.go

    	// Populate lines with color coding.
    	line1InColor := fmt.Sprintf(msgLine1Fmt, color.YellowBold(newerThan))
    	line2InColor := fmt.Sprintf(msgLine2Fmt, color.CyanBold(updateString))
    
    	// calculate the rectangular box size.
    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

                        + exceptionList.stream().map(e -> "; " + e.getMessage()).collect(Collectors.joining());
                throw new MultipleCrawlingAccessException(message, exceptionList.toArray(new Throwable[exceptionList.size()]));
            } finally {
                if (listener != null) {
                    listener.onRequestEnd(this, request, exceptionList);
                }
            }
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

                    }
                }
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to load default badwords.", e);
            }
            defaultWords = list.toArray(new String[list.size()]);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
            return null;
        }
    
        public static class CycleDetectedException extends Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

                List<T> dominant, List<T> recessive, String recessiveSourceLevel) {
            Map<String, T> dominantById = mapById(dominant);
            final List<T> identifiables = new ArrayList<>(recessive.size());
    
            for (T identifiable : recessive) {
                if (!dominantById.containsKey(identifiable.getId())) {
                    identifiable.setSourceLevel(recessiveSourceLevel);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

        //                                                                            ========
        /**
         * {@inheritDoc} <br>
         * Application Origin Methods:
         * <pre>
         * <span style="font-size: 130%; color: #553000">[Small Helper]</span>
         * o saveInfo() <span style="color: #3F7E5E">// save messages to session</span>
         * o write() <span style="color: #3F7E5E">// write text to specified file</span>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        }
        segment.setTableEntryForTesting(0, entry);
        segment.count = originalCount;
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(originalCount, originalMap.size());
        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top