Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 668 for methods (0.06 seconds)

  1. cmd/encryption-v1.go

    	if info.IsDir {
    		return false, nil
    	}
    	if r == nil {
    		return false, errInvalidArgument
    	}
    
    	headers := r.Header
    
    	// disallow X-Amz-Server-Side-Encryption header on HEAD and GET
    	switch r.Method {
    	case http.MethodGet, http.MethodHead:
    		if crypto.S3.IsRequested(headers) || crypto.S3KMS.IsRequested(headers) {
    			return false, errInvalidEncryptionParameters
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  2. cmd/object-api-utils.go

    	}
    	p.Reader = encReader
    	p.sealMD5Fn = sealETagFn(*objEncKey)
    	return p, nil
    }
    
    // NewPutObjReader returns a new PutObjReader. It uses given hash.Reader's
    // MD5Current method to construct md5sum when requested downstream.
    func NewPutObjReader(rawReader *hash.Reader) *PutObjReader {
    	return &PutObjReader{Reader: rawReader, rawReader: rawReader}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  3. cmd/admin-handlers.go

    		name:    name,
    		size:    int64(len(data)),
    		mode:    fileMode,
    		modTime: UTCNow(),
    		isDir:   false,
    		sys:     nil,
    	})
    	if zerr != nil {
    		return zerr
    	}
    	header.Method = zip.Deflate
    	zwriter, zerr := zipWriter.CreateHeader(header)
    	if zerr != nil {
    		return zerr
    	}
    	_, err := io.Copy(zwriter, bytes.NewReader(data))
    	return err
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  4. src/bytes/bytes.go

    	// Fast path for ASCII: look for the first ASCII non-space byte.
    	for lo, c := range s {
    		if c >= utf8.RuneSelf {
    			// If we run into a non-ASCII byte, fall back to the
    			// slower unicode-aware method on the remaining bytes.
    			return TrimFunc(s[lo:], unicode.IsSpace)
    		}
    		if asciiSpace[c] != 0 {
    			continue
    		}
    		s = s[lo:]
    		// Now look for the first ASCII non-space byte from the end.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. cmd/iam.go

    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListAccessKeys(ctx)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // GetServiceAccount - wrapper method to get information about a service account
    func (sys *IAMSys) GetServiceAccount(ctx context.Context, accessKey string) (auth.Credentials, *policy.Policy, error) {
    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  6. docs/de/docs/index.md

    ### Zusammenfassung { #recap }
    
    Zusammengefasst deklarieren Sie **einmal** die Typen von Parametern, Body, usw. als Funktionsparameter.
    
    Das machen Sie mit modernen Standard-Python-Typen.
    
    Sie müssen keine neue Syntax, Methoden oder Klassen einer bestimmten Bibliothek usw. lernen.
    
    Nur Standard-**Python**.
    
    Zum Beispiel für ein `int`:
    
    ```Python
    item_id: int
    ```
    
    oder für ein komplexeres `Item`-Modell:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  7. doc/go_mem.html

    use a synchronization mechanism such as a lock or channel
    communication to establish a relative ordering.
    </p>
    
    <h3 id="chan">Channel communication</h3>
    
    <p>
    Channel communication is the main method of synchronization
    between goroutines.  Each send on a particular channel
    is matched to a corresponding receive from that channel,
    usually in a different goroutine.
    </p>
    
    <p class="rule">
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  8. docs/es/docs/alternatives.md

        return {"message": "Hello World"}
    ```
    
    Mira las similitudes entre `requests.get(...)` y `@app.get(...)`.
    
    /// check | Inspiró a **FastAPI** a
    
    * Tener un API simple e intuitivo.
    * Usar nombres de métodos HTTP (operaciones) directamente, de una manera sencilla e intuitiva.
    * Tener valores predeterminados sensatos, pero personalizaciones poderosas.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  9. docs/pt/docs/alternatives.md

        return {"message": "Hello World"}
    ```
    
    Veja as similaridades em `requests.get(...)` e `@app.get(...)`.
    
    /// check | **FastAPI** inspirado para
    
    * Ter uma API simples e intuitiva.
    * Utilizar nomes de métodos HTTP (operações) diretamente, de um jeito direto e intuitivo.
    * Ter padrões sensatos, mas customizações poderosas.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  10. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	verifyError(c, response, "SignatureDoesNotMatch", "The request signature we calculated does not match the signature you provided. Check your key and signing method.", http.StatusForbidden)
    }
    
    // This tests validate if PUT handler can successfully detect SHA256 mismatch.
    func (s *TestSuiteCommon) TestSHA256Mismatch(c *check) {
    	// generate a random bucket name.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
Back to Top