- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 887 for setOut (0.1 sec)
-
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) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
@Param({"10", "100", "10000"}) int n; private final byte[][] encodingInputs = new byte[INPUTS_COUNT][]; private final String[] decodingInputs = new String[INPUTS_COUNT]; @BeforeExperiment public void setUp() { Random rng = new Random(); for (int i = 0; i < encodingInputs.length; i++) { encodingInputs[i] = new byte[n]; rng.nextBytes(encodingInputs[i]);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
private val fakeDns = FakeDns() private val recordingAuthenticator = RecordingAuthenticator() private val factory = TestValueFactory() .apply { dns = fakeDns } @BeforeEach fun setup() { Authenticator.setDefault(recordingAuthenticator) } @AfterEach fun tearDown() { Authenticator.setDefault(null) factory.close() } @Test fun testBasicAuth() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java
@Inject protected RepositorySystem system; @Inject protected PlexusContainer container; protected RepositorySystemSession session; @BeforeEach public void setUp() throws Exception { session = newMavenRepositorySystemSession(system); } protected PlexusContainer getContainer() { return container; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/metrics/README.md
The additional resource specific metrics which include additional go metrics or process metrics are exposed at `<Address for MinIO Node>/minio/v2/metrics/resource`. To use this endpoint, setup Prometheus to scrape data from this endpoint. Read more on how to configure and use Prometheus to monitor MinIO server in [How to monitor MinIO server with Prometheus](https://github.com/minio/minio/blob/master/docs/metrics/prometheus/README.md).
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 29 18:35:20 UTC 2024 - 1.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
void putUserData(String key, Object value) { userData[key] = value } } ClassPool instanceScopedPool = new ClassPool() JApiClass apiClass = Stub(JApiClass) def setup() { instanceScopedPool.appendSystemPath() } void noViolation(def rule) { assert rule.maybeViolation(apiClass) == null } Map getInitializationParams() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
/** * @author shinsuke * */ public class SitemapsHelperTest extends PlainTestCase { public SitemapsHelper sitemapsHelper; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class); sitemapsHelper = container.getComponent("sitemapsHelper"); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
@Override protected String component() { return "updateCheckManager"; } @BeforeEach @Override public void setUp() throws Exception { super.setUp(); updateCheckManager = new DefaultUpdateCheckManager(new ConsoleLogger(Logger.LEVEL_DEBUG, "test")); } @Test void testArtifact() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0)