Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 850 for setUp (0.04 sec)

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

      @Param({"100", "10000"})
      int n;
    
      @Param MeanAlgorithm meanAlgorithm;
      @Param VarianceAlgorithm varianceAlgorithm;
    
      private double[][] values = new double[0x100][];
    
      @BeforeExperiment
      void setUp() {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
          values[i] = new double[n];
          for (int j = 0; j < n; j++) {
            values[i][j] = rng.nextDouble();
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

    import java.text.SimpleDateFormat
    
    import static java.util.concurrent.TimeUnit.DAYS
    
    class UpdateReleasedVersionsTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "final release is added to list"() {
            def snapshot = snapshot('4.3')
            def rc = releasedVersion('4.3-rc-1')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

        private UserAgentHelper userAgentHelper;
    
        private PathMappingHelper pathMappingHelper;
    
        private File propertiesFile;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            propertiesFile = File.createTempFile("test", ".properties");
            FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]);
            propertiesFile.deleteOnExit();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

     *
     * @author Jon Donovan
     */
    @GwtCompatible
    public class CacheBuilderGwtTest extends TestCase {
    
      private FakeTicker fakeTicker;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        fakeTicker = new FakeTicker();
      }
    
      public void testLoader() throws ExecutionException {
    
        final Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonnegative = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          exponents[i] = randomExponent();
          positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      @Param({"3", "30", "300"})
      int count;
    
      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        @TempDir
        Path tempDir;
    
        private final DefaultProfileActivationContext context = new DefaultProfileActivationContext();
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new FileProfileActivator(
                    new ProfileActivationFilePathInterpolator(new DefaultPathTranslator(), bd -> true));
    
            context.setProjectDirectory(tempDir.toFile());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

    /**
     * Tests {@link PropertyProfileActivator}.
     *
     */
    class PropertyProfileActivatorTest extends AbstractProfileActivatorTest<PropertyProfileActivator> {
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new PropertyProfileActivator();
        }
    
        private Profile newProfile(String key, String value) {
            ActivationProperty ap =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            if (jobLogPager.id != null) {
                cb.query().docMeta().setId_Equal(jobLogPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_StartTime_Desc();
            cb.query().addOrderBy_EndTime_Desc();
    
            // search
    
        }
    
        public void deleteBefore(final int days) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

            if (scheduledJobPager.id != null) {
                cb.query().docMeta().setId_Equal(scheduledJobPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
        public List<ScheduledJob> getScheduledJobList() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top