Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for cpos (0.04 sec)

  1. src/cmd/compile/internal/ir/func.go

    }
    
    // NewFunc returns a new Func with the given name and type.
    //
    // fpos is the position of the "func" token, and npos is the position
    // of the name identifier.
    //
    // TODO(mdempsky): I suspect there's no need for separate fpos and
    // npos.
    func NewFunc(fpos, npos src.XPos, sym *types.Sym, typ *types.Type) *Func {
    	name := NewNameAt(npos, sym, typ)
    	name.Class = PFUNC
    	sym.SetFunc(true)
    
    	fn := &Func{Nname: name}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf.go

    			}
    			pos += uint64(ldr.SymSize(s))
    			if ctxt.IsWindows() {
    				pos = uint64(Rnd(int64(pos), PEFILEALIGN))
    			}
    		}
    	}
    	Segdwarf.Length = pos - Segdwarf.Vaddr
    }
    
    type compilationUnitByStartPC []*sym.CompilationUnit
    
    func (v compilationUnitByStartPC) Len() int      { return len(v) }
    func (v compilationUnitByStartPC) Swap(i, j int) { v[i], v[j] = v[j], v[i] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  3. 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)
  4. src/go/internal/gcimporter/iimport.go

    	prevLine   int64
    	prevColumn int64
    }
    
    func (r *importReader) obj(name string) {
    	tag := r.byte()
    	pos := r.pos()
    
    	switch tag {
    	case 'A':
    		typ := r.typ()
    
    		r.declare(types.NewTypeName(pos, r.currPkg, name, typ))
    
    	case 'C':
    		typ, val := r.value()
    
    		r.declare(types.NewConst(pos, r.currPkg, name, typ, val))
    
    	case 'F', 'G':
    		var tparams []*types.TypeParam
    		if tag == 'G' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/podresources/server_v1_test.go

    								CpuIds:           cpus,
    								Memory:           memory,
    								DynamicResources: []*podresourcesapi.DynamicResource{},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			desc:             "pod with dynamic resources",
    			pods:             pods,
    			devices:          []*podresourcesapi.ContainerDevices{},
    			cpus:             cpus,
    			memory:           memory,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubelet/cm/cpumanager/policy_static_test.go

    			expErr:          nil,
    			expCPUAlloc:     false,
    			expCSet:         cpuset.New(),
    		},
    		{
    			// All the CPUs from Socket 0 are available. Some CPUs from each
    			// Socket have been already assigned.
    			// Expect all CPUs from Socket 0.
    			description: "GuPodMultipleCores, topoQuadSocketFourWayHT, ExpectAllocSock0",
    			topo:        topoQuadSocketFourWayHT,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

            @Override
            protected void doProcess(Buffer buffer, int length, int type, int id) throws IOException {
                int originalBufferPosition = buffer.rpos()
    
                int pos = buffer.rpos()
                def command = commandMessage(buffer, type)
                buffer.rpos(pos)
    
                def matched = expectations.find { it.matches(buffer, type, id) }
                if (matched) {
                    if (matched.failing) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    		},
    		{
    			name:        "TestCase04: Guaranteed Pod requests 2 CPUs",
    			pod:         testPod4,
    			expectedCPU: 2,
    		},
    		{
    			name:        "TestCase05: Guaranteed Pod requests 5 CPUs",
    			pod:         testPod5,
    			expectedCPU: 5,
    		},
    		{
    			name:        "TestCase06: The number of CPUs requested By app is bigger than the number of CPUs requested by init",
    			pod:         testPod6,
    			expectedCPU: 5,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/func.go

    func (b *Block) NewValue0(pos src.XPos, op Op, t *types.Type) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Args = v.argstorage[:0]
    	return v
    }
    
    // NewValue0I returns a new value in the block with no arguments and an auxint value.
    func (b *Block) NewValue0I(pos src.XPos, op Op, t *types.Type, auxint int64) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top