Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,259 for mustBe (0.09 sec)

  1. docs_src/custom_response/tutorial009c.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 01 09:32:30 UTC 2022
    - 451 bytes
    - Viewed (0)
  2. docs/minio-limits.md

    ### List of Amazon S3 Bucket API's not supported on MinIO
    
    - BucketACL (Use [bucket policies](https://min.io/docs/minio/linux/administration/identity-access-management/policy-based-access-control.html) instead)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. internal/fips/api.go

    // implementations compliant with FIPS 140.
    //
    // FIPS 140 [1] is a US standard for data processing that specifies
    // requirements for cryptographic modules. Software that is "FIPS 140
    // compliant" must use approved cryptographic primitives only and that
    // are implemented by a FIPS 140 certified cryptographic module.
    //
    // So, FIPS 140 requires that a certified implementation of e.g. AES
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:11:25 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. internal/once/singleton.go

    package once
    
    // Singleton contains a pointer to T that must be set once.
    // Until the value is set all Get() calls will block.
    type Singleton[T any] struct {
    	v   *T
    	set chan struct{}
    }
    
    // NewSingleton creates a new unset singleton.
    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  5. main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main // import "github.com/minio/minio"
    
    import (
    	"os"
    
    	// MUST be first import.
    	_ "github.com/minio/minio/internal/init"
    
    	minio "github.com/minio/minio/cmd"
    )
    
    func main() {
    	minio.Main(os.Args)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 973 bytes
    - Viewed (0)
  6. internal/s3select/sql/stringfuncs.go

    	}
    	return string(s) == text, nil
    }
    
    // matcher - Finds `pat` in `text`, and returns the part remainder of
    // `text`, after the match. If leadingPercent is false, `pat` must be
    // the prefix of `text`, otherwise it must be a substring.
    func matcher(text, pat string, leadingPercent bool) (res string, match bool) {
    	if !leadingPercent {
    		res = strings.TrimPrefix(text, pat)
    		if len(text) == len(res) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock_test.go

    			value:       DefaultRetention{Mode: RetGovernance, Days: &days, Years: &years},
    			expectedErr: fmt.Errorf("either Days or Years must be specified, not both"),
    			expectErr:   true,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance, Days: &zerodays},
    			expectedErr: fmt.Errorf("Default retention period must be a positive integer value for 'Days'"),
    			expectErr:   true,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. doc/asm.html

    function contains no call instructions.
    Otherwise, the local stack frame must not contain pointers,
    and the assembly must confirm this fact by executing the
    pseudo-instruction <code>NO_LOCAL_POINTERS</code>.
    Because stack resizing is implemented by moving the stack,
    the stack pointer may change during any function call:
    even pointers to stack data must not be kept in local variables.
    </p>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/cors.md

    To achieve this, the `:80`-backend must have a list of "allowed origins".
    
    In this case, the list would have to include `http://localhost:8080` for the `:8080`-frontend to work correctly.
    
    ## Wildcards
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashCode.java

       */
      public static HashCode fromBytes(byte[] bytes) {
        checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte.");
        return fromBytesNoCopy(bytes.clone());
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it
       * must be handed-off so as to preserve the immutability contract of {@code HashCode}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top