- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,024 for setups (0.08 sec)
-
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X'); private static final Splitter STRING_SPLITTER = Splitter.on("X"); @BeforeExperiment void setUp() { input = Strings.repeat(text, length); } @Benchmark int charSplitter(int reps) { int total = 0; for (int i = 0; i < reps; i++) { total += Iterables.size(CHAR_SPLITTER.split(input));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java
private static final int ARRAY_SIZE = 0x10000; List<Multiset<Integer>> multisets = new ArrayList<>(0x10000); int[] queries = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() { Random random = new Random(); multisets.clear(); for (int i = 0; i < ARRAY_SIZE; i++) { HashMultiset<Integer> multiset = HashMultiset.<Integer>create(); multisets.add(multiset);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractSetTester<E> extends AbstractCollectionTester<E> { /* * Previously we had a field named set that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of set or collection but not both. */ protected final Set<E> getSet() { return (Set<E>) collection; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/BouncyCastleTest.kt
@JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() var client = clientTestRule.newClient() private lateinit var server: MockWebServer @BeforeEach fun setUp(server: MockWebServer) { this.server = server OkHttpDebugLogging.enable("org.bouncycastle.jsse") platform.assumeBouncyCastle() } @Test fun testMozilla() { assumeNetwork()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
if (groupPager.id != null) { cb.query().docMeta().setId_Equal(groupPager.id); } // TODO Long, Integer, String supported only. // setup condition cb.query().addOrderBy_Name_Asc(); // search } public List<Group> getAvailableGroupList() { return groupBhv.selectList(cb -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
if (rolePager.id != null) { cb.query().docMeta().setId_Equal(rolePager.id); } // TODO Long, Integer, String supported only. // setup condition cb.query().addOrderBy_Name_Asc(); // search } public List<Role> getAvailableRoleList() { return roleBhv.selectList(cb -> { cb.query().matchAll();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InsecureForHostTest.kt
@RegisterExtension @JvmField val platform = PlatformRule() @RegisterExtension @JvmField val clientTestRule = OkHttpClientTestRule() private lateinit var server: MockWebServer @BeforeEach fun setup(server: MockWebServer) { this.server = server // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager platform.assumeNotBouncyCastle() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
// Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } @Benchmark byte hashing(int reps) { byte result = 0x01; HashMethod hashMethod = this.hashMethod;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
/** * Tests for {@link Files#fileTraverser()}. * * @author Jens Nyman */ public class FilesFileTraverserTest extends IoTestCase { private File rootDir; @Override public void setUp() throws IOException { rootDir = createTempDir(); } public void testFileTraverser_emptyDirectory() throws Exception { assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 21 20:17:27 UTC 2023 - 3.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
// Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } @Benchmark byte hashing(int reps) { byte result = 0x01; HashMethod hashMethod = this.hashMethod;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0)