Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 656 for apply (0.02 sec)

  1. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                ListIterator.class,
                new Function<ListIterator, ListIterator<?>>() {
                  @Override
                  public ListIterator<?> apply(ListIterator delegate) {
                    return wrap((ListIterator<?>) delegate);
                  }
                });
      }
    
      private static <T> ListIterator<T> wrap(ListIterator<T> delegate) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

      private static final Predicate<Entry<String, Integer>> PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !Objects.equals(entry.getKey(), "badkey") && entry.getValue() != 55556;
            }
          };
    
      public MultimapsFilterEntriesAsMapTest() {
        super(true, true, false);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

      ServerSentEventReader.Callback,
      Callback {
      private var call: Call? = null
    
      @Volatile private var canceled = false
    
      fun connect(callFactory: Call.Factory) {
        call =
          callFactory.newCall(request).apply {
            enqueue(this@RealEventSource)
          }
      }
    
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        processResponse(response)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

            else -> {
                val matchResult = oldReleasePattern.find(branchName)
                if (matchResult == null) {
                    null
                } else {
                    (matchResult.groupValues[1].toInt() - 4).apply {
                        require(this in 2..23)
                    }
                }
            }
        }
    }
    
    fun ScheduleTrigger.scheduledTrigger(
        branch: VersionedSettingsBranch,
        policy: SchedulingPolicy,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 29 08:57:18 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

            tracker = it.service
        }
    }
    
    fun DistributionTest.configureGradleTestEnvironment() {
        val taskName = name
    
        gradleInstallationForTest.apply {
            gradleDistribution.homeDir.fileProvider(
                if (executerRequiresFullDistribution(taskName)) {
                    configurations["${prefix}TestFullDistributionRuntimeClasspath"].getSingleFileProvider()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 18:02:41 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

       * non-null objects {@code x} and {@code y}, {@code equivalence.onResultOf(function).equivalent(a,
       * b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))}
       * is true.
       *
       * <p>For example:
       *
       * {@snippet :
       * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE);
       * }
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                ListMultimap.class,
                new Function<ListMultimap, ListMultimap<?, ?>>() {
                  @Override
                  public ListMultimap<?, ?> apply(ListMultimap delegate) {
                    return wrap((ListMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Collection;
    import java.util.LinkedHashSet;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Apply multiple filters, accepting an artifact if at least one of the filters accepts it.
     *
     */
    @Deprecated
    public class OrArtifactFilter implements ArtifactFilter {
    
        private Set<ArtifactFilter> filters;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

        /**
         * newer artifact is selected
         */
        @Configuration(name = "newer-first", value = "true")
        private boolean newerFirst = true;
    
        @Override
        public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2) {
            int depth1 = e1.getDepth();
            int depth2 = e2.getDepth();
    
            if (depth1 == depth2) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

    import gradlebuild.integrationtests.setSystemPropertiesOfTestJVM
    
    plugins {
        java
        id("gradlebuild.dependency-modules")
        id("gradlebuild.jvm-compile")
    }
    
    extensions.create<IntegrationTestExtension>("integTest").apply {
        generateDefaultAutoTestedSamplesTest.convention(true)
        testJvmXmx.convention("512m")
    }
    
    val sourceSet = sourceSets.create("${TestType.INTEGRATION.prefix}Test")
    jvmCompile {
        addCompilationFrom(sourceSet)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 16:39:23 UTC 2025
    - 2.4K bytes
    - Viewed (5)
Back to top