Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,070 for results2 (0.06 sec)

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

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testMergePresent() {
        assertEquals(
            "Map.merge(present, value, function) should return function result",
            v4(),
            getMap()
                .merge(
                    k0(),
                    v3(),
                    (oldV, newV) -> {
                      assertEquals(v0(), oldV);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
       * processing an event.
       *
       * @return false when EOF is reached
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

     * from the plugin configuration or from other components.
     * </p>
     * <p>
     * Fields can also be annotated with the {@link Resolution} annotation to be injected
     * with the dependency collection or resolution result for the project.
     * </p>
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Mojo {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            DataStoreFactory testFactory = new DataStoreFactory();
            List<String> names = testFactory.loadDataStoreNameList();
            assertNotNull(names);
        }
    
        // Test loadDataStoreNameList sorts results
        public void test_loadDataStoreNameList_sorted() {
            DataStoreFactory testFactory = new DataStoreFactory() {
                @Override
                protected List<String> loadDataStoreNameList() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_4x.md

    been, leading to rare cases of infinite retries. Please upgrade to this release!
    
     *  Fix: don't return stale DNS entries in `DnsOverHttps`. We were caching DNS results indefinitely
        rather than the duration specified in the response's cache-control header.
     *  Fix: Verify certificate IP addresses in canonical form. When a server presents a TLS certificate
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                when(mockBinding.toString()).thenReturn("mockBindingString");
    
                // When: Getting string representation
                String result = handle.toString();
    
                // Then: Should return binding's string representation
                assertEquals("mockBindingString", result);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCaseTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

         * - Purges job logs older than configured days
         * - Purges user info logs older than configured days
         * - Updates job log status
         *
         * @return a string containing the execution result and any error messages
         */
        public String execute() {
            final CrawlingInfoService crawlingInfoService = ComponentUtil.getComponent(CrawlingInfoService.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                return map.isEmpty();
              }
            });
        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
      // Test that interrupts result in RuntimeException, not InterruptedException.
      // Trickier than it looks, because runFinalization swallows interrupts.
      // ----------------------------------------------------------------
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        }
    
        @Override
        public Future<?> submit(Runnable task) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> Future<T> submit(Runnable task, T result) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void execute(Runnable command) {
          throw new UnsupportedOperationException();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils.go

    			continue
    		}
    		diskCount++
    	}
    	return diskCount
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top