- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,250 for add1 (0.03 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
val result = ArrayList<Header>(headers.size + 4) result.add(Header(TARGET_METHOD, request.method)) result.add(Header(TARGET_PATH, RequestLine.requestPath(request.url))) val host = request.header("Host") if (host != null) { result.add(Header(TARGET_AUTHORITY, host)) // Optional. } result.add(Header(TARGET_SCHEME, request.url.scheme)) for (i in 0 until headers.size) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java
} } public void executeAfter(BuildStep stepToExecuteBefore) { if (!isSuccessorOf(stepToExecuteBefore)) { predecessors.add(stepToExecuteBefore); stepToExecuteBefore.successors.add(this); } } public void executeBefore(BuildStep stepToExecuteAfter) { stepToExecuteAfter.executeAfter(this); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 30 16:21:08 GMT 2025 - 4.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
// In this case the graphs are considered equivalent; the edge add orderings are irrelevant. @Test public void equivalent_edgeAddOrdersDiffer() { GraphBuilder<Integer> builder = GraphBuilder.from(graph); MutableGraph<Integer> g1 = builder.build(); MutableGraph<Integer> g2 = builder.build(); // for g1, add 1->2 first, then 3->1 g1.putEdge(N1, N2); g1.putEdge(N3, N1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
public void testIndexOf_genericPredicate() { List<CharSequence> sequences = new ArrayList<>(); sequences.add("bob"); sequences.add(new StringBuilder("charlie")); sequences.add(new StringBuilder("henry")); sequences.add(new StringBuilder("apple")); sequences.add("lemon"); assertEquals(3, Iterables.indexOf(sequences, STARTSWITH_A)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 45.6K bytes - Click Count (0) -
association.go
if elem.Kind() == reflect.Map { processMap(elem) continue } appendToFieldValues(elem.Addr()) } case reflect.Struct: if !rv.CanAddr() { association.Error = ErrInvalidValue return } appendToFieldValues(rv.Addr()) } if association.Error == nil {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.NullUnmarked; /** A benchmark that times how long it takes to add a given number of */ @VmOptions({"-Xms8g", "-Xmx8g"}) @NullUnmarked public class SingleThreadAbstractFutureBenchmark { @Param Impl impl; private final Exception exception = new Exception();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
shuffle(tmp, random); queryList.addAll(tmp.subList(0, extras)); } // now add bad queries while (queryList.size() < numQueries) { Element candidate = newElement(); if (!elementsInSet.contains(candidate)) { queryList.add(candidate); } } shuffle(queryList, random); return queryList.toArray(new Element[0]); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/Graph.java
Vertex addVertex(String label) { return vertices.computeIfAbsent(label, Vertex::new); } void addEdge(Vertex from, Vertex to) throws CycleDetectedException { from.children.add(to); to.parents.add(from); List<String> cycle = findCycle(to); if (cycle != null) { // remove edge which introduced cycle removeEdge(from, to); throw new CycleDetectedException(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
taskSegments.add(currentSegment); } currentSegment.getTasks().add(new GoalTask(task)); } else { // lifecycle phase if (currentSegment == null || currentSegment.isAggregating()) { currentSegment = new TaskSegment(false); taskSegments.add(currentSegment); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 23:07:01 GMT 2024 - 6.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java
.getUpstreamProjects(projectBuild.getProject(), false) .isEmpty()) { result.add(projectBuild.getProject()); } } if (result.isEmpty() && !projectBuilds.isEmpty()) { // Must return at least one project result.add(projectBuilds.get(0).getProject()); } // Sort by critical path priority (projects with longer critical paths first)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.9K bytes - Click Count (0)