- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 3,421 for list (0.12 sec)
-
guava-tests/test/com/google/common/graph/NetworkMutationTest.java
assertThat(network.edges()).hasSize(NUM_EDGES); AbstractNetworkTest.validateNetwork(network); } } private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) { return list.get(gen.nextInt(list.size())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 10 19:42:18 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
} return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = Lists.newArrayList(); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += ImmutableList.copyOf(builder).size(); } return dummy; } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
} return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = Lists.newArrayList(); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += ImmutableList.copyOf(builder).size(); } return dummy; } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-parent.xml
<url>http://www.apache.org/</url> <mailingLists> <mailingList> <name>parent</name> <post>post@mailing.list.com</post> <subscribe>subscribe@mailing.list.com</subscribe> <unsubscribe>unsubscribe@mailing.list.com</unsubscribe> </mailingList> </mailingLists> <build> <plugins> <plugin> <groupId>inheritance.configuration</groupId>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/test_response_model_sub_types.py
from typing import List from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel class Model(BaseModel): name: str app = FastAPI() @app.get("/valid1", responses={"500": {"model": int}}) def valid1(): pass @app.get("/valid2", responses={"500": {"model": List[int]}}) def valid2(): pass @app.get("/valid3", responses={"500": {"model": Model}})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 5.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java
import java.util.LinkedList; import java.util.List; class DocBookBuilder { final LinkedList<Element> stack = new LinkedList<Element>(); final Document document; DocBookBuilder(Document document) { this.document = document; stack.addFirst(document.createElement("root")); } List<Element> getElements() { List<Element> elements = new ArrayList<Element>();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.8K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TEST_F(CApiAttributesTest, StringList) { std::vector<string> list = {"bugs", "bunny", "duck"}; std::unique_ptr<const void*[]> list_ptrs; std::unique_ptr<size_t[]> list_lens; StringVectorToArrays(list, &list_ptrs, &list_lens); int list_total_size = 0; for (const auto& s : list) { list_total_size += s.size(); } auto desc = init("list(string)");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java
*/ Optional<Boolean> yes(); /** * Returns the list of encryption goals to be executed. * These goals can include operations like "init", "add-server", "delete-server", etc. * * @return an {@link Optional} containing the list of goals, or empty if not specified */ @Nonnull Optional<List<String>> goals(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Oct 14 19:57:22 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java
} public void setCurrentPageNumber(final int currentPageNumber) { this.currentPageNumber = currentPageNumber; } public List<Integer> getPageNumberList() { return pageNumberList; } public void setPageNumberList(final List<Integer> pageNumberList) { this.pageNumberList = pageNumberList; } protected int getDefaultPageSize() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/WebAuthPager.java
} public void setCurrentPageNumber(final int currentPageNumber) { this.currentPageNumber = currentPageNumber; } public List<Integer> getPageNumberList() { return pageNumberList; } public void setPageNumberList(final List<Integer> pageNumberList) { this.pageNumberList = pageNumberList; } protected int getDefaultPageSize() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.5K bytes - Viewed (0)