Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 923 for vers (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/gover/mod_test.go

    	},
    }
    
    func mvl(s string) []module.Version {
    	var list []module.Version
    	for _, f := range strings.Split(s, ";") {
    		f = strings.TrimSpace(f)
    		path, vers, _ := strings.Cut(f, " ")
    		list = append(list, module.Version{Path: path, Version: vers})
    	}
    	return list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:51:28 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. pkg/test/framework/resource/version.go

    		return ""
    	}
    	var rvPairs []string
    	for rev, ver := range *rv {
    		if ver == "" {
    			ver = "latest"
    		}
    		rvPairs = append(rvPairs,
    			fmt.Sprintf("%s=%s", rev, ver))
    	}
    	return strings.Join(rvPairs, ",")
    }
    
    // Versions returns the Istio versions present in the given RevVerMap.
    func (rv *RevVerMap) Versions() IstioVersions {
    	if rv == nil {
    		return nil
    	}
    	var vers []IstioVersion
    	for _, v := range *rv {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 5.7K 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/go/internal/gccgoimporter/importer_test.go

    	if err != nil {
    		t.Logf("%s", verout)
    		t.Fatal(err)
    	}
    	vers := regexp.MustCompile(`(\d+)\.(\d+)`).FindSubmatch(verout)
    	if len(vers) == 0 {
    		t.Fatalf("could not find version number in %s", verout)
    	}
    	major, err := strconv.Atoi(string(vers[1]))
    	if err != nil {
    		t.Fatal(err)
    	}
    	minor, err := strconv.Atoi(string(vers[2]))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:17:57 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/test.go

    // and fetch new records as needed by calling gosum.
    func NewTestServer(signer string, gosum func(path, vers string) ([]byte, error)) *TestServer {
    	return &TestServer{signer: signer, gosum: gosum}
    }
    
    // A TestServer is an in-memory implementation of [ServerOps] for testing.
    type TestServer struct {
    	signer string
    	gosum  func(path, vers string) ([]byte, error)
    
    	mu      sync.Mutex
    	hashes  testHashes
    	records [][]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top