Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 3,237 for Call (0.02 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
            // subsequent call will cancel
            assertThrows(
                    TransferCancelledException.class,
                    () -> listener.transferStarted(event(session, resource, TransferEvent.EventType.STARTED)));
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

         */
        ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException;
    
        /**
         * Builds the effective model by completing the specified interim result which was produced by a previous call to
         * {@link #build(ModelBuildingRequest)} with {@link ModelBuildingRequest#isTwoPhaseBuilding()} being {@code true}.
         * The model building request passed to this method must be the same as the one used for the first phase of the
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/advanced-python-types.md

    ```python
    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. .ci/os.sh

    sudo rm -Rf /elasticsearch
    sudo mkdir -p /elasticsearch/qa/ && sudo chown jenkins /elasticsearch/qa/ && ln -s $PWD/qa/vagrant /elasticsearch/qa/
    
    # sudo sets it's own PATH thus we use env to override that and call sudo annother time so we keep the secure root PATH
    # run with --continue to run both bats and java tests even if one fails
    # be explicit about Gradle home dir so we use the same even with sudo
    sudo -E env \
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 17 17:41:23 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testRegistrationWithBridgeMethod() {
        AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
              public void call(String s) {
                calls.incrementAndGet();
              }
            });
    
        bus.post("hello");
    
        assertEquals(1, calls.get());
      }
    
      public void testPrimitiveSubscribeFails() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testRegistrationWithBridgeMethod() {
        AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
              public void call(String s) {
                calls.incrementAndGet();
              }
            });
    
        bus.post("hello");
    
        assertEquals(1, calls.get());
      }
    
      public void testPrimitiveSubscribeFails() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java

            Suggester suggester = createSuggester();
    
            boolean firstCreate = suggester.createIndexIfNothing();
            assertTrue("First call should create index", firstCreate);
    
            boolean secondCreate = suggester.createIndexIfNothing();
            assertFalse("Second call should return false (already exists)", secondCreate);
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

              }
            }
          }
          return@FutureTask null
        }
      }
    
      /** Returns once all stream actions complete successfully. */
      fun awaitSuccess() {
        val futureTask =
          results.poll(5, TimeUnit.SECONDS)
            ?: throw AssertionError("no onRequest call received")
        futureTask.get(5, TimeUnit.SECONDS)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

    import kotlin.reflect.KClass
    
    /**
     * An immutable collection of key-value pairs implemented as a singly-linked list.
     *
     * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call
     * returns a new instance.
     *
     * This collection is optimized for safe concurrent access over a very small number of elements.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableMultimap.java

         * Provides a hint for how many values will be associated with each key newly added to the
         * builder after this call. This does not change semantics, but may improve performance if
         * {@code expectedValuesPerKey} is a good estimate.
         *
         * <p>This may be called more than once; each newly added key will use the most recent call to
         * {@link #expectedValuesPerKey} as its hint.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
Back to Top