Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 2,321 for methods (0.17 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

      val failure: IOException?,
    ) {
      fun assertRequestUrl(url: HttpUrl) =
        apply {
          assertThat(request.url).isEqualTo(url)
        }
    
      fun assertRequestMethod(method: String) =
        apply {
          assertThat(request.method).isEqualTo(method)
        }
    
      fun assertRequestHeader(
        name: String,
        vararg values: String,
      ) = apply {
        assertThat(request.headers(name)).containsExactly(*values)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
     * <p>If your iterator supports modification through {@code remove()}, you may wish to override the
     * verify() method, which is called after each sequence and is guaranteed to be called
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/net/netip/61642.md

    The new [Prefix.Compare] method compares two prefixes....
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 22:10:15 UTC 2025
    - 55 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/https/HandlerTest.java

            void testProtectedMethodAccess() throws Exception {
                // Given
                Handler testHandler = new Handler();
    
                // When
                Method method = Handler.class.getDeclaredMethod("getDefaultPort");
    
                // Then
                assertTrue(Modifier.isProtected(method.getModifiers()));
                method.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

            assertEquals(testScriptEngine, upperCase);
            assertEquals(testScriptEngine, mixedCase);
        }
    
        // Test getName abstract method implementation
        public void test_getName() {
            assertEquals("testEngine", testScriptEngine.getName());
        }
    
        // Test evaluate method implementation
        public void test_evaluate() {
            Map<String, Object> params = new HashMap<>();
            params.put("key", "value");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // When/Then
                try {
                    java.lang.reflect.Method method = Type2Message.class.getDeclaredMethod("makeTargetInfo", CIFSContext.class, String.class);
                    method.setAccessible(true);
                    byte[] targetInfo = (byte[]) method.invoke(null, mockContext, TEST_DOMAIN);
    
                    assertNotNull(targetInfo);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * the supplied executors.
       *
       * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent
       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
        // Lock while we update our state so the add method above will finish adding any listeners
        // before we start to run them.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.ListFeature;
    import java.lang.reflect.Method;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code set()} operations on a list. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

        return new OpenJdk6SetTests().allTests();
      }
    
      @Override
      protected Collection<Method> suppressForTreeSetNatural() {
        return asList(
            getAddNullUnsupportedMethod(),
            getAddAllNullUnsupportedMethod(),
            getCreateWithNullUnsupportedMethod());
      }
    
      @Override
      protected Collection<Method> suppressForCheckedSet() {
        return asList(getAddNullSupportedMethod(), getAddSupportedNullPresentMethod());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top