Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 762 for setOp (0.06 sec)

  1. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      @Param({"3", "30", "300"})
      int count;
    
      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        @TempDir
        Path tempDir;
    
        private final DefaultProfileActivationContext context = new DefaultProfileActivationContext();
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new FileProfileActivator(
                    new ProfileActivationFilePathInterpolator(new DefaultPathTranslator(), bd -> true));
    
            context.setProjectDirectory(tempDir.toFile());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

    /**
     * Tests {@link PropertyProfileActivator}.
     *
     */
    class PropertyProfileActivatorTest extends AbstractProfileActivatorTest<PropertyProfileActivator> {
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new PropertyProfileActivator();
        }
    
        private Profile newProfile(String key, String value) {
            ActivationProperty ap =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTester.java

        super(factory, string, suiteName, caseDesc, method);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.source = factory.createSource(data);
      }
    
      public void testOpenStream() throws IOException {
        Reader reader = source.openStream();
    
        StringWriter writer = new StringWriter();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

    import org.jline.utils.OSUtils;
    
    /**
     * Encrypt invoker implementation, when Encrypt CLI is being run. System uses ClassWorld launcher, and class world
     * instance is passed in via "enhanced" main method. Hence, this class expects fully setup ClassWorld via constructor.
     */
    public class DefaultEncryptInvoker
            extends LookupInvoker<EncryptOptions, EncryptInvokerRequest, DefaultEncryptInvoker.LocalContext>
            implements EncryptInvoker {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. cmd/object-api-getobjectinfo_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"testing"
    )
    
    // Wrapper for calling GetObjectInfo tests for both Erasure multiple disks and single node setup.
    func TestGetObjectInfo(t *testing.T) {
    	ExecObjectLayerTest(t, testGetObjectInfo)
    }
    
    // Testing GetObjectInfo().
    func testGetObjectInfo(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                } else {
                    cb.query().setDescription_MatchPhrase(webConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

      int size;
    
      // use concrete classes to remove any possible polymorphic overhead?
      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = Lists.newLinkedList();
    
        for (int i = 0; i < size; i++) {
          Object value = new Object();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  10. android/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;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
Back to top