Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3501 - 3510 of 3,984 for Signal (0.07 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

            assertNotNull(expected);
        }
    
        @Test
        void testThreadSafeMojos() throws Exception {
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
            final Set<Plugin> unSafePlugins = plan.getNonThreadSafePlugins();
            // There is only a single threadsafe plugin here...
            assertEquals(plan.size() - 1, unSafePlugins.size());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link AsyncEventBus}.
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class AsyncEventBusTest extends TestCase {
      private static final String EVENT = "Hello";
    
      /** The executor we use to fake asynchronicity. */
      private FakeExecutor executor;
    
      private AsyncEventBus bus;
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Atomics}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class AtomicsTest extends TestCase {
    
      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertEquals(null, Atomics.newReference().get());
      }
    
      public void testNewReference_withInitialValue() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

    /**
     * SMB2 Lease Break Acknowledgment
     *
     * MS-SMB2 2.2.24
     */
    public class Smb2LeaseBreakAcknowledgment extends ServerMessageBlock2Request<Smb2LeaseBreakResponse> {
    
        private static final int STRUCTURE_SIZE = 36;
    
        private int flags;
        private Smb2LeaseKey leaseKey;
        private int leaseState;
    
        /**
         * Create a lease break acknowledgment
         *
         * @param config configuration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}.
     */
    @NullUnmarked
    public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
      private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor();
      private volatile ValueAndCloser<?> valueAndCloser;
    
      @Override
      protected void tearDown() throws Exception {
        super.tearDown();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

    /** A benchmark that times how long it takes to add a given number of */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    @NullUnmarked
    public class SingleThreadAbstractFutureBenchmark {
      @Param Impl impl;
    
      private final Exception exception = new Exception();
      private Facade<?> notDoneFuture;
    
      @BeforeExperiment
      void setUp() throws Exception {
        notDoneFuture = impl.newFacade();
      }
    
      @Benchmark
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

     * This implementation "pre-populates" MavenContext with pre-existing stuff (except for very first call)
     * and does not let DI container to be closed.
     */
    public class ResidentMavenInvoker extends MavenInvoker {
    
        private final ConcurrentHashMap<String, MavenContext> residentContext;
    
        public ResidentMavenInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

         */
        private static <T extends IdentifiableBase> void shallowMergeById(
                List<T> dominant, List<T> recessive, String recessiveSourceLevel) {
            Map<String, T> dominantById = mapById(dominant);
            final List<T> identifiables = new ArrayList<>(recessive.size());
    
            for (T identifiable : recessive) {
                if (!dominantById.containsKey(identifiable.getId())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

    import java.util.Set;
    
    import org.apache.maven.impl.util.Os;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class CIDetectorHelperTest {
        private static final Set<String> ALL =
                Set.of("CIRCLECI", "CI", "WORKSPACE", "GITHUB_ACTIONS", "TEAMCITY_VERSION", "TRAVIS");
    
        @Test
        void none() throws Exception {
            assertEquals("NONE;", runner(Map.of()));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java

            RequestTrace doesNotHaveIt =
                    RequestTrace.newChild(null, "foo").newChild("bar").newChild("baz");
            assertNull(ReverseTreeRepositoryListener.lookupCollectStepData(doesNotHaveIt));
    
            final CollectStepData data = mock(CollectStepData.class);
    
            RequestTrace haveItFirst = RequestTrace.newChild(null, data)
                    .newChild("foo")
                    .newChild("bar")
                    .newChild("baz");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top