Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 695 for set_op (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final double[] doubles = new double[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positiveDoubles[i] = randomPositiveDouble();
          doubles[i] = randomDouble(Long.SIZE);
          factorials[i] = RANDOM_SOURCE.nextInt(100);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class NdrLongTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

    import jcifs.smb1.util.Hexdump;
    
    public class SmbComDeleteTest {
    
        private static final String TEST_FILE_NAME = "testFile.txt";
        private SmbComDelete smbComDelete;
    
        @BeforeEach
        public void setUp() {
            smbComDelete = new SmbComDelete(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/ThirdPartyAuditTaskIT.java

    public class ThirdPartyAuditTaskIT extends GradleIntegrationTestCase {
    
        @Override
        public String projectName() {
            return "thirdPartyAudit";
        }
    
        @Before
        public void setUp() throws Exception {
            // Build the sample jars
            getGradleRunner().withArguments(":sample_jars:build", "-s").build();
            // propagate jdkjarhell jar
        }
    
        public void testElasticsearchIgnored() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    
    /**
     * A transformation to to remove any warnings that match exactly.
     * If this removes all of the warnings, this will not remove the feature from the setup and/or teardown and will leave behind an empty array
     * While it would be more technically correct to do so, the effort/complexity does not warrant it, since for the expected usage it makes
     * no difference.
     */
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 15 08:50:42 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class WebFsIndexHelperTest extends UnitFessTestCase {
    
        private WebFsIndexHelper webFsIndexHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            webFsIndexHelper = new WebFsIndexHelper();
        }
    
        @Test
        public void test_crawl_withNullParameters() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

    public class AdminDesignActionTest extends UnitFessTestCase {
    
        private AdminDesignAction action;
        private Path tempDir;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            action = new AdminDesignAction();
            tempDir = Files.createTempDirectory("fess_test");
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class ScriptEngineFactoryTest extends UnitFessTestCase {
    
        private ScriptEngineFactory scriptEngineFactory;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            scriptEngineFactory = new ScriptEngineFactory();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (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<>();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top