Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2271 - 2280 of 4,519 for Signal (0.04 seconds)

  1. guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleMathBenchmark {
      private static final double[] positiveDoubles = new double[ARRAY_SIZE];
      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final double[] doubles = new double[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Absent.java

    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /** Implementation of an {@link Optional} not containing a reference. */
    @GwtCompatible
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

     */
    @Singleton
    @Named(DistributionManagementArtifactRelocationSource.NAME)
    @Priority(5)
    @Deprecated(since = "4.0.0")
    public final class DistributionManagementArtifactRelocationSource implements MavenArtifactRelocationSource {
        public static final String NAME = "distributionManagement";
        private static final Logger LOGGER = LoggerFactory.getLogger(DistributionManagementArtifactRelocationSource.class);
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java

    import java.io.IOException;
    import java.io.PrintStream;
    import java.util.function.Consumer;
    
    public class LoggingOutputStream extends FilterOutputStream {
    
        static final byte[] LINE_SEP = System.lineSeparator().getBytes();
    
        final EolBaos buf;
        final Consumer<String> consumer;
    
        public LoggingOutputStream(Consumer<String> consumer) {
            this(new EolBaos(), consumer);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 12:31:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

            new Service() {
              final NoOpService delegate = new NoOpService();
    
              @Override
              public final void addListener(Listener listener, Executor executor) {
                service1.startAsync();
                delegate.addListener(listener, executor);
              }
    
              // Delegates from here on down
              @Override
              public final Service startAsync() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

     *
     * @author Ben Yu
     * @since 14.0
     */
    public final class ClassPath {
      private static final Logger logger = Logger.getLogger(ClassPath.class.getName());
    
      /** Separator for the Class-Path manifest attribute value in jar files. */
      private static final Splitter CLASS_PATH_ATTRIBUTE_SEPARATOR =
          Splitter.on(" ").omitEmptyStrings();
    
      private static final String CLASS_FILE_NAME_EXTENSION = ".class";
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

        enum Nullability {
            NON_NULL, NULLABLE, UNMARKED,
        }
    
        private static final List<String> NULLABLE_ANNOTATIONS = [
            javax.annotation.Nullable,
            org.jetbrains.annotations.Nullable,
            org.jspecify.annotations.Nullable,
        ].collect { it.name }
    
        private static final String NULL_UNMARKED_ANNOTATION = org.jspecify.annotations.NullUnmarked.class.name
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ComparisonChain.java

            public int result() {
              return 0;
            }
          };
    
      private static final ComparisonChain LESS = new InactiveComparisonChain(-1);
    
      private static final ComparisonChain GREATER = new InactiveComparisonChain(1);
    
      private static final class InactiveComparisonChain extends ComparisonChain {
        final int result;
    
        InactiveComparisonChain(int result) {
          this.result = result;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

    /** Tests for repeated node and edge addition and removal in a {@link Graph}. */
    @RunWith(JUnit4.class)
    
    @NullUnmarked
    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
      private static final int NUM_EDGES = 1000;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        throw new IntentionalException();
      }
    
      /** Local exception subclass to check variety of exception thrown. */
      static final class IntentionalException extends Exception {
    
        private static final long serialVersionUID = -2500191180248181379L;
      }
    
      @Subscribe
      public void errorThrowingMethod(Object arg) {
        throw new JudgmentError();
      }
    
      @Subscribe
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top