- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 1,639 for setups (0.04 seconds)
-
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/LongKeyedBucketOrdsBenchmark.java
import org.openjdk.jmh.annotations.Mode; import org.openjdk.jmh.annotations.OperationsPerInvocation; import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import org.openjdk.jmh.infra.Blackhole; import java.util.concurrent.TimeUnit; @Fork(2) @Warmup(iterations = 10)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Feb 19 20:59:23 GMT 2021 - 8.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java
/** * Benchmark for {@link EventBus}. * * @author Eric Fellheimer */ @NullUnmarked public class EventBusBenchmark { private EventBus eventBus; @BeforeExperiment void setUp() { eventBus = new EventBus("for benchmarking purposes"); eventBus.register(this); } @Benchmark void postStrings(int reps) { for (int i = 0; i < reps; i++) { eventBus.post("hello there");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcGetMembersInAliasTest.java
import jcifs.dcerpc.msrpc.lsarpc; class MsrpcGetMembersInAliasTest { @Mock private SamrAliasHandle mockAliasHandle; @Mock private lsarpc.LsarSidArray mockSids; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Should correctly initialize MsrpcGetMembersInAlias with provided parameters") void testConstructorInitialization() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
package org.codelibs.core.timer; import junit.framework.TestCase; /** * @author higa * */ public class TimeoutManagerTest extends TestCase { private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); } protected void tearDown() throws Exception { TimeoutManager.getInstance().clear(); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; class MsrpcLsarOpenPolicy2Test { @Mock private LsaPolicyHandle mockPolicyHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void constructor_shouldInitializeFieldsCorrectly() { // Given String server = "testServer";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractGitAwareGradleFuncTest.groovy
abstract class AbstractGitAwareGradleFuncTest extends AbstractGradleFuncTest { @Rule TemporaryFolder remoteRepoDirs = new TemporaryFolder() File remoteGitRepo def setup() { remoteGitRepo = new File(setupGitRemote(), '.git') "git clone ${remoteGitRepo.absolutePath} cloned".execute(Collections.emptyList(), testProjectDir.root).waitFor()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt
@JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private lateinit var client: OkHttpClient @BeforeEach fun setUp() { platform.assumeLoom() client = clientTestRule .newClientBuilder() .dispatcher(Dispatcher(newVirtualThreadPerTaskExecutor())) .build() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2K bytes - Click Count (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
import java.io.IOException; import junit.framework.Test; import junit.framework.TestCase; /** * Runs all _gwt tests. Grouping them into a suite is much faster than running each as a one-test * "suite," as the per-suite setup is expensive. */ public class GwtTestSuite extends TestCase { public static Test suite() throws IOException { GWTTestSuite suite = new GWTTestSuite(); for (ClassInfo info :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java
* of common.collect a second time with the results of the first compilation on the classpath. Or * just back this out once we stop doing that (which we'll do after our internal GWT setup * changes). */ @Override public ImmutableMap<Object, Collection<Object>> asMap() { return super.asMap(); } private Object readResolve() { return INSTANCE; // preserve singleton property
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 1.8K bytes - Click Count (0) -
ci/official/pycpp.sh
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== source "${BASH_SOURCE%/*}/utilities/setup.sh" if [[ `uname -s | grep -P '^MSYS_NT'` ]]; then PROFILE_JSON_PATH=$(replace_drive_letter_with_prefix "$TFCI_OUTPUT_WIN_DOCKER_DIR") PROFILE_JSON_PATH="$PROFILE_JSON_PATH/profile.json.gz" elseCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Dec 03 05:57:39 GMT 2025 - 2K bytes - Click Count (0)