Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4701 - 4710 of 5,353 for Return (0.22 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
        return new Method[] {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/HashingOutputStream.java

        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
       * unspecified if this method is called more than once on the same instance.
       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

                public Integer call() throws Exception {
                    CrawlingParameterUtil.setUrlQueue(q);
                    controller.delayBeforeProcessing();
                    return 0;
                }
            };
    
            // Callableタスクを複数生成
            final List<Callable<Integer>> tasks = new ArrayList<Callable<Integer>>();
            for (int i = 0; i < numTasks; i++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

              params[i] = ArbitraryInstances.get(sig.get(i));
            }
          }
        }
        return params;
      }
    
      private static final ImmutableList<Class<?>> POSSIBLE_PARAM_TYPES =
          ImmutableList.of(char.class, int.class, long.class, Object.class);
    
      /**
       * Returns a list of parameters for invoking an overload of checkState, checkArgument or
       * checkNotNull
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PreconditionsTest.java

              params[i] = ArbitraryInstances.get(sig.get(i));
            }
          }
        }
        return params;
      }
    
      private static final ImmutableList<Class<?>> POSSIBLE_PARAM_TYPES =
          ImmutableList.of(char.class, int.class, long.class, Object.class);
    
      /**
       * Returns a list of parameters for invoking an overload of checkState, checkArgument or
       * checkNotNull
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

                private static final long serialVersionUID = 1L;
    
                @Override
                public String getIndexFieldUrl() {
                    return "url";
                }
    
                @Override
                public String getIndexFieldTitle() {
                    return "title";
                }
            });
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/HMACT64Test.java

        private static final byte[] EMPTY_DATA = new byte[0];
    
        @Mock
        private MessageDigest mockMd5;
    
        @BeforeEach
        void setUp() throws NoSuchAlgorithmException {
            // Mock Crypto.getMD5() to return our mockMd5 instance
            // This requires Mockito 3.4.0+ for MockedStatic
            // For simplicity, we'll assume Crypto.getMD5() is static and mock it.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

      }
    
      public void testNowhereAnnotated() {
        assertThat(getSubscriber().nowhereAnnotatedEvents).isEmpty();
      }
    
      @Override
      SubscriberClass createSubscriber() {
        return new SubscriberClass();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

        }
      }
    
      @Benchmark
      int add(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += multisets.get(j).add(queries[j], 4);
        }
        return tmp;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

      MultimapFeature(Feature<? super Multimap>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Multimap>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        MultimapFeature[] value() default {};
    
        MultimapFeature[] absent() default {};
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top