Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for vers (0.04 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    			if need {
    				r.Mod.Version = vers
    				f.Syntax.updateLine(r.Syntax, "require", AutoQuote(path), vers)
    				need = false
    			} else {
    				r.Syntax.markRemoved()
    				*r = Require{}
    			}
    		}
    	}
    
    	if need {
    		f.AddNewRequire(path, vers, false)
    	}
    	return nil
    }
    
    // AddNewRequire adds a new require line for path at version vers at the end of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client.go

    	peerVersion := serverHello.vers
    	if serverHello.supportedVersion != 0 {
    		peerVersion = serverHello.supportedVersion
    	}
    
    	vers, ok := c.config.mutualVersion(roleClient, []uint16{peerVersion})
    	if !ok {
    		c.sendAlert(alertProtocolVersion)
    		return fmt.Errorf("tls: server selected unsupported protocol version %x", peerVersion)
    	}
    
    	c.vers = vers
    	c.haveVers = true
    	c.in.version = vers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server.go

    		clientVersions = supportedVersionsFromMax(clientHello.vers)
    	}
    	c.vers, ok = c.config.mutualVersion(roleServer, clientVersions)
    	if !ok {
    		c.sendAlert(alertProtocolVersion)
    		return nil, fmt.Errorf("tls: client offered only unsupported versions: %x", clientVersions)
    	}
    	c.haveVers = true
    	c.in.version = c.vers
    	c.out.version = c.vers
    
    	if c.config.MinVersion == 0 && c.vers < VersionTLS12 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    		outBuf[0] = byte(typ)
    		vers := c.vers
    		if vers == 0 {
    			// Some TLS servers fail if the record version is
    			// greater than TLS 1.0 for the initial ClientHello.
    			vers = VersionTLS10
    		} else if vers == VersionTLS13 {
    			// TLS 1.3 froze the record layer version to 1.2.
    			// See RFC 8446, Section 5.1.
    			vers = VersionTLS12
    		}
    		outBuf[1] = byte(vers >> 8)
    		outBuf[2] = byte(vers)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_test.go

    	go func() {
    		cli := Client(c, testConfig)
    		if ch, ok := m.(*clientHelloMsg); ok {
    			cli.vers = ch.vers
    		}
    		if _, err := cli.writeHandshakeRecord(m, nil); err != nil {
    			testFatal(t, err)
    		}
    		c.Close()
    	}()
    	ctx := context.Background()
    	conn := Server(s, serverConfig)
    	ch, err := conn.readClientHello(ctx)
    	if conn.vers == VersionTLS13 {
    		hs := serverHandshakeStateTLS13{
    			c:           conn,
    			ctx:         ctx,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. cmd/mrf.go

    			if u.scanMode != 0 {
    				scan = u.scanMode
    			}
    			if u.object == "" {
    				healBucket(u.bucket, scan)
    			} else {
    				if len(u.versions) > 0 {
    					vers := len(u.versions) / 16
    					if vers > 0 {
    						for i := 0; i < vers; i++ {
    							healObject(u.bucket, u.object, uuid.UUID(u.versions[16*i:]).String(), scan)
    						}
    					}
    				} else {
    					healObject(u.bucket, u.object, u.versionID, scan)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/syscall/dir_plan9.go

    	ErrBadName   = errors.New("bad character in file name")
    )
    
    // A Qid represents a 9P server's unique identification for a file.
    type Qid struct {
    	Path uint64 // the file server's unique identification for the file
    	Vers uint32 // version number for given Path
    	Type uint8  // the type of the file (syscall.QTDIR for example)
    }
    
    // A Dir contains the metadata for a file.
    type Dir struct {
    	// system-modified data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:32:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/debug/buildinfo/buildinfo.go

    // binaries built with module support.
    func Read(r io.ReaderAt) (*BuildInfo, error) {
    	vers, mod, err := readRawBuildInfo(r)
    	if err != nil {
    		return nil, err
    	}
    	bi, err := debug.ParseBuildInfo(mod)
    	if err != nil {
    		return nil, err
    	}
    	bi.GoVersion = vers
    	return bi, nil
    }
    
    type exe interface {
    	// ReadData reads and returns up to size bytes starting at virtual address addr.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_tls13.go

    	c := hs.c
    
    	hs.hello = new(serverHelloMsg)
    
    	// TLS 1.3 froze the ServerHello.legacy_version field, and uses
    	// supported_versions instead. See RFC 8446, sections 4.1.3 and 4.2.1.
    	hs.hello.vers = VersionTLS12
    	hs.hello.supportedVersion = c.vers
    
    	if len(hs.clientHello.supportedVersions) == 0 {
    		c.sendAlert(alertIllegalParameter)
    		return errors.New("tls: client used the legacy version field to negotiate TLS 1.3")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. src/crypto/tls/auth.go

    // versions that support signature algorithms, so TLS 1.2 and 1.3.
    func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) {
    	supportedAlgs := signatureSchemesForCertificate(vers, c)
    	if len(supportedAlgs) == 0 {
    		return 0, unsupportedCertificateError(c)
    	}
    	if len(peerAlgs) == 0 && vers == VersionTLS12 {
    		// For TLS 1.2, if the client didn't send signature_algorithms then we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top