Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 613 for APPLY (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. .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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/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)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

        }
    
        @Test
        fun `existing internal members made public appear as added`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = internalSource,
                v2 = publicSource
            ).apply {
                assertHasErrors(
                    *reportedMembers.map {
                        added(it.first, it.second)
                    }.toTypedArray()
                )
                assertHasNoWarning()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalTestArtifactBasePlugin.java

        @Inject
        public InternalTestArtifactBasePlugin(ProviderFactory providerFactory) {
            this.providerFactory = providerFactory;
        }
    
        @Override
        public void apply(Project project) {
            project.getExtensions().create("testArtifacts", InternalTestArtifactExtension.class, project, providerFactory);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 991 bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        static <T> QueryOp<T> create(
            String name, BiConsumer<T, Object> queryLambda, IntToDoubleFunction asymptotic) {
          return new QueryOp<T>() {
            @Override
            void apply(T collection, Object query) {
              queryLambda.accept(collection, query);
            }
    
            @Override
            double expectedAsymptotic(int n) {
              return asymptotic.applyAsDouble(n);
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
Back to Top