Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,418 for setUp (0.03 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K 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. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

    public class KeyMatchHelperTest extends UnitFessTestCase {
    
        private KeyMatchHelper keyMatchHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            keyMatchHelper = new KeyMatchHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            ComponentUtil.register(new VirtualHostHelper(), "virtualHostHelper");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      private Target nonEmptyProperSubset;
      private Target sameElements;
      private Target partialOverlap;
      private Target containsDuplicates;
      private Target nullSingleton;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    
        empty = new Target(emptyCollection(), "empty");
        /*
         * We test that nullSingleton.retainAll(disjointList) does NOT throw a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

                RenderDataUtil.register(data, "displayCreateLink",
                        !crawlingConfigHelper.getAllWebConfigList(false, false, false, null).isEmpty());
            }).useForm(SearchForm.class, setup -> {
                setup.setup(form -> {
                    copyBeanToBean(reqHeaderPager, form, op -> op.include("id"));
                });
            });
        }
    
        private HtmlResponse asEditHtml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

                RenderDataUtil.register(data, "displayCreateLink",
                        !crawlingConfigHelper.getAllFileConfigList(false, false, false, null).isEmpty());
            }).useForm(SearchForm.class, setup -> {
                setup.setup(form -> {
                    copyBeanToBean(fileAuthenticationPager, form, op -> op.include("id"));
                });
            });
        }
    
        /**
         * Returns HTML response for the edit page.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 18.7K bytes
    - Click Count (0)
Back to Top