Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 347 for vers (0.17 sec)

  1. src/cmd/go/internal/modfetch/fetch.go

    		if cfg.CmdName != "mod download" {
    			vers := mod.Version
    			if mod.Path == "golang.org/toolchain" {
    				// Shorten v0.0.1-go1.13.1.darwin-amd64 to go1.13.1.darwin-amd64
    				_, vers, _ = strings.Cut(vers, "-")
    				if i := strings.LastIndex(vers, "."); i >= 0 {
    					goos, goarch, _ := strings.Cut(vers[i+1:], "-")
    					vers = vers[:i] + " (" + goos + "/" + goarch + ")"
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_messages.go

    			if !extData.ReadUint8LengthPrefixed(&versList) || versList.Empty() {
    				return false
    			}
    			for !versList.Empty() {
    				var vers uint16
    				if !versList.ReadUint16(&vers) {
    					return false
    				}
    				m.supportedVersions = append(m.supportedVersions, vers)
    			}
    		case extensionCookie:
    			// RFC 8446, Section 4.2.2
    			if !readUint16LengthPrefixed(&extData, &m.cookie) ||
    				len(m.cookie) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_messages_test.go

    }
    
    func randomString(n int, rand *rand.Rand) string {
    	b := randomBytes(n, rand)
    	return string(b)
    }
    
    func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
    	m := &clientHelloMsg{}
    	m.vers = uint16(rand.Intn(65536))
    	m.random = randomBytes(32, rand)
    	m.sessionId = randomBytes(rand.Intn(32), rand)
    	m.cipherSuites = make([]uint16, rand.Intn(63)+1)
    	for i := 0; i < len(m.cipherSuites); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/crypto/tls/boring_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	hello, ok := msg.(*clientHelloMsg)
    	if !ok {
    		t.Fatalf("unexpected message type %T", msg)
    	}
    
    	if !isBoringVersion(hello.vers) {
    		t.Errorf("client vers=%#x, want %#x (TLS 1.2)", hello.vers, VersionTLS12)
    	}
    	for _, v := range hello.supportedVersions {
    		if !isBoringVersion(v) {
    			t.Errorf("client offered disallowed version %#x", v)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/image/gif/reader.go

    	err := readFull(d.r, d.tmp[:13])
    	if err != nil {
    		return fmt.Errorf("gif: reading header: %v", err)
    	}
    	d.vers = string(d.tmp[:6])
    	if d.vers != "GIF87a" && d.vers != "GIF89a" {
    		return fmt.Errorf("gif: can't recognize format %q", d.vers)
    	}
    	d.width = int(d.tmp[6]) + int(d.tmp[7])<<8
    	d.height = int(d.tmp[8]) + int(d.tmp[9])<<8
    	if fields := d.tmp[10]; fields&fColorTable != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/runtime/runtime_test.go

    		_, ok := GoroutineProfile(p)
    		return ok
    	}))
    }
    
    func TestVersion(t *testing.T) {
    	// Test that version does not contain \r or \n.
    	vers := Version()
    	if strings.Contains(vers, "\r") || strings.Contains(vers, "\n") {
    		t.Fatalf("cr/nl in version: %q", vers)
    	}
    }
    
    func TestTimediv(t *testing.T) {
    	for _, tc := range []struct {
    		num int64
    		div int32
    		ret int32
    		rem int32
    	}{
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		for _, vers := range versions {
    			if len(vers) == 0 {
    				consistent = false
    				continue
    			}
    			ver := vers[0]
    			if len(tops) == 0 {
    				consistent = true
    				topSig = ver.header
    			} else {
    				consistent = consistent && ver.header == topSig
    			}
    			tops = append(tops, vers[0])
    		}
    
    		// Check if done...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/init.go

    				Err: &module.InvalidVersionError{
    					Version: vers,
    					Err:     fmt.Errorf("malformed module path %q", path),
    				},
    			}
    		}
    		if vers != "" && module.CanonicalVersion(vers) == vers {
    			if err := module.CheckPathMajor(vers, pathMajor); err != nil {
    				return "", module.VersionError(module.Version{Path: path, Version: vers}, err)
    			}
    			return vers, nil
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  9. docs/fr/docs/index.md

    * <abbr title="aussi connu sous le nom de : serialization, parsing, marshalling">Une conversion</abbr> des données d'entrée : venant du réseau et allant vers les données et types de Python, permettant de lire :
        * le <abbr title="JavaScript Object Notation">JSON</abbr>.
        * <abbr title="en anglais : path parameters">les paramètres du chemin</abbr>.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. src/crypto/tls/common.go

    		if _, err := selectSignatureScheme(vers, c, chi.SignatureSchemes); err != nil {
    			return supportsRSAFallback(err)
    		}
    	}
    
    	// In TLS 1.3 we are done because supported_groups is only relevant to the
    	// ECDHE computation, point format negotiation is removed, cipher suites are
    	// only relevant to the AEAD choice, and static RSA does not exist.
    	if vers == VersionTLS13 {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
Back to top