Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2261 - 2270 of 3,883 for void (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      private SpecialRandom random;
    
      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
      void setUp() {
        CollectionBenchmarkSampleData sampleData =
            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

    import java.io.ByteArrayOutputStream;
    
    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    public class CountingOutputStreamTest extends IoTestCase {
    
      public void testCount() throws Exception {
        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
        assertEquals(written, out.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      private SpecialRandom random;
    
      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
      void setUp() {
        CollectionBenchmarkSampleData sampleData =
            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

    import java.net.URLClassLoader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ClassLoaderIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

         * This is the main trigger for the {@code Mojo} inside the Maven system,
         * and allows the {@code Mojo} to communicate errors.
         *
         * @throws MojoException if a problem occurs
         */
        void execute();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Aug 26 13:14:03 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java

            this.delegate = requireNonNull(delegate, "delegate cannot be null");
            this.childrenTracking = parent;
        }
    
        public Object getDelegate() {
            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
                    childrenTracking.replace(delegate, newDelegate);
                }
                delegate = newDelegate;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_op_attrs.h

     public:
      // Returns which subclass is this instance of.
      AbstractOpAttrsKind getKind() const { return kind_; }
      virtual ~AbstractOpAttrs() = default;
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

                modified.set(d.getDelegate());
            }
            return result;
        }
    
        default void addRepository(Repository repository) throws InvalidRepositoryException {
            addRepository(new org.apache.maven.model.Repository(repository));
        }
    
        default void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            result.addAll(project.getArtifacts());
            result.addAll(getAttachedArtifacts(project));
            return Collections.unmodifiableCollection(result);
        }
    
        @Override
        public void attachArtifact(Project project, ProducedArtifact artifact, Path path) {
            nonNull(project, "project");
            nonNull(artifact, "artifact");
            nonNull(path, "path");
            if (artifact.getGroupId().isEmpty()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                }
            }
        }
    
        protected void buildInitParams() {
            buildInitParamMap(viewHelper.getInitFacetParamMap(), Constants.FACET_QUERY, Constants.FACET_FORM);
            buildInitParamMap(viewHelper.getInitGeoParamMap(), Constants.GEO_QUERY, Constants.GEO_FORM);
        }
    
        protected void buildInitParamMap(final Map<String, String> paramMap, final String queryKey, final String formKey) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top