Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for shr2 (0.04 sec)

  1. test/codegen/arithmetic.go

    // optimized into shifts and ands
    
    func LenDiv1(a []int) int {
    	// 386:"SHRL\t[$]10"
    	// amd64:"SHRQ\t[$]10"
    	// arm64:"LSR\t[$]10",-"SDIV"
    	// arm:"SRL\t[$]10",-".*udiv"
    	// ppc64x:"SRD"\t[$]10"
    	return len(a) / 1024
    }
    
    func LenDiv2(s string) int {
    	// 386:"SHRL\t[$]11"
    	// amd64:"SHRQ\t[$]11"
    	// arm64:"LSR\t[$]11",-"SDIV"
    	// arm:"SRL\t[$]11",-".*udiv"
    	// ppc64x:"SRD\t[$]11"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    // because they have reached the end of their useful life.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=85
    var supportedMACs = []string{
    	"hmac-sha2******@****.***", "hmac-sha2******@****.***", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha1", "hmac-sha1-96",
    }
    
    func sshPubKeyAuth(c ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) {
    	return authenticateSSHConnection(c, key, nil)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. internal/event/target/mysql.go

    	// Some MySQL has a 3072 byte limit on key sizes.
    	mysqlCreateNamespaceTable = `CREATE TABLE %s (
                 key_name VARCHAR(3072) NOT NULL,
                 key_hash CHAR(64) GENERATED ALWAYS AS (SHA2(key_name, 256)) STORED NOT NULL PRIMARY KEY,
                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/shell.go

    }
    
    func (sh *Shell) printLocked(a ...any) {
    	sh.printFunc(a...)
    }
    
    // WithAction returns a Shell identical to sh, but bound to Action a.
    func (sh *Shell) WithAction(a *Action) *Shell {
    	sh2 := *sh
    	sh2.action = a
    	return &sh2
    }
    
    // Shell returns a shell for running commands on behalf of Action a.
    func (b *Builder) Shell(a *Action) *Shell {
    	if a == nil {
    		// The root shell has a nil Action. The point of this method is to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. test/codegen/shift.go

    	// check that the shift operation has two commas (three operands)
    	// amd64:"SHRQ.*,.*,"
    	shr := x>>s | y<<ŝ
    	// amd64:"SHLQ.*,.*,"
    	shl := x<<s | y>>ŝ
    	return shr, shl
    }
    
    func checkShiftToMask(u []uint64, s []int64) {
    	// amd64:-"SHR",-"SHL","ANDQ"
    	u[0] = u[0] >> 5 << 5
    	// amd64:-"SAR",-"SHL","ANDQ"
    	s[0] = s[0] >> 5 << 5
    	// amd64:-"SHR",-"SHL","ANDQ"
    	u[1] = u[1] << 5 >> 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/crypto/x509/x509.go

    //		csor(3) algorithms(4) id-dsa-with-sha2(3) 2}
    //
    // RFC 5758 3.2 ECDSA Signature Algorithm
    //
    //	ecdsa-with-SHA256 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    //		us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 2 }
    //
    //	ecdsa-with-SHA384 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    //		us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 3 }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  7. src/math/big/nat.go

    		return z[:0]
    	}
    	// m > 0
    
    	n := m + int(s/_W)
    	z = z.make(n + 1)
    	z[n] = shlVU(z[n-m:n], x, s%_W)
    	clear(z[0 : n-m])
    
    	return z.norm()
    }
    
    // z = x >> s
    func (z nat) shr(x nat, s uint) nat {
    	if s == 0 {
    		if same(z, x) {
    			return z
    		}
    		if !alias(z, x) {
    			return z.set(x)
    		}
    	}
    
    	m := len(x)
    	n := m - int(s/_W)
    	if n <= 0 {
    		return z[:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. src/crypto/ecdsa/ecdsa.go

    // produces randomized signatures.
    func mixedCSPRNG(rand io.Reader, priv *PrivateKey, hash []byte) (io.Reader, error) {
    	// This implementation derives the nonce from an AES-CTR CSPRNG keyed by:
    	//
    	//    SHA2-512(priv.D || entropy || hash)[:32]
    	//
    	// The CSPRNG key is indifferentiable from a random oracle as shown in
    	// [Coron], the AES-CTR stream is indifferentiable from a random oracle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    	syntax.Mul:    token.MUL,
    	syntax.Div:    token.QUO,
    	syntax.Rem:    token.REM,
    	syntax.And:    token.AND,
    	syntax.AndNot: token.AND_NOT,
    	syntax.Shl:    token.SHL,
    	syntax.Shr:    token.SHR,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. src/go/types/expr.go

    		x.expr = e
    		check.overflow(x, x.Pos())
    		return
    	}
    
    	x.mode = value
    	// x.typ remains unchanged
    }
    
    func isShift(op token.Token) bool {
    	return op == token.SHL || op == token.SHR
    }
    
    func isComparison(op token.Token) bool {
    	// Note: tokens are not ordered well to make this much easier
    	switch op {
    	case token.EQL, token.NEQ, token.LSS, token.LEQ, token.GTR, token.GEQ:
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top