Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 850 for SetUp (0.02 sec)

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

      private static final BigInteger[] positive = new BigInteger[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(1024);
          nonzero1[i] = randomNonZeroBigInteger(1024);
          nonzero2[i] = randomNonZeroBigInteger(1024);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

      public ListenableFutureTester(ListenableFuture<?> future) {
        this.exec = Executors.newCachedThreadPool();
        this.future = checkNotNull(future);
        this.latch = new CountDownLatch(1);
      }
    
      public void setUp() {
        future.addListener(
            new Runnable() {
              @Override
              public void run() {
                latch.countDown();
              }
            },
            exec);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. docs/iam/opa.md

     input.owner == false
    }
    EOF
    ```
    
    Then load the policy via OPA's REST API.
    
    ```
    curl -X PUT --data-binary @example.rego \
      localhost:8181/v1/policies/putobject
    ```
    
    ### 4. Setup MinIO with OPA
    
    Set the `MINIO_POLICY_PLUGIN_URL` as the endpoint that MinIO should send authorization requests to. Then start the server.
    
    ```sh
    export MINIO_POLICY_PLUGIN_URL=http://localhost:8181/v1/data/httpapi/authz/allow
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

        private static final Logger logger = LogManager.getLogger(TermQueryCommandTest.class);
    
        private TermQueryCommand queryCommand;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            QueryFieldConfig queryFieldConfig = new QueryFieldConfig();
            queryFieldConfig.init();
            ComponentUtil.register(queryFieldConfig, "queryFieldConfig");
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/http-tracer.go

    func httpTracerMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// Setup a http request response recorder - this is needed for
    		// http stats requests and audit if enabled.
    		respRecorder := xhttp.NewResponseRecorder(w)
    
    		// Setup a http request body recorder
    		reqRecorder := &xhttp.RequestRecorder{Reader: r.Body}
    		r.Body = reqRecorder
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

    /**
     * @author shinsuke
     *
     */
    public class HcHttpClientTest extends PlainTestCase {
        public HcHttpClient httpClient;
    
        public UrlFilter urlFilter;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("dataHelper", MemoryDataHelper.class)//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

    /**
     * @author shinsuke
     *
     */
    public class FileTransformerTest extends PlainTestCase {
        public FileTransformer fileTransformer;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            fileTransformer = new FileTransformer();
            fileTransformer.setName("fileTransformer");
            Map<String, String> featureMap = newHashMap();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

            }
          };
    
      private TimeLimiter service;
    
      private static final ExecutorService executor = Executors.newFixedThreadPool(1);
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        service = SimpleTimeLimiter.create(executor);
      }
    
      public void testNewProxy_goodMethodWithEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(DELAY_MS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. .github/workflows/pylint-presubmit.yml

          with:
            output: ' '
        - name: Report list of changed files
          run: |
            echo Changed files: ${{ steps.get_file_changes.outputs.files }}
        - name: Set up Python 3.9
          uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
          with:
            python-version: "3.9"
        - name: Install Python dependencies
          run: |
            python -m pip install --upgrade pip
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        }
    
        private HtmlResponse asListHtml(final UploadForm uploadForm) {
            return asHtml(path_AdminDesign_AdminDesignJsp).useForm(DesignForm.class, setup -> {
                setup.setup(form -> {
                    copyBeanToBean(uploadForm, form, op -> op.include("designFile", "designFileName"));
                });
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top