Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,092 for vers (0.09 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/server.go

    		path, err := module.UnescapePath(escPath)
    		if err != nil {
    			reportError(w, err)
    			return
    		}
    		vers, err := module.UnescapeVersion(escVers)
    		if err != nil {
    			reportError(w, err)
    			return
    		}
    		id, err := s.ops.Lookup(ctx, module.Version{Path: path, Version: vers})
    		if err != nil {
    			reportError(w, err)
    			return
    		}
    		records, err := s.ops.ReadRecords(ctx, id, 1)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	epath, err := module.EscapePath(path)
    	if err != nil {
    		return nil, err
    	}
    	evers, err := module.EscapeVersion(strings.TrimSuffix(vers, "/go.mod"))
    	if err != nil {
    		return nil, err
    	}
    	remotePath := "/lookup/" + epath + "@" + evers
    	file := c.name + remotePath
    
    	// Fetch the data.
    	// The lookupCache avoids redundant ReadCache/GetURL operations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K 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/query.go

    }
    
    // IsRevisionQuery returns true if vers is a version query that may refer to
    // a particular version or revision in a repository like "v1.0.0", "master",
    // or "0123abcd". IsRevisionQuery returns false if vers is a query that
    // chooses from among available versions like "latest" or ">v1.0.0".
    func IsRevisionQuery(path, vers string) bool {
    	if vers == "latest" ||
    		vers == "upgrade" ||
    		vers == "patch" ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    	defer func() {
    		if err != nil {
    			err = &zipError{verb: "create zip", err: err}
    		}
    	}()
    
    	// Check that the version is canonical, the module path is well-formed, and
    	// the major version suffix matches the major version.
    	if vers := module.CanonicalVersion(m.Version); vers != m.Version {
    		return fmt.Errorf("version %q is not canonical (should be %q)", m.Version, vers)
    	}
    	if err := module.Check(m.Path, m.Version); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  10. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy

            "group"             | "artifact"             | "vers/ion"  | "version cannot contain '/'"
            "group"             | "artifact"             | "vers\\ion"  | "version cannot contain '\\'"
            "group"             | "artifact"             | "version\t" | "version cannot contain ISO control character '\\u0009'"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top