Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 513 for xsamples (0.04 sec)

  1. docs/en/docs/deployment/docker.md

    COPY ./app /code/app
    
    # (1)!
    CMD ["fastapi", "run", "app/main.py", "--port", "80", "--workers", "4"]
    ```
    
    1. Here we use the `--workers` command line option to set the number of workers to 4.
    
    Here are some examples of when that could make sense:
    
    #### A Simple App { #a-simple-app }
    
    You could want a process manager in the container if your application is **simple enough** that can run it on a **single server**, not a cluster.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 12:58:04 UTC 2025
    - 29.5K bytes
    - Viewed (1)
  2. cmd/admin-handlers.go

    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = globalNetPerfMinDuration
    	}
    
    	if duration < globalNetPerfMinDuration {
    		// We need sample size of minimum 10 secs.
    		duration = globalNetPerfMinDuration
    	}
    
    	duration = duration.Round(time.Second)
    
    	results, err := globalSiteReplicationSys.Netperf(ctx, duration)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    // Usage hint: Should be used at the end of the API end points tests (ex: check the last few lines of `testAPIListObjectPartsHandler`),
    // need a sample HTTP request to be sent as argument so that the relevant handler is called, the handler registration is expected
    // to be done since its called from within the API handler tests, the reference to the registered HTTP handler has to be sent
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. cmd/server-main.go

      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    {{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    EXAMPLES:
      1. Start MinIO server on "/home/shared" directory.
         {{.Prompt}} {{.HelpName}} /home/shared
    
      2. Start single node server with 64 local drives "/mnt/data1" to "/mnt/data64".
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  5. cmd/bucket-policy-handlers_test.go

    	// test cases with sample input and expected output.
    	testCases := []struct {
    		bucketName string
    		// bucket policy to be set,
    		// set as request body.
    		bucketPolicyReader io.ReadSeeker
    		// length in bytes of the bucket policy being set.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. cmd/server_test.go

    		c.Assert(err, nil)
    
    		// assert the http response status code.
    		c.Assert(response.StatusCode, http.StatusOK)
    	}
    }
    
    func (s *TestSuiteCommon) TestBucketSQSNotificationWebHook(c *check) {
    	// Sample bucket notification.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    mc event list myminio/images
    arn:minio:sqs::1:nats s3:ObjectCreated:*,s3:ObjectRemoved:* Filter: suffix=”.jpg”
    ```
    
    ### Step 3: Test on NATS
    
    If you use NATS server, check out this sample program below to log the bucket notification added to NATS.
    
    ```go
    package main
    
    // Import Go and NATS packages
    import (
     "log"
     "runtime"
    
     "github.com/nats-io/nats.go"
    )
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  8. LICENSE

    You should also get your employer (if you work as a programmer) or your
    school, if any, to sign a "copyright disclaimer" for the library, if
    necessary.  Here is a sample; alter the names:
    
      Yoyodyne, Inc., hereby disclaims all copyright interest in the
      library `Frob' (a library for tweaking knobs) written by James Random
      Hacker.
    
      {signature of Ty Coon}, 1 April 1990
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            TwoArg bar = new TwoArg(first, second);
            verifyBarPass(method, bar); // All args nullable:  anything goes!
          }
        }
      }
    
      /*
       * This next part consists of several sample classes that provide
       * demonstrations of conditions that cause NullPointerTester
       * to succeed/fail.
       */
    
      /** Lots of well-behaved methods. */
      @SuppressWarnings("unused") // used by reflection
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.15.md

    * ingress:  Update in-tree Ingress controllers, examples, and clients to target networking.k8s.io/v1beta1 ([#77617](https://github.com/kubernetes/kubernetes/pull/77617), [@cmluciano](https://github.com/cmluciano))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
Back to top