- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 1,444 for init (0.02 seconds)
-
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
joinHelper(1, 1, 1, 1, 1, 1, 1, 1); joinHelper(1, 0, 1, 0, 1, 0, 1, 0); } public void testOnlyOneOpen() throws Exception { ByteSource source = newByteSource(0, 50); int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
@NullUnmarked public class PowerSetBenchmark { @Param({"2", "4", "8", "16"}) int elements; Set<Set<Integer>> powerSet; @BeforeExperiment void setUp() { Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers()); powerSet = Sets.powerSet(set); } @Benchmark int iteration(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Set<Integer> subset : powerSet) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
/** An {@code Iterator} over all nodes. */ private final class NodeIterator implements ListIterator<Entry<K, V>> { int nextIndex; @Nullable Node<K, V> next; @Nullable Node<K, V> current; @Nullable Node<K, V> previous; int expectedModCount = modCount; NodeIterator(int index) { int size = size(); checkPositionIndex(index, size); if (index >= (size / 2)) { previous = tail;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java
repeat(sb, '*', DEFAULT_MAX_SIZE); return sb.toString(); } public static List<String> format(String... lines) { int size = DEFAULT_MAX_SIZE; int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces List<String> result = new ArrayList<>(); StringBuilder sb = new StringBuilder(size); // first line sb.setLength(0); repeat(sb, BOX_CHAR, size);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LongAdder.java
* * @return the sum */ @Override public long longValue() { return sum(); } /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */ @Override public int intValue() { return (int) sum(); } /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */ @Override public float floatValue() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
*/ @Deprecated(since = "4.0.0") public class DefaultModelProblem implements ModelProblem { private final String source; private final int lineNumber; private final int columnNumber; private final String modelId; private final String message; private final Exception exception; private final Severity severity;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
* * @author Regina O'Dell */ @GwtCompatible public class UnhashableObject implements Comparable<UnhashableObject> { private final int value; public UnhashableObject(int value) { this.value = value; } @Override public boolean equals(@Nullable Object object) { if (object instanceof UnhashableObject) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Apr 10 20:12:40 GMT 2025 - 1.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java
private final int retryFailedDeploymentCount; DefaultArtifactDeployerRequest( @Nonnull Session session, @Nullable RequestTrace trace, @Nonnull RemoteRepository repository, @Nonnull Collection<ProducedArtifact> artifacts, int retryFailedDeploymentCount) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
/** * A collection of preconditions for math functions. * * @author Louis Wasserman */ @GwtCompatible final class MathPreconditions { @CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0)