Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for mpos (0.16 sec)

  1. src/go/types/typeset.go

    		// Types don't generally have position information.
    		// If we don't have a valid pos provided, try to use
    		// one close enough.
    		if !pos.IsValid() && len(ityp.methods) > 0 {
    			pos = ityp.methods[0].pos
    		}
    
    		check.trace(pos, "-- type set for %s", ityp)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(pos, "=> %s ", ityp.typeSet())
    		}()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeset.go

    		// Types don't generally have position information.
    		// If we don't have a valid pos provided, try to use
    		// one close enough.
    		if !pos.IsKnown() && len(ityp.methods) > 0 {
    			pos = ityp.methods[0].pos
    		}
    
    		check.trace(pos, "-- type set for %s", ityp)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(pos, "=> %s ", ityp.typeSet())
    		}()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/runtime/arena_test.go

    		sss := make([]smallScalar, 25)
    		for i := range sss {
    			sss[i] = smallScalar{12}
    		}
    		runSubTestUserArenaSlice(t, sss, true)
    
    		mpos := make([]mediumPointerOdd, 5)
    		for i := range mpos {
    			mpos[i] = *mpo
    		}
    		runSubTestUserArenaSlice(t, mpos, true)
    
    		sps := make([]smallPointer, UserArenaChunkBytes/unsafe.Sizeof(smallPointer{})+1)
    		for i := range sps {
    			sps[i] = *sp
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K 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. 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)
  6. src/cmd/compile/internal/ssa/memcombine.go

    		return nil
    	}
    }
    
    func truncate(b *Block, pos src.XPos, v *Value, from, to int64) *Value {
    	switch from*10 + to {
    	case 82:
    		return b.NewValue1(pos, OpTrunc64to16, types.Types[types.TUINT16], v)
    	case 84:
    		return b.NewValue1(pos, OpTrunc64to32, types.Types[types.TUINT32], v)
    	case 42:
    		return b.NewValue1(pos, OpTrunc32to16, types.Types[types.TUINT16], v)
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/cc/framework/cc_op_gen_util.cc

    string GetPath(StringPiece dot_h_fname) {
      auto pos = dot_h_fname.find("/bin/");
      string result(dot_h_fname);
      if (pos != string::npos) {
        // - 1 account for the terminating null character (\0) in "/genfiles/".
        result = dot_h_fname.substr(pos + sizeof("/bin/") - 1);
      } else {
        pos = dot_h_fname.find("/genfiles/");
        if (pos != string::npos) {
          result = dot_h_fname.substr(pos + sizeof("/genfiles/") - 1);
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  10. src/compress/bzip2/bzip2.go

    		if bz2.repeats > 0 {
    			buf[n] = byte(bz2.lastByte)
    			n++
    			bz2.repeats--
    			if bz2.repeats == 0 {
    				bz2.lastByte = -1
    			}
    			continue
    		}
    
    		bz2.tPos = bz2.preRLE[bz2.tPos]
    		b := byte(bz2.tPos)
    		bz2.tPos >>= 8
    		bz2.preRLEUsed++
    
    		if bz2.byteRepeats == 3 {
    			bz2.repeats = uint(b)
    			bz2.byteRepeats = 0
    			continue
    		}
    
    		if bz2.lastByte == int(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top