Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1481 - 1490 of 1,601 for Instance (0.12 sec)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
          return target == that.target && method.equals(that.method);
        }
        return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/async-tests.md

    a funciones asíncronas en tus tests (por ejemplo, cuando usas <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MotorClient de MongoDB</a>), recuerda crear instances de objetos que necesiten un loop de eventos solo dentro de funciones async, por ejemplo, en un callback `'@app.on_event("startup")`.
    
    ///...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

          this.forward = original;
          this.backward = original.inverse();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume that the inverse will be the same
       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

    import org.opensearch.index.query.RangeQueryBuilder;
    
    /**
     * Command class for handling term range query execution and conversion.
     * This class processes Lucene TermRangeQuery objects and converts them to OpenSearch QueryBuilder instances.
     */
    public class TermRangeQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(TermRangeQueryCommand.class);
    
        /**
         * Default constructor for TermRangeQueryCommand.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/ChecksumHashFunction.java

    import java.lang.invoke.MethodType;
    import java.nio.ByteBuffer;
    import java.util.zip.Checksum;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link HashFunction} adapter for {@link Checksum} instances.
     *
     * @author Colin Decker
     */
    @Immutable
    final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
      private final ImmutableSupplier<? extends Checksum> checksumSupplier;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      /**
       * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from
       * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size,
       * not a seed, and because that size is rounded up. Thus, {@code goodFastHash} instances with
       * different parameters can be equal. That fact is a problem for {@code
       * testSeededHashFunctionEquals}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      private static void testRotate(double[] input, int distance, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          double[] input, int distance, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      private static void testRotate(long[] input, int distance, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          long[] input, int distance, int fromIndex, int toIndex, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      private static void testRotate(short[] input, int distance, short[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Shorts.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          short[] input, int distance, int fromIndex, int toIndex, short[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test that serialVersionUID is properly defined
            FessSystemException exception1 = new FessSystemException("Test");
            FessSystemException exception2 = new FessSystemException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top