Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for report (0.97 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    	}
    
    	// V1 has no method m. Should not report wrongType.
    	checkMissingMethod("V1", false)
    
    	// V2 has method m with wrong signature type (ignoring receiver). Should report wrongType.
    	checkMissingMethod("V2", true)
    
    	// V3 has no method m but it exists on *V3. Should report wrongType.
    	checkMissingMethod("V3", true)
    
    	// V4 has no method m but has M. Should not report wrongType.
    	checkMissingMethod("V4", false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    			actual = f(tc.in, tc.arg)
    		} else {
    			actual = fb(tc.in, []byte(tc.arg))
    		}
    		report := func(s []byte) string {
    			if s == nil {
    				return "nil"
    			} else {
    				return fmt.Sprintf("%q", s)
    			}
    		}
    		if len(actual) != 0 {
    			t.Errorf("%s(%s, %q) returned non-empty value", name, report(tc.in), tc.arg)
    		} else {
    			actualNil := actual == nil
    			outNil := tc.out == nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    // values are taken into account.
    func (tr *TypeRepr) String() string {
    	if len(tr.Repr) == 0 {
    		return ""
    	}
    	if len(tr.FormatArgs) == 0 {
    		return tr.Repr
    	}
    	return fmt.Sprintf(tr.Repr, tr.FormatArgs...)
    }
    
    // Empty reports whether the result of String would be "".
    func (tr *TypeRepr) Empty() bool {
    	return len(tr.Repr) == 0
    }
    
    // Set modifies the type representation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    	if w0 != 0 {
    		t.Fatalf("write 1000 'x's: got %d writes, want 0", w0)
    	}
    	b0.WriteString(strings.Repeat("x", 200))
    	if w0 != 0 {
    		t.Fatalf("write 1200 'x's: got %d writes, want 0", w0)
    	}
    	io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 30))})
    	if w0 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/expr.go

    func (check *Checker) matchTypes(x, y *operand) {
    	// mayConvert reports whether the operands x and y may
    	// possibly have matching types after converting one
    	// untyped operand to the type of the other.
    	// If mayConvert returns true, we try to convert the
    	// operands to each other's types, and if that fails
    	// we report a conversion failure.
    	// If mayConvert returns false, we continue without an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ppc64/ssa.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ppc64
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/logopt"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/ppc64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "LoweredPanicBoundsB", argLength: 3, aux: "Int64", reg: regInfo{inputs: []regMask{r1, r2}}, typ: "Mem", call: true}, // arg0=idx, arg1=len, arg2=mem, returns memory. AuxInt contains report code (see PanicBounds in generic.go).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/regalloc.go

    	}
    	return c
    }
    
    // isLeaf reports whether f performs any calls.
    func isLeaf(f *Func) bool {
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Op.IsCall() && !v.Op.IsTailCall() {
    				// tail call is not counted as it does not save the return PC or need a frame
    				return false
    			}
    		}
    	}
    	return true
    }
    
    // needRegister reports whether v needs a register.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/debug.go

    }
    
    func (e *pendingEntry) clear() {
    	e.present = false
    	e.startBlock = 0
    	e.startValue = 0
    	for i := range e.pieces {
    		e.pieces[i] = VarLoc{}
    	}
    }
    
    // canMerge reports whether a new location description is a superset
    // of the (non-empty) pending location description, if so, the two
    // can be merged (i.e., pending is still a valid and useful location
    // description).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewritedec64.go

    // Code generated from _gen/dec64.rules using 'go generate'; DO NOT EDIT.
    
    package ssa
    
    import "cmd/compile/internal/types"
    
    func rewriteValuedec64(v *Value) bool {
    	switch v.Op {
    	case OpAdd64:
    		return rewriteValuedec64_OpAdd64(v)
    	case OpAnd64:
    		return rewriteValuedec64_OpAnd64(v)
    	case OpArg:
    		return rewriteValuedec64_OpArg(v)
    	case OpBitLen64:
    		return rewriteValuedec64_OpBitLen64(v)
    	case OpBswap64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
Back to top