Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 216 for Register (0.05 seconds)

  1. build-logic-commons/build.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    description = "Provides a set of plugins that are shared between the Gradle and build-logic builds"
    
    tasks.register("check") {
        dependsOn(subprojects.map { "${it.name}:check" })
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 04:30:54 GMT 2025
    - 800 bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

        }
    }
    
    fun createAggregateTasks(sourceSet: SourceSet) {
        val allVersionsCrossVersionTests = tasks.register("allVersionsCrossVersionTests") {
            group = "verification"
            description = "Runs the cross-version tests against all Gradle versions with 'forking' executer"
        }
    
        val quickFeedbackCrossVersionTests = tasks.register("quickFeedbackCrossVersionTests") {
            group = "verification"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Sep 05 02:31:24 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. cmd/metrics-v3.go

    		collectors[mg.CollectorPath] = mg
    	}
    
    	// Helper function to register a collector and return a gatherer for it.
    	mustRegister := func(c ...prometheus.Collector) prometheus.Gatherer {
    		subRegistry := prometheus.NewRegistry()
    		for _, col := range c {
    			subRegistry.MustRegister(col)
    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 02 00:55:27 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

                    NullawayAttributes.addToConfiguration(configurations.named(runtimeElementsConfigurationName), nullawayAttributeValue)
    
                    tasks.register<NullawayStatusTask>("nullawayStatus") {
                        nullawayEnabled = errorproneExtension.nullawayEnabled
                        nullawayAwareDeps = configurations.named(compileClasspathConfigurationName).map {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/archive/zip/example_test.go

    	// Override the default Deflate compressor with a higher compression level.
    
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Register a custom Deflate compressor.
    	w.RegisterCompressor(zip.Deflate, func(out io.Writer) (io.WriteCloser, error) {
    		return flate.NewWriter(out, flate.BestCompression)
    	})
    
    	// Proceed to add files to w.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/Closer.java

     *
     * <p>This class is intended to be used in the following pattern:
     *
     * {@snippet :
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. build-logic-settings/build.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    description = "Provides settings plugins for configuring global build configuration"
    
    tasks.register("check") {
        dependsOn(subprojects.map { "${it.name}:check" })
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 04:30:54 GMT 2025
    - 785 bytes
    - Click Count (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.support.serviceOf
    
    /**
     * In build-logic and main build, register a BuildService instance separately,
     * which collects necessary information for Build Scan.
     */
    fun <T : AbstractBuildScanInfoCollectingService> Project.registerBuildScanInfoCollectingService(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
        void register(MavenProject project, Key key, CacheRecord record);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  10. 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)
Back to Top