Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 748 for invokes (0.04 seconds)

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

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#replace(Object, Object, Object)}. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#computeIfPresent}. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a map. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileFilterTest.java

                    Arguments.of(null, false));
        }
    
        @Test
        @DisplayName("accept: returns true for directories; verifies isDirectory is invoked")
        void accept_returnsTrueForDirectory_andVerifiesInteraction() throws Exception {
            // Arrange: filter that accepts directories only
            SmbFileFilter filter = f -> f.isDirectory();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Throwables.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static Object invokeAccessibleNonThrowingMethod(
          Method method, Object receiver, Object... params) {
        try {
          return method.invoke(receiver, params);
        } catch (IllegalAccessException e) {
          throw new RuntimeException(e);
        } catch (InvocationTargetException e) {
          throw propagate(e.getCause());
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import java.nio.file.Path;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Optional;
    import java.util.Properties;
    import java.util.ServiceLoader;
    import java.util.function.UnaryOperator;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                getExpiredTimeMethod.setAccessible(true);
    
                long result1 = (Long) getExpiredTimeMethod.invoke(crawlingInfoHelper, 1);
                long result7 = (Long) getExpiredTimeMethod.invoke(crawlingInfoHelper, 7);
                long result0 = (Long) getExpiredTimeMethod.invoke(crawlingInfoHelper, 0);
    
                // Verify that results are reasonable relative to each other
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertEquals("b", result[2]);
        }
    
        // Helper method to invoke the private distinct method
        private String[] invokeDistinct(String[] values) {
            try {
                java.lang.reflect.Method method = LdapUser.class.getDeclaredMethod("distinct", String[].class);
                method.setAccessible(true);
                return (String[]) method.invoke(null, (Object) values);
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * don't hang around during other tests.)
       */
      @Override
      public void tearDown() throws Exception {
        try {
          Thread.class.getMethod("stop").invoke(this);
          join();
        } catch (ReflectiveOperationException e) {
          // stop() threw or did not exist. Don't join() the thread, which might hang forever.
        }
    
        if (uncaughtThrowable != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top