Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 887 for setOut (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

     *
     * @author Kevin Bourrillion
     */
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    import junit.framework.TestCase;
    
    /** @author Gregory Kick */
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private Runtime runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(Runtime.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
        verify(runtimeMock).exit(1);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. .github/workflows/maven.yml

      pull_request:
        branches:
        - master
        - "*.x"
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v2
        - name: Set up JDK 21
          uses: actions/setup-java@v2
          with:
            java-version: '21'
            distribution: 'temurin'
        - uses: actions/cache@v1
          with:
            path: ~/.m2/repository
            key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Dec 23 10:29:00 UTC 2023
    - 822 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

      var client = clientTestRule.newClient()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Default after JDK 14, but we are avoiding tests that assume special setup.
        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

    /**
     * @author shinsuke
     *
     */
    public class ExtractorFactoryTest extends PlainTestCase {
        public ExtractorFactory extractorFactory;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("tikaExtractor", TikaExtractor.class)//
                    .singleton("pdfExtractor", PdfExtractor.class)//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. cmd/endpoint_test.go

    		// Erasure Single Drive
    		{"localhost:9000", []string{"http://localhost/d1"}, "", Endpoints{}, -1, fmt.Errorf("use path style endpoint for SD setup")},
    		{":443", []string{"/d1"}, ":443", Endpoints{Endpoint{URL: &url.URL{Path: mustAbs("/d1")}, IsLocal: true}}, ErasureSDSetupType, nil},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
        MappedByteBuffer actual = Files.map(file);
    
        // Verify
        ByteBuffer expected = ByteBuffer.wrap(bytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

      static final Object EVENT = new Object();
    
      abstract H createSubscriber();
    
      private @Nullable H subscriber;
    
      H getSubscriber() {
        return subscriber;
      }
    
      @Override
      protected void setUp() throws Exception {
        subscriber = createSubscriber();
        EventBus bus = new EventBus();
        bus.register(subscriber);
        bus.post(EVENT);
      }
    
      @Override
      protected void tearDown() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

        }
    
        // Used by m2eclipse
    
        @SuppressWarnings({"UnusedDeclaration"})
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class CrawlingInfoHelperTest extends UnitFessTestCase {
        private CrawlingInfoHelper crawlingInfoHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            crawlingInfoHelper = new CrawlingInfoHelper();
        }
    
        public void test_generateId() {
            final Map<String, Object> dataMap = new HashMap<String, Object>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top