Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 4,015 for null (0.03 sec)

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

        assertThrows(NullPointerException.class, () -> getMap().replace(k0(), v0(), null));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_wrongValueNullValueUnsupported() {
        try {
          assertFalse(getMap().replace(k0(), v3(), null));
        } catch (NullPointerException tolerated) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/EndpointPairIterator.java

    abstract class EndpointPairIterator<N> extends AbstractIterator<EndpointPair<N>> {
      private final BaseGraph<N> graph;
      private final Iterator<N> nodeIterator;
    
      @CheckForNull
      N node = null; // null is safe as an initial value because graphs don't allow null nodes
    
      Iterator<N> successorIterator = ImmutableSet.<N>of().iterator();
    
      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

         * has a charset other than utf-8 the behaviour differs by platform.
         *
         * On the JVM the encoding will be used instead of utf-8.
         *
         * On non JVM platforms, this method will fail for encodings other than utf-8.
         */
        @JvmStatic
        @JvmName("create")
        fun String.toResponseBody(contentType: MediaType? = null): ResponseBody {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            if (stereotype == null) {
                // TODO: this here is fishy
                stereotype = new DefaultType(dependency.getType(), Language.NONE, "", null, false);
            }
    
            boolean system = dependency.getSystemPath() != null
                    && !dependency.getSystemPath().isEmpty();
    
            Map<String, String> props = null;
            if (system) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

                    modelPathTranslator != null ? modelPathTranslator : newModelPathTranslator(),
                    modelUrlNormalizer != null ? modelUrlNormalizer : newModelUrlNormalizer(),
                    superPomProvider != null ? superPomProvider : newSuperPomProvider(),
                    inheritanceAssembler != null ? inheritanceAssembler : newInheritanceAssembler(),
                    profileSelector != null ? profileSelector : newProfileSelector(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/CrawlJob.java

                }
            }
    
            final StringBuilder resultBuf = new StringBuilder(100);
            final boolean runAll = webConfigIds == null && fileConfigIds == null && dataConfigIds == null;
    
            if (sessionId == null) { // create session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                sessionId = sdf.format(new Date());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            searchLogList.stream().forEach(searchLog -> {
                if (searchLog.getHitCount() == null
                        || searchLog.getHitCount().longValue() < fessConfig.getSuggestMinHitCountAsInteger().longValue()) {
                    return;
                }
    
                final String sessionId;
                if (searchLog.getUserSessionId() != null) {
                    sessionId = searchLog.getUserSessionId();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

       * the putIfAbsent returns a non-null value, and the case where the replace() of an observed zero
       * fails.
       */
      public void testAdd_withFailures() {
        AtomicInteger existing = new AtomicInteger(12);
        AtomicInteger existingZero = new AtomicInteger(0);
    
        // initial map.get()
        when(backingMap.get(KEY)).thenReturn(null);
        // since get returned null, try a putIfAbsent; that fails due to a simulated race
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        AtomicReference<WeakReference<?>> sepStopwatchRef =
            new AtomicReference<WeakReference<?>>(
                (WeakReference<?>) sepFwrCons.newInstance(sepStopwatchA.get(), sepFrqA.get()));
        assertNotNull(sepStopwatchA.get());
        // Clear all references to the Stopwatch and wait for it to be gc'd.
        sepStopwatchA.set(null);
        GcFinalization.awaitClear(sepStopwatchRef.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

        public Suggester build(final Client client, final String id) {
            if (settings == null) {
                if (settingsBuilder == null) {
                    settingsBuilder = SuggestSettings.builder();
                }
                settings = settingsBuilder.build(client, id);
            }
            settings.init();
    
            if (readingConverter == null) {
                readingConverter = SuggestUtil.createDefaultReadingConverter(client, settings);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top