Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,094 for isSetup (0.8 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      @Param HashFunctionEnum hashFunctionEnum;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        random.nextBytes(testBytes);
      }
    
      @Benchmark
      int hasher(int reps) {
        HashFunction hashFunction = hashFunctionEnum.getHashFunction();
        int result = 37;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

      @Param({"2", "3", "4", "5", "10"})
      int lockNestingDepth;
    
      CycleDetectingLockFactory factory;
      private Lock[] plainLocks;
      private Lock[] detectingLocks;
    
      @BeforeExperiment
      void setUp() throws Exception {
        this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN);
        this.plainLocks = new Lock[lockNestingDepth];
        for (int i = 0; i < lockNestingDepth; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

    import static org.junit.jupiter.api.Assertions.assertNotSame;
    
    /**
     */
    @Deprecated
    class DefaultMavenMetadataCacheTest {
        private RepositorySystem repositorySystem;
    
        @BeforeEach
        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/RootAction.java

        public HtmlResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            return asHtml(virtualHost(path_IndexJsp)).useForm(SearchForm.class, op -> {
                op.setup(form -> {
                    buildFormParams(form);
                });
            }).renderWith(data -> {
                buildInitParams();
                RenderDataUtil.register(data, "notification", fessConfig.getNotificationSearchTop());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        extends AbstractTester<OneSizeTestContainerGenerator<C, E>> {
      protected SampleElements<E> samples;
      protected C container;
    
      @Override
      @OverridingMethodsMustInvokeSuper
      public void setUp() throws Exception {
        super.setUp();
        samples = this.getSubjectGenerator().samples();
        resetContainer();
      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        private Configuration mockConfig;
    
        private static final String TEST_FILENAME = "test/file.txt";
        private static final int TEST_INFO_LEVEL = FileInformation.FILE_BASIC_INFO;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class WebFsIndexHelperTest extends UnitFessTestCase {
    
        private WebFsIndexHelper webFsIndexHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            webFsIndexHelper = new WebFsIndexHelper();
        }
    
        public void test_crawl_withNullParameters() {
            try {
                webFsIndexHelper.crawl("sessionId", null, null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class PermissionHelperTest extends UnitFessTestCase {
    
        public PermissionHelper permissionHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            permissionHelper = new PermissionHelper();
            permissionHelper.systemHelper = new SystemHelper();
        }
    
        public void test_encode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmServletTest.java

        @Mock
        private NameServiceClient nameServiceClient;
    
        /**
         * Sets up the mock objects before each test.
         * @throws CIFSException
         */
        @BeforeEach
        void setUp() throws CIFSException {
            ntlmServlet = new TestNtlmServlet();
    
            // Mock ServletConfig to provide initialization parameters
            Map<String, String> initParams = new HashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        private SmbPipeHandleImpl target;
    
        @BeforeEach
        void setUp() throws SmbException {
            // Default pipe characteristics: neither transact nor call; RDWR for access
            when(pipe.getPipeType()).thenReturn(SmbPipeResource.PIPE_TYPE_RDWR);
            when(pipe.getUncPath()).thenReturn("\\\\pipe\\\\my-pipe");
    
            // Setup tree with configuration
            when(tree.getConfig()).thenReturn(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top