Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3201 - 3210 of 3,984 for Signal (0.07 sec)

  1. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

    @GwtCompatible
    @NullMarked
    public class BooleansTest extends TestCase {
      private static final boolean[] EMPTY = {};
      private static final boolean[] ARRAY_FALSE = {false};
      private static final boolean[] ARRAY_TRUE = {true};
      private static final boolean[] ARRAY_FALSE_FALSE = {false, false};
      private static final boolean[] ARRAY_FALSE_TRUE = {false, true};
    
      private static final boolean[] VALUES = {false, true};
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 25.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            mockTransport.maxMpxCount = 50;
    
            // Configure mock session
            mockSession.transport = mockTransport;
    
            // Configure authentication - set fields directly since NtlmPasswordAuthentication is final
            mockAuth.username = "testuser";
            mockAuth.domain = "TESTDOMAIN";
            mockAuth.password = "testpass";
    
            when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    
    /**
     * Basic unit tests for {@link SmbConstants}.  The interface only
     * provides {@code static final} constants, so the test suite focuses on
     * value correctness, bit‑mask logic, and some derived properties.
     *
     * <p>Mockito is exercised in a dummy scenario to satisfy the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

            }
    
            static class DefaultArtifactInstallerRequest extends BaseRequest<Session> implements ArtifactInstallerRequest {
    
                private final Collection<ProducedArtifact> artifacts;
    
                DefaultArtifactInstallerRequest(
                        @Nonnull Session session,
                        @Nullable RequestTrace trace,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

     *
     * @since 4.0.0
     */
    @Experimental
    public abstract class MavenBuilderException extends MavenException {
    
        /**
         * The collection of problems associated with this exception.
         */
        private final ProblemCollector<BuilderProblem> problems;
    
        /**
         * Constructs a new exception with the specified message and cause.
         * This constructor creates an empty problem collector.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

         * @deprecated Should not be used in Java code.
         */
        @Deprecated
        public DefaultLifecycleMapping() {}
    
        /**
         * Ctor to be used in Java code/providers.
         */
        public DefaultLifecycleMapping(final List<Lifecycle> lifecycles) {
            this.lifecycleMap =
                    Collections.unmodifiableMap(lifecycles.stream().collect(toMap(Lifecycle::getId, identity())));
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class RemoteSnapshotMetadataTest {
        private Locale defaultLocale;
    
        private static final Pattern DATE_FILTER = Pattern.compile("\\..*");
    
        @BeforeEach
        void setLocaleToUseBuddhistCalendar() {
            defaultLocale = Locale.getDefault();
            Locale.setDefault(new Locale("th", "TH"));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionDataRepositoryTest.java

    import static java.util.Collections.singleton;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class DefaultBuildResumptionDataRepositoryTest {
        private final DefaultBuildResumptionDataRepository repository = new DefaultBuildResumptionDataRepository();
    
        @Test
        void resumeFromPropertyGetsApplied() {
            MavenExecutionRequest request = new DefaultMavenExecutionRequest();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumMultiset.java

     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @J2ktIncompatible
    @SuppressWarnings("EnumOrdinal") // This is one of the low-level utilities where it's suitable.
    public final class EnumMultiset<E extends Enum<E>> extends AbstractMultiset<E>
        implements Serializable {
      /** Creates an empty {@code EnumMultiset}. */
      public static <E extends Enum<E>> EnumMultiset<E> create(Class<E> type) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top