- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 179 for nCopies (0.09 seconds)
-
android/guava/src/com/google/common/base/Strings.java
return Platform.stringIsNullOrEmpty(string); } /** * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended * with as many copies of {@code padChar} as are necessary to reach that length. For example, * * <ul> * <li>{@code padStart("7", 3, '0')} returns {@code "007"} * <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicates.java
* {@code true}. The components are evaluated in order, and evaluation will be "short-circuited" * as soon as a false predicate is found. It defensively copies the iterable passed in, so future * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the * returned predicate will always evaluate to {@code true}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
static void checkCast(Class<?> clazz, Object obj) {} static <T> T[] clone(T[] array) { return (T[]) Arrays.copyOfRange(array, 0, array.length); } // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an * iterator (used as the target iterator). * * <p>This IteratorTester makes copies of the master so that it can later verify that {@link * PeekingIterator#remove()} removes the same elements as the reference's iterator {@code * remove()}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
public interface ProfileInjector { /** * Merges values from the specified profile into the given model. Implementations are expected to keep the profile * and model completely decoupled by injecting deep copies rather than the original objects from the profile. * * @param model The model into which to merge the values defined by the profile, must not be <code>null</code>.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy
result.task(':copyYamlTestsTask').outcome == TaskOutcome.NO_SOURCE result.task(':copyRestApiSpecsTask').outcome == TaskOutcome.NO_SOURCE } def "yamlRestTest executes and copies api and tests to correct source set"() { given: internalBuild() buildFile << """ apply plugin: 'elasticsearch.internal-yaml-rest-test' dependencies {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 3.1K bytes - Click Count (0) -
ci/official/upload.sh
else export TF_VER_FULL="$(tfrun bazel run //tensorflow/tools/ci_build:calculate_full_version -- --wheel-type release)" fi # Note on gsutil commands: # "gsutil cp" always "copies into". It cannot act on the contents of a directory # and it does not seem possible to e.g. copy "gs://foo/bar" as anything other than # "/path/bar". This script uses "gsutil rsync" instead, which acts on directory
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 04 22:39:12 GMT 2025 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
* {@code true}. The components are evaluated in order, and evaluation will be "short-circuited" * as soon as a false predicate is found. It defensively copies the iterable passed in, so future * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the * returned predicate will always evaluate to {@code true}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt
to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri May 17 19:14:22 GMT 2024 - 38.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java
import java.io.IOException; import java.nio.file.Files; import java.util.function.Function; import java.util.stream.Collectors; import static org.elasticsearch.gradle.util.GradleUtils.getProjectPathFromTask; /** * Copies the files needed for the Rest YAML specs to the current projects test resources output directory. * This is intended to be be used from {@link RestResourcesPlugin} since the plugin wires up the neededCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.4K bytes - Click Count (0)