Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 2,952 for method (0.28 seconds)

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

        expected.add(null);
        expectContents(expected);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. api/go1.4.txt

    pkg go/token, method (*File) PositionFor(Pos, bool) Position
    pkg go/token, method (*FileSet) PositionFor(Pos, bool) Position
    
    # CL 109000049 image: add RGBAAt, Gray16At, etc., ChaiShushan <******@****.***>
    pkg image, method (*Alpha) AlphaAt(int, int) color.Alpha
    pkg image, method (*Alpha16) Alpha16At(int, int) color.Alpha16
    pkg image, method (*Gray) GrayAt(int, int) color.Gray
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/UniAddressTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    
    class UniAddressTest {
    
        @Nested
        @DisplayName("isDotQuadIP method tests")
        class IsDotQuadIPTests {
    
            @ParameterizedTest(name = "should return true for valid IP address: {0}")
            @ValueSource(strings = { "192.168.1.1", "10.0.0.255", "0.0.0.0", "255.255.255.255" })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

        /**
         * The name of the method.
         */
        private final String methodName;
    
        /**
         * The argument types.
         */
        private final Class<?>[] argTypes;
    
        /**
         * Creates a {@link NoSuchMethodRuntimeException}.
         *
         * @param targetClass the target class
         * @param methodName the method name
         * @param argTypes the argument types
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding
        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
            long expectedTimestamp = 123456789012345L;
            byte[] rawBytes = new byte[8];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

        return suite;
      }
    
      protected Collection<Method> suppressForArrayDeque() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedList() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForArrayBlockingQueue() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForConcurrentLinkedQueue() {
        return emptySet();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            try {
                java.lang.reflect.Method method = CurlHelper.class.getDeclaredMethod("request", CurlRequest.class);
                method.setAccessible(true);
                return (CurlRequest) method.invoke(curlHelper, request);
            } catch (Exception e) {
                fail("Failed to call protected request method: " + e.getMessage());
                return null;
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            assertEquals(-1, crawlJob.hotThreadInterval);
            assertSame(crawlJob, result);
        }
    
        // Test getExecuteType method
        @Test
        public void test_getExecuteType() {
            assertEquals(Constants.EXECUTE_TYPE_CRAWLER, crawlJob.getExecuteType());
        }
    
        // Test execute method with runAll scenario
        @Test
        public void test_execute_runAll() {
            // Setup test
            crawlJob = new CrawlJob() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SIllegalStateExceptionTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException()}
         * .
         */
        @Test
        public void testSIllegalStateException() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top