Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for auxint (0.24 sec)

  1. src/cmd/compile/internal/ssa/rewrite386splitload.go

    	// result: (CMPBconst (MOVBload {sym} [vo.Off()] ptr mem) [vo.Val8()])
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		v.reset(Op386CMPBconst)
    		v.AuxInt = int8ToAuxInt(vo.Val8())
    		v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteRISCV64latelower.go

    	// result: (SRLI [56-c] (SLLI <typ.UInt64> [56] x))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    		v.reset(OpRISCV64SRLI)
    		v.AuxInt = int64ToAuxInt(56 - c)
    		v0 := b.NewValue0(v.Pos, OpRISCV64SLLI, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(56)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/cse.go

    		return types.CMPlt
    	}
    	return types.CMPgt
    }
    
    type auxmap map[Aux]int32
    
    func cmpVal(v, w *Value, auxIDs auxmap) types.Cmp {
    	// Try to order these comparison by cost (cheaper first)
    	if v.Op != w.Op {
    		return lt2Cmp(v.Op < w.Op)
    	}
    	if v.AuxInt != w.AuxInt {
    		return lt2Cmp(v.AuxInt < w.AuxInt)
    	}
    	if len(v.Args) != len(w.Args) {
    		return lt2Cmp(len(v.Args) < len(w.Args))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/deadcode.go

    				live[v.ID] = true
    				q = append(q, v)
    				if v.Pos.IsStmt() != src.PosNotStmt {
    					liveOrderStmts = append(liveOrderStmts, v)
    				}
    			}
    			if v.Op == OpInlMark {
    				if !liveInlIdx[int(v.AuxInt)] {
    					// We don't need marks for bodies that
    					// have been completely optimized away.
    					// TODO: save marks only for bodies which
    					// have a faulting instruction or a call?
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. internal/logger/audit.go

    	internalAudit "github.com/minio/minio/internal/logger/message/audit"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v3/logger/message/audit"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const contextAuditKey = contextKeyType("audit-entry")
    
    // SetAuditEntry sets Audit info in the context.
    func SetAuditEntry(ctx context.Context, audit *audit.Entry) context.Context {
    	if ctx == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit.go

    // evaluatePolicyAndCreateAuditEvent is responsible for evaluating the audit
    // policy configuration applicable to the request and create a new audit
    // event that will be written to the API audit log.
    // - error if anything bad happened
    func evaluatePolicyAndCreateAuditEvent(req *http.Request, policy audit.PolicyRuleEvaluator) (*audit.AuditContext, error) {
    	ctx := req.Context()
    	ac := audit.AuditContextFrom(ctx)
    	if ac == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle-audit.go

    Harshavardhana <******@****.***> 1701446184 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 01 15:56:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

      Operation* const operation_;
    };
    
    // APSInt provides operators which APInt does not, so allow for converting
    // to APSInt for computation. Only APInts can be directly read from
    // element attributes.
    static const APFloat& AddSign(const APFloat& v) { return v; }
    static APSInt AddSign(const APInt& v) { return APSInt(v); }
    
    template <typename ResultType>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/internal/gover/gover.go

    	}
    	v.Kind, x = x[:i], x[i:]
    	if x == "" {
    		return v
    	}
    	v.Pre, x, ok = cutInt(x)
    	if !ok || x != "" {
    		return Version{}
    	}
    
    	return v
    }
    
    // cutInt scans the leading decimal number at the start of x to an integer
    // and returns that value and the rest of the string.
    func cutInt(x string) (n, rest string, ok bool) {
    	i := 0
    	for i < len(x) && '0' <= x[i] && x[i] <= '9' {
    		i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/internal/saferio/io_test.go

    		}
    	})
    
    	t.Run("large", func(t *testing.T) {
    		_, err := ReadData(bytes.NewReader(input), 10<<30)
    		if err == nil {
    			t.Error("large read succeeded unexpectedly")
    		}
    	})
    
    	t.Run("maxint", func(t *testing.T) {
    		_, err := ReadData(bytes.NewReader(input), 1<<62)
    		if err == nil {
    			t.Error("large read succeeded unexpectedly")
    		}
    	})
    
    	t.Run("small-EOF", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top