Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3421 - 3430 of 3,901 for 1final (0.32 seconds)

  1. 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 {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. 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 {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. 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())) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  4. 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()));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. 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");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

     * for your real time-limiter while you're debugging.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class FakeTimeLimiter implements TimeLimiter {
      /** Creates a new {@link FakeTimeLimiter}. */
      public FakeTimeLimiter() {}
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  7. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. 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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top