Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sha512 (0.39 sec)

  1. src/cmd/go/go_boring_test.go

    package main_test
    
    import "testing"
    
    func TestBoringInternalLink(t *testing.T) {
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.tempFile("main.go", `package main
    		import "crypto/sha1"
    		func main() {
    			sha1.New()
    		}`)
    	tg.run("build", "-ldflags=-w -extld=false", tg.path("main.go"))
    	tg.run("build", "-ldflags=-extld=false", tg.path("main.go"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:22 UTC 2022
    - 544 bytes
    - Viewed (0)
  2. src/cmd/fix/import_test.go

    		In: `package main
    
    import (
    	"asn1"
    	"crypto"
    	"crypto/rsa"
    	_ "crypto/sha1"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"time"
    )
    
    var x = 1
    `,
    		Out: `package main
    
    import (
    	"crypto"
    	"crypto/rsa"
    	_ "crypto/sha1"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/asn1"
    	"time"
    )
    
    var x = 1
    `,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 5K bytes
    - Viewed (0)
  3. schema/naming.go

    package schema
    
    import (
    	"crypto/sha1"
    	"encoding/hex"
    	"regexp"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/jinzhu/inflection"
    	"golang.org/x/text/cases"
    	"golang.org/x/text/language"
    )
    
    // Namer namer interface
    type Namer interface {
    	TableName(table string) string
    	SchemaName(table string) string
    	ColumnName(table, column string) string
    	JoinTableName(joinTable string) string
    	RelationshipFKName(Relationship) string
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gc.go

    	"runtime"
    	"strings"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/load"
    	"cmd/go/internal/str"
    	"cmd/internal/quoted"
    	"crypto/sha1"
    )
    
    // Tests can override this by setting $TESTGO_TOOLCHAIN_VERSION.
    var ToolchainVersion = runtime.Version()
    
    // The Go toolchain.
    
    type gcToolchain struct{}
    
    func (gcToolchain) compiler() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/codehost.go

    	for i := 0; i < len(rev); i++ {
    		c := rev[i]
    		if '0' <= c && c <= '9' || 'a' <= c && c <= 'f' {
    			continue
    		}
    		return false
    	}
    	return true
    }
    
    // ShortenSHA1 shortens a SHA1 hash (40 hex digits) to the canonical length
    // used in pseudo-versions (12 hex digits).
    func ShortenSHA1(rev string) string {
    	if AllHex(rev) && len(rev) == 40 {
    		return rev[:12]
    	}
    	return rev
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top