Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for Brandt (3.04 sec)

  1. internal/dsync/drwmutex.go

    	//
    	i, locksFailed := 0, 0
    	done := false
    
    	for ; i < len(restClnts); i++ { // Loop until we acquired all locks
    		select {
    		case grant := <-ch:
    			if grant.isLocked() {
    				// Mark that this node has acquired the lock
    				(*locks)[grant.index] = grant.lockUID
    			} else {
    				locksFailed++
    				if locksFailed > tolerance {
    					// We know that we are not going to get the lock anymore,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	var priv interface{}
    	var err error
    	priv, err = rsa.GenerateKey(crand.Reader, rsaBits)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := crand.Int(crand.Reader, serialNumberLimit)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/erasure-decode_test.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	crand "crypto/rand"
    	"io"
    	"math/rand"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  4. docs/fr/docs/history-design-future.md

    Dans ce cadre, j'ai dû étudier, tester et utiliser de nombreuses alternatives.
    
    L'histoire de **FastAPI** est en grande partie l'histoire de ses prédécesseurs.
    
    Comme dit dans la section [Alternatives](alternatives.md){.internal-link target=\_blank} :
    
    <blockquote markdown="1">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. docs/debugging/inspect/main.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    )
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. tests/test_security_oauth2_optional_description.py

                    {
                        "loc": ["body", "grant_type"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    def test_strict_login_incorrect_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "incorrect"},
        )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  7. lib/time/zoneinfo.zip

    America/Asuncion America/Atikokan America/Atka America/Bahia America/Bahia_Banderas America/Barbados America/Belem America/Belize America/Blanc-Sablon America/Boa_Vista America/Bogota America/Boise America/Buenos_Aires America/Cambridge_Bay America/Campo_Grande America/Cancun America/Caracas America/Catamarca America/Cayenne America/Cayman America/Chicago America/Chihuahua America/Ciudad_Juarez America/Coral_Harbour America/Cordoba America/Costa_Rica America/Creston America/Cuiaba America/Curacao America/Danmarkshavn...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 392.3K bytes
    - Viewed (1)
  8. docs/pt/docs/alternatives.md

    Outro grande recurso necessário pelas APIs é a <abbr title="ler e converter para dados Python">análise</abbr> de dados vindos de requisições.
    
    Webargs é uma ferramente feita para fornecer o que está no topo de vários frameworks, inclusive Flask.
    
    Ele utiliza Marshmallow por baixo para validação de dados. E ele foi criado pelos mesmos desenvolvedores.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. docs/en/mkdocs.yml

      social:
      - icon: fontawesome/brands/github-alt
        link: https://github.com/tiangolo/fastapi
      - icon: fontawesome/brands/discord
        link: https://discord.gg/VQjSZaeJmf
      - icon: fontawesome/brands/twitter
        link: https://twitter.com/fastapi
      - icon: fontawesome/brands/linkedin
        link: https://www.linkedin.com/in/tiangolo
      - icon: fontawesome/brands/dev
        link: https://dev.to/tiangolo
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. tests/test_security_oauth2_optional.py

                    {
                        "loc": ["body", "grant_type"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    def test_strict_login_incorrect_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "incorrect"},
        )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top