Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 758 for APPLY (0.16 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

    import java.util.Locale;
    
    public class GradleKotlinDslReferencePlugin implements Plugin<Project> {
    
        private static final String TASK_NAME = "dokkaGeneratePublicationHtml";
    
        @Override
        public void apply(Project project) {
            GradleDocumentationExtension documentationExtension = project.getExtensions().getByType(GradleDocumentationExtension.class);
            applyPlugin(project);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 28 11:34:42 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/EclipseConventionPlugin.java

    import static org.apache.commons.io.FileUtils.readFileToString;
    
    public class EclipseConventionPlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
            project.getPlugins().apply(EclipsePlugin.class);
            EclipseModel eclipseModel = project.getExtensions().getByType(EclipseModel.class);
            EclipseProject eclipseProject = eclipseModel.getProject();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        Map<@Nullable String, Boolean> map =
            transformValues(
                underlying,
                new Function<@Nullable String, Boolean>() {
                  @Override
                  public Boolean apply(@Nullable String from) {
                    return from == null;
                  }
                });
        Map<String, Boolean> expected = ImmutableMap.of("a", true, "b", false);
        assertMapsEqual(expected, map);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. docs/features/r8_proguard.md

    don't have to do anything. The specific rules are [already bundled][okhttp3_pro] into the JAR which can be
    interpreted by R8 automatically.
    
    If you, however, don't use R8 you have to apply the rules from [this file][okhttp3_pro]. You might
    also need rules from [Okio][okio] which is a dependency of this library.
    
     [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/okhttp3.pro
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 19 07:07:23 GMT 2025
    - 570 bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                        .filter { onlyNativeSubprojectsForIntelMacs(testCoverage, it.name) }
                        .map { it.name }
                val subprojectsInModelButNotInBucketJson = allSubprojectsInModel.toMutableList().apply { removeAll(allSubprojectsInBucketJson) }
    
                if (subprojectsInModelButNotInBucketJson.isEmpty()) {
                    testCoverage to buckets
                } else {
                    testCoverage to
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 14:43:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              }
            },
        )
    
      internal fun parseUtcTime(string: String): Long {
        val utc = TimeZone.getTimeZone("GMT")
        val dateFormat =
          SimpleDateFormat("yyMMddHHmmss'Z'").apply {
            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
          return parsed.time
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestRerunPlugin.java

        private final ObjectFactory objectFactory;
    
        @Inject
        TestRerunPlugin(ObjectFactory objectFactory) {
            this.objectFactory = objectFactory;
        }
    
        @Override
        public void apply(Project project) {
            project.getTasks().withType(Test.class).configureEach(task -> configureTestTask(task, objectFactory));
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

                return fileIndex;
            }
        }
    
        // Functional helpers for concise parameterized tests
        private interface IntGetter {
            int apply(FileEntry e);
        }
    
        private interface LongGetter {
            long apply(FileEntry e);
        }
    
        // --- Mockito-based interaction tests ---
    
        @Test
        @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalReaperPlugin.java

        private final ProjectLayout projectLayout;
    
        @Inject
        public InternalReaperPlugin(ProjectLayout projectLayout) {
            this.projectLayout = projectLayout;
        }
    
        @Override
        public void apply(Project project) {
            registerReaperService(project, projectLayout, true);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 969 bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * not before this method completes), even if this method throws or the pipeline is cancelled.
         */
        @ParametricNullness
        U apply(DeferredCloser closer, @ParametricNullness T input) throws Exception;
      }
    
      /**
       * A function from an input to a {@link ClosingFuture} of a result.
       *
       * @param <T> the type of the input to the function
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top