Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 693 for APPLY (0.04 sec)

  1. guava-testlib/src/com/google/common/testing/CollectorTester.java

            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            every {
                buildType.steps(capture(stepsCapturer))
            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
            assertEquals(
                listOf(
                    "KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return predicate.apply(immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    
        ValuePredicate(@ParametricNullness K key) {
          this.key = key;
        }
    
        @Override
        public boolean apply(@ParametricNullness V value) {
          return satisfies(key, value);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                import org.gradle.api.internal.tasks.testing.TestResultProcessor
    
                plugins {
                    id("gradlebuild.ci-reporting")
                }
    
                subprojects {
                    apply(plugin = "gradlebuild.ci-reporting")
                }
    
                project(":failed-test-with-leftover").configureTestWithLeftover(false, true)
                project(":flaky-test-with-leftover").configureTestWithLeftover(true, true)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

        testImplementation("org.objenesis:objenesis")
    }
    
    tasks.withType<GroovyCompile>().configureEach {
        groovyOptions.apply {
            encoding = "utf-8"
            forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError")
        }
        options.apply {
            isFork = true
            encoding = "utf-8"
            compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path")
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 15:18:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

        KEY {
          @Override
          @CheckForNull
          public Object apply(Entry<?, ?> entry) {
            return entry.getKey();
          }
        },
        VALUE {
          @Override
          @CheckForNull
          public Object apply(Entry<?, ?> entry) {
            return entry.getValue();
          }
        };
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @Test
        void testDefaultPolicy() throws Exception {
            MetadataGraphEdge res;
    
            res = policy.apply(e1, e2);
            assertEquals("1.1", res.getVersion(), "Wrong depth edge selected");
    
            res = policy.apply(e1, e3);
            assertEquals("1.2", res.getVersion(), "Wrong version edge selected");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Function<String, String> internerFunction =
            Interners.asFunction(Interners.<String>newStrongInterner());
    
        assertSame(canonical, internerFunction.apply(canonical));
        assertSame(canonical, internerFunction.apply(not));
      }
    
      public void testNullPointerExceptions() {
        new NullPointerTester().testAllPublicStaticMethods(Interners.class);
      }
    
      public void testConcurrencyLevel_zero() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

        }
    
        fun name(name: String) =
          apply {
            require(name.trim() == name) { "name is not trimmed" }
            this.name = name
          }
    
        fun value(value: String) =
          apply {
            require(value.trim() == value) { "value is not trimmed" }
            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
            var expiresAt = expiresAt
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                String name = (String) e.nextElement();
                String value = props.getProperty(name);
                if (value == null) {
                    value = callback.apply(name);
                }
                if (name.startsWith(OVERRIDE_PREFIX)) {
                    String overrideName = name.substring(OVERRIDE_PREFIX.length());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top