Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 327 for registry (0.07 seconds)

  1. guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java

     */
    @NullUnmarked
    public class EventBusBenchmark {
    
      private EventBus eventBus;
    
      @BeforeExperiment
      void setUp() {
        eventBus = new EventBus("for benchmarking purposes");
        eventBus.register(this);
      }
    
      @Benchmark
      void postStrings(int reps) {
        for (int i = 0; i < reps; i++) {
          eventBus.post("hello there");
        }
      }
    
      @Subscribe
      public void handleStrings(String string) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            });
            project.getDependencies().add(groovyPackageListBucket.getName(), javadocs.getGroovyPackageListSrc());
    
            var extractGroovyPackageListTask = tasks.register("extractGroovyPackageList", Copy.class, task -> {
                task.from(project.zipTree(groovyPackageListConf.map(Configuration::getSingleFile)));
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 02 14:18:24 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        java
    }
    
    val validateTaskName = "validatePlugins"
    val reportFileName = "task-properties/report.txt"
    
    tasks.register<ValidatePlugins>(validateTaskName) {
        val main = project.sourceSets.main.get()
        classes.from(main.output)
        classpath.from(main.runtimeClasspath)
        outputFile = project.reporting.baseDirectory.file(reportFileName)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1008 bytes
    - Click Count (0)
  4. build-logic-commons/publishing/src/main/kotlin/gradlebuild/pluginpublish/extension/PluginPublishExtension.kt

        private val gradlePlugin: GradlePluginDevelopmentExtension
    ) {
    
        fun bundledGradlePlugin(name: String, shortDescription: String, pluginId: String, pluginClass: String) {
            gradlePlugin.plugins {
                register(name) {
                    id = pluginId
                    displayName = shortDescription
                    description = shortDescription
                    implementationClass = pluginClass
                }
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 08 14:54:27 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @NullMarked
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
       * <p>In JUnit4 language, that means as an {@code @After}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/TearDownAccepter.java

     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @NullMarked
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
       * <p>In JUnit4 language, that means as an {@code @After}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

                } catch (NoSuchRealmException e) {
                    // ignore
                }
            }
            cache.clear();
        }
    
        @Override
        public void register(MavenProject project, Key key, CacheRecord record) {
            // default cache does not track record usage
        }
    
        @Override
        public void dispose() {
            flush();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. okcurl/build.gradle.kts

      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("com.gradleup.shadow")
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") {
      from("src/main/resources-templates")
      into(layout.buildDirectory.dir("generated/resources-templates"))
      expand("projectVersion" to "${project.version}")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 22 20:31:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

      H getSubscriber() {
        return subscriber;
      }
    
      @Override
      protected void setUp() throws Exception {
        subscriber = createSubscriber();
        EventBus bus = new EventBus();
        bus.register(subscriber);
        bus.post(EVENT);
      }
    
      @Override
      protected void tearDown() throws Exception {
        subscriber = null;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/eventbus/Subscribe.java

     * be primitive. If this annotation is applied to methods with zero parameters, or more than one
     * parameter, the object containing the method will not be able to register for event delivery from
     * the {@link EventBus}.
     *
     * <p>Unless also annotated with @{@link AllowConcurrentEvents}, event subscriber methods will be
     * invoked serially by each event bus that they are registered with.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 15:46:17 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top