Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for atline (0.2 sec)

  1. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	atline := make(map[uint]uint)
    	for _, e := range dentries {
    		atline[e.line] = atline[e.line] + 1
    	}
    	return &upexState{
    		dentries: dentries,
    		atline:   atline,
    	}
    }
    
    // updateExpected takes a given Go testcase file X.go and writes out a
    // new/updated version of the file to X.go.new, where the column-0
    // "expected" comments have been updated using fresh data from
    // "dentries".
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. src/internal/coverage/encodemeta/encode.go

    	b.tmp = uleb128.AppendUleb128(b.tmp, uint(b.stab.Lookup(f.Srcfile)))
    	for _, u := range f.Units {
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.StLine))
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.StCol))
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.EnLine))
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.EnCol))
    		b.tmp = uleb128.AppendUleb128(b.tmp, uint(u.NxStmts))
    	}
    	lit := uint(0)
    	if f.Lit {
    		lit = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. test/fixedbugs/issue41575.go

    type d e
    type e f
    type f f // ERROR "invalid recursive type f\n\tLINE: f refers to\n\tLINE: f$|invalid recursive type"
    
    type g struct { // ERROR "invalid recursive type g\n\tLINE: g refers to\n\tLINE: g$|invalid recursive type"
    	h struct {
    		g
    	}
    }
    
    type w x
    type x y           // ERROR "invalid recursive type x\n\tLINE: x refers to\n\tLINE+1: y refers to\n\tLINE+2: z refers to\n\tLINE: x$|invalid recursive type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. src/internal/coverage/decodemeta/decode.go

    		f.Units = make([]coverage.CoverableUnit, 0, numUnits)
    	}
    	for k := uint32(0); k < numUnits; k++ {
    		f.Units = append(f.Units,
    			coverage.CoverableUnit{
    				StLine:  uint32(d.r.ReadULEB128()),
    				StCol:   uint32(d.r.ReadULEB128()),
    				EnLine:  uint32(d.r.ReadULEB128()),
    				EnCol:   uint32(d.r.ReadULEB128()),
    				NxStmts: uint32(d.r.ReadULEB128()),
    			})
    	}
    	lit := d.r.ReadULEB128()
    	f.Lit = lit != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/inline.go

    scan and find ` ` first.
    
    pass 1. scan and find [ and ]() and leave the rest alone.
    
    each completed one invokes emphasis on inner text and then on the overall list.
    
    */
    
    type Inline interface {
    	PrintHTML(*bytes.Buffer)
    	PrintText(*bytes.Buffer)
    	printMarkdown(*bytes.Buffer)
    }
    
    type Plain struct {
    	Text string
    }
    
    func (*Plain) Inline() {}
    
    func (x *Plain) PrintHTML(buf *bytes.Buffer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. test/inline.go

    		return x + func(y int) int { // ERROR "can inline r.func2.1" "can inline r.r.func2.func3"
    			return 2*y + x*z
    		}(x) // ERROR "inlining call to r.func2.1"
    	}
    	return foo(42) + bar(42) // ERROR "inlining call to r.func1" "inlining call to r.func2" "inlining call to r.r.func2.func3"
    }
    
    func s0(x int) int { // ERROR "can inline s0"
    	foo := func() { // ERROR "can inline s0.func1" "func literal does not escape"
    		x = x + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. test/fixedbugs/bug195.go

    }
    type I4 interface { // GC_ERROR "invalid recursive type: I4 refers to itself"
    	I4 // GCCGO_ERROR "interface"
    }
    
    type I5 interface { // GC_ERROR "invalid recursive type I5\n\tLINE:.* I5 refers to\n\tLINE+4:.* I6 refers to\n\tLINE:.* I5$"
    	I6
    }
    
    type I6 interface {
    	I5 // GCCGO_ERROR "interface"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 704 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir

    // RUN: tf-tfrt-opt -split-input-file -pass-pipeline='builtin.module(tf-to-mlrt, inline)' %s | FileCheck %s -dump-input=fail
    
    // Test generated tf_mlrt while body and predicate is inlined.
    
    func.func @then(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %x: tensor<i1>
    }
    
    func.func @else(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %y: tensor<i1>
    }
    
    // CHECK-LABEL: func @while_cond_if
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 01:01:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/internal/coverage/test/roundtrip_test.go

    		Srcfile:  "bar.go",
    		Units: []coverage.CoverableUnit{
    			coverage.CoverableUnit{StLine: 1, StCol: 2, EnLine: 3, EnCol: 4, NxStmts: 5},
    			coverage.CoverableUnit{StLine: 6, StCol: 7, EnLine: 8, EnCol: 9, NxStmts: 10},
    			coverage.CoverableUnit{StLine: 11, StCol: 12, EnLine: 13, EnCol: 14, NxStmts: 15},
    		},
    	}
    	idx = b.AddFunc(f2)
    	if idx != 1 {
    		t.Errorf("b.AddFunc(f2) got %d want %d", idx, 0)
    	}
    
    	// Emit into a writer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go

    		lines: make([]bufferedLine, 0),
    	}
    }
    
    func (b *buffer) addLine(line string, indent int) {
    	b.lines = append(b.lines, bufferedLine{line, indent})
    }
    
    func (b *buffer) flushLines(w io.Writer) error {
    	for _, line := range b.lines {
    		indentation := strings.Repeat("\t", line.indentation)
    		fullLine := fmt.Sprintf("%s%s", indentation, line.line)
    		if _, err := io.WriteString(w, fullLine); err != nil {
    			return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 03 07:33:58 UTC 2017
    - 7K bytes
    - Viewed (0)
Back to top