Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for cpos (0.2 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

         */
        public void find(char c) {
            int cpos = pos;
            while (cpos < input.length()) {
                if (input.charAt(cpos) == c) {
                    break;
                }
                cpos++;
            }
            pos = cpos;
        }
    
        /**
         * Moves the position to the start of the next instance of the given pattern, or the end of the input if not
         * found.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  2. cluster/gce/cos

    Michael Taufen <******@****.***> 1489617107 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 22:31:51 UTC 2017
    - 3 bytes
    - Viewed (0)
  3. src/cmd/internal/src/xpos.go

    }
    
    // XPos returns the corresponding XPos for the given pos,
    // adding pos to t if necessary.
    func (t *PosTable) XPos(pos Pos) XPos {
    	return XPos{t.baseIndex(pos.base), pos.lico}
    }
    
    func (t *PosTable) baseIndex(base *PosBase) int32 {
    	if base == nil {
    		return 0
    	}
    
    	if i, ok := t.indexMap[base]; ok {
    		return int32(i)
    	}
    
    	if base.fileIndex >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/pos.go

    func MakePos(base *PosBase, line, col uint) Pos { return Pos{base, sat32(line), sat32(col)} }
    
    // TODO(gri) IsKnown makes an assumption about linebase < 1.
    // Maybe we should check for Base() != nil instead.
    
    func (pos Pos) Pos() Pos       { return pos }
    func (pos Pos) IsKnown() bool  { return pos.line > 0 }
    func (pos Pos) Base() *PosBase { return pos.base }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/internal/src/xpos_test.go

    	}
    }
    
    func TestSetBase(t *testing.T) {
    	var tab PosTable
    	b1 := NewFileBase("b1", "b1")
    	orig := MakePos(b1, 42, 7)
    	xpos := tab.XPos(orig)
    
    	pos := tab.Pos(xpos)
    	new := NewInliningBase(b1, 2)
    	pos.SetBase(new)
    	xpos = tab.XPos(pos)
    
    	pos = tab.Pos(xpos)
    	if inl := pos.Base().InliningIndex(); inl != 2 {
    		t.Fatalf("wrong inlining index: %d", inl)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/closure.go

    	}
    
    	typ := typecheck.ClosureType(clo)
    
    	clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
    	clos.SetEsc(clo.Esc())
    	clos.List = append([]ir.Node{ir.NewUnaryExpr(base.Pos, ir.OCFUNC, clofn.Nname)}, closureArgs(clo)...)
    	for i, value := range clos.List {
    		clos.List[i] = ir.NewStructKeyExpr(base.Pos, typ.Field(i), value)
    	}
    
    	addr := typecheck.NodAddr(clos)
    	addr.SetEsc(clo.Esc())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/topology/topology.go

    }
    
    // KeepOnly returns a new CPUDetails object with only the supplied cpus.
    func (d CPUDetails) KeepOnly(cpus cpuset.CPUSet) CPUDetails {
    	result := CPUDetails{}
    	for cpu, info := range d {
    		if cpus.Contains(cpu) {
    			result[cpu] = info
    		}
    	}
    	return result
    }
    
    // NUMANodes returns all of the NUMANode IDs associated with the CPUs in this
    // CPUDetails.
    func (d CPUDetails) NUMANodes() cpuset.CPUSet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/xposmap.go

    func (m *xposmap) set(p src.XPos, v int32) {
    	s := m.mapFor(p.FileIndex())
    	if s == nil {
    		panic(fmt.Sprintf("xposmap.set(%d), file index not found in map\n", p.FileIndex()))
    	}
    	s.set(p.Line(), v)
    }
    
    // get returns the int32 associated with the file index and line of p.
    func (m *xposmap) get(p src.XPos) int32 {
    	s := m.mapFor(p.FileIndex())
    	if s == nil {
    		return -1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:48:16 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/reflectdata/helpers.go

    func kindRType(pos src.XPos, typ *types.Type, k types.Kind) ir.Node {
    	base.AssertfAt(typ.Kind() == k, pos, "want %v type, have %v", k, typ)
    	return TypePtrAt(pos, typ)
    }
    
    // mapRType asserts that typ is a map type, and returns an expression
    // that yields the *runtime._type value representing typ.
    func mapRType(pos src.XPos, typ *types.Type) ir.Node {
    	return kindRType(pos, typ, types.TMAP)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize_layout.mlir

    // CHECK:           %[[TPOS:.*]] = stablehlo.transpose %[[REDUCE]], dims = [0, 3, 1, 2]
    // CHECK:              : (tensor<1x56x56x64xf32>) -> tensor<1x64x56x56xf32>
    // CHECK:           return %[[TPOS]] : tensor<1x64x56x56xf32>
    
    func.func @commute_transpose_reduce_window(
          %input: tensor<1x114x114x64xf32>,
          %cst: tensor<f32>) -> tensor<1x64x56x56xf32> {
      %tpos = stablehlo.transpose %input, dims = [0, 3, 1, 2]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top