Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,418 for SetUp (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      protected void assertSize(int expectedSize) {
        assertEquals(expectedSize, table.size());
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        table = create();
      }
    
      public void testContains() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.contains("foo", 1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        private NetServerEnum2 netServerEnum2;
        private Configuration realConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            realConfig = new BaseConfiguration(false);
            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random(randomSeed);
        xInts = new int[SAMPLE_SIZE];
        yInts = new int[SAMPLE_SIZE];
        xLongs = new long[SAMPLE_SIZE];
        yLongs = new long[SAMPLE_SIZE];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      int size;
    
      @Param({"2", "20"})
      int nonAlphaRatio; // one non-alpha char per this many chars
    
      @Param boolean noWorkToDo;
    
      Random random;
      String testString;
    
      @BeforeExperiment
      void setUp() {
        random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs
    
        int nonAlpha = size / nonAlphaRatio;
        int alpha = size - nonAlpha;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java

            // make sure the global build info plugin is applied to the root project
            project.getRootProject().getPluginManager().apply(GlobalBuildInfoPlugin.class);
            // common repositories setup
            project.getPluginManager().apply(JavaBasePlugin.class);
            project.getPluginManager().apply(RepositoriesSetupPlugin.class);
            project.getPluginManager().apply(ElasticsearchTestBasePlugin.class);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

      private lateinit var certificate: HeldCertificate
      private val dns = FakeDns()
      private lateinit var url: HttpUrl
      private lateinit var serverIps: List<InetAddress>
    
      @BeforeEach
      fun setUp() {
        platform.assumeHttp2Support()
        platform.assumeNotBouncyCastle()
        rootCa =
          HeldCertificate
            .Builder()
            .serialNumber(1L)
            .certificateAuthority(0)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  7. cmd/endpoint-ellipses_test.go

    							Suffix: "",
    							Seq:    getSequences(1, 64, 0),
    						},
    					},
    				},
    				nil,
    				[][]uint64{{16, 16, 16, 16}},
    			},
    			true,
    		},
    		// Valid input for distributed setup.
    		{
    			"http://minio{2...3}/export/set{1...64}",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

    import java.util.List;
    
    import org.junit.Before;
    import org.junit.Test;
    
    public class ElevateWordTest {
    
        private ElevateWord elevateWord;
    
        @Before
        public void setUp() {
            // Setup for each test
        }
    
        @Test
        public void testConstructorWithAllParameters() {
            // Test constructor with all parameters
            String word = "test word";
            float boost = 2.5f;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                } else {
                    cb.query().setDescription_MatchPhrase(fileConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTreeImplTest.java

        @Mock
        private Configuration config;
    
        @Mock
        private CIFSContext context;
    
        @Mock
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            when(session.getConfig()).thenReturn(config);
            when(session.getContext()).thenReturn(context);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top