Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for generator1 (0.1 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test offer with valid generator
        public void test_offer_withValidGenerator() {
            TestThumbnailGenerator generator = new TestThumbnailGenerator();
            generator.available = true;
            generator.target = true;
            generator.task = new Tuple3<>("generator1", "docid1", "path1");
            thumbnailManager.add(generator);
    
            Map<String, Object> docMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final CommandGenerator generator1 = new CommandGenerator();
            final CommandGenerator generator2 = new CommandGenerator();
    
            generator1.setCommandList(Collections.singletonList("echo test1"));
            generator2.setCommandList(Collections.singletonList("echo test2"));
    
            generator1.setCommandTimeout(1000L);
            generator2.setCommandTimeout(2000L);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
    
        public MapGenerator(
            OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) {
          this.generator = oneSizeTestContainerGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
          return generator.samples();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (2)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            // We skip it when container is not initialized
            try {
                HtmlTagBasedGenerator generator = new HtmlTagBasedGenerator();
                ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
                File outputFile = File.createTempFile("generator_", ".png");
    
                String imagePath = "thumbnail/600x400.png";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public interface TestSubjectGenerator<T extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        /**
         * Sets the list of generator names.
         * @param generatorList The list of generator names.
         */
        public void setGeneratorList(final List<String> generatorList) {
            this.generatorList = generatorList;
        }
    
        @Override
        public String getName() {
            return name;
        }
    
        /**
         * Sets the name of this thumbnail generator.
         * @param name The generator name.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators of things that can contain elements. Such things include
     * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
     * encompasses both of these, 'container' is used.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators of things that can contain elements. Such things include
     * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
     * encompasses both of these, 'container' is used.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            } else {
              // Cannot use empty generator. Proceed with other generators.
            }
          } else {
            // never generated empty instance for this type before.
            Object emptyInstance = invokeGeneratorMethod(emptyGenerate);
            emptyInstanceGenerated.put(type.getType(), freshness.get());
            return emptyInstance;
          }
        }
        Method generate = GENERATORS.get(rawType);
        if (generate != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

                      CollectionFeature.RESTRICTS_ELEMENTS,
                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class DoublesAsListGenerator extends TestDoubleListGenerator {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top