Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for roles (1.18 sec)

  1. logger/sql_test.go

    	return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper
    }
    
    func TestExplainSQL(t *testing.T) {
    	type role string
    	type password []byte
    	type intType int
    	type floatType float64
    	var (
    		tt                 = now.MustParse("2020-02-23 11:10:10")
    		myrole             = role("admin")
    		pwd                = password("pass")
    		jsVal              = []byte(`{"Name":"test","Val":"test"}`)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp.go

    	// only if its arguments satisfy additional conditions(e.g. divide by zero).
    	// It's fragile and error-prone. We did a trick by reusing the existing rules
    	// in generic rules for compile-time evaluation. But generic rules rewrite
    	// original value, this behavior is undesired, because the lattice of values
    	// may change multiple times, once it was rewritten, we lose the opportunity
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/compile.go

    	{name: "decompose user", fn: decomposeUser, required: true},
    	{name: "pre-opt deadcode", fn: deadcode},
    	{name: "opt", fn: opt, required: true},               // NB: some generic rules know the name of the opt pass. TODO: split required rules and optimizing rules
    	{name: "zero arg cse", fn: zcse, required: true},     // required to merge OpSB values
    	{name: "opt deadcode", fn: deadcode, required: true}, // remove any blocks orphaned during opt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/doc.go

    // license that can be found in the LICENSE file.
    
    /*
    Package arm64 implements an ARM64 assembler. Go assembly syntax is different from GNU ARM64
    syntax, but we can still follow the general rules to map between them.
    
    # Instructions mnemonics mapping rules
    
    1. Most instructions use width suffixes of instruction names to indicate operand width rather than
    using different register names.
    
    Examples:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/identity.go

    // license that can be found in the LICENSE file.
    
    package types
    
    const (
    	identIgnoreTags = 1 << iota
    	identStrict
    )
    
    // Identical reports whether t1 and t2 are identical types, following the spec rules.
    // Receiver parameter types are ignored. Named (defined) types are only equal if they
    // are pointer-equal - i.e. there must be a unique types.Type for each specific named
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    // A Prefix represents an Intel instruction prefix.
    // The low 8 bits are the actual prefix byte encoding,
    // and the top 8 bits contain distinguishing bits and metadata.
    type Prefix uint16
    
    const (
    	// Metadata about the role of a prefix in an instruction.
    	PrefixImplicit Prefix = 0x8000 // prefix is implied by instruction text
    	PrefixIgnored  Prefix = 0x4000 // prefix is ignored: either irrelevant or overridden by a later prefix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    		f, err := fsys.Open(name)
    		if err != nil {
    			return err
    		}
    		defer f.Close()
    		_, err = io.Copy(tw, f)
    		return err
    	})
    }
    
    // splitUSTARPath splits a path according to USTAR prefix and suffix rules.
    // If the path is not splittable, then it will return ("", "", false).
    func splitUSTARPath(name string) (prefix, suffix string, ok bool) {
    	length := len(name)
    	if length <= nameSize || !isASCII(name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go

    		if text == "" {
    			continue
    		}
    		buf.WriteString(sep)
    		sep = ","
    		buf.WriteString(text)
    	}
    	return buf.String()
    }
    
    // gnuArg formats arg (which is the argIndex's arg in inst) according to GNU rules.
    // NOTE: because GNUSyntax is the only caller of this func, and it receives a copy
    // of inst, it's ok to modify inst.Args here.
    func gnuArg(inst *Inst, argIndex int, arg Arg, pc uint64) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/addressingmodes.go

    	// These instructions are re-split differently for performance, see needSplit above.
    	// TODO if 386 versions are created, also update needSplit and _gen/386splitload.rules
    	[2]Op{OpAMD64CMPBload, OpAMD64ADDQ}: OpAMD64CMPBloadidx1,
    	[2]Op{OpAMD64CMPWload, OpAMD64ADDQ}: OpAMD64CMPWloadidx1,
    	[2]Op{OpAMD64CMPLload, OpAMD64ADDQ}: OpAMD64CMPLloadidx1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    // expr = term | term ('+' | '-' | '|' | '^') term.
    func (p *Parser) expr() uint64 {
    	value := p.term()
    	for {
    		switch p.peek() {
    		case '+':
    			p.next()
    			value += p.term()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top