Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for _typ (0.05 sec)

  1. src/runtime/plugin.go

    	// a dependency on the reflect package.
    	syms = make(map[string]any, len(md.ptab))
    	for _, ptab := range md.ptab {
    		symName := resolveNameOff(unsafe.Pointer(md.types), ptab.name)
    		t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler?
    		var val any
    		valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val))
    		(*valp)[0] = unsafe.Pointer(t)
    
    		name := symName.Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/runtime/runtime1.go

    // See go.dev/issue/67401.
    //
    //go:linkname reflect_resolveTypeOff reflect.resolveTypeOff
    func reflect_resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
    	return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
    }
    
    // reflect_resolveTextOff resolves a function pointer offset from a base type.
    //
    // reflect_resolveTextOff is for package reflect,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/provider/ValueSource.java

     * among others.
     *
     * <p>
     * Representing external sources as {@link ValueSource}s allows Gradle to transparently manage
     * <a href="https://docs.gradle.org/current/userguide/configuration_cache.html" target="_top">the configuration cache</a>
     * as values obtained from those sources change.
     * For example, a build might run a different set of tasks depending on whether the {@code CI}
     * environment variable is set or not.
     * </p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 13:02:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/validtype.go

    func (check *Checker) validType0(pos syntax.Pos, typ Type, nest, path []*Named) bool {
    	typ = Unalias(typ)
    
    	if check.conf.Trace {
    		if t, _ := typ.(*Named); t != nil && t.obj != nil /* obj should always exist but be conservative */ {
    			pos = t.obj.pos
    		}
    		check.indent++
    		check.trace(pos, "validType(%s) nest %v, path %v", typ, pathString(makeObjList(nest)), pathString(makeObjList(path)))
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/go/types/validtype.go

    func (check *Checker) validType0(pos token.Pos, typ Type, nest, path []*Named) bool {
    	typ = Unalias(typ)
    
    	if check.conf._Trace {
    		if t, _ := typ.(*Named); t != nil && t.obj != nil /* obj should always exist but be conservative */ {
    			pos = t.obj.pos
    		}
    		check.indent++
    		check.trace(pos, "validType(%s) nest %v, path %v", typ, pathString(makeObjList(nest)), pathString(makeObjList(path)))
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/rangefunc/rewrite.go

    		Body: &syntax.BlockStmt{
    			List:   []syntax.Stmt{},
    			Rbrace: end,
    		},
    	}
    	r.rangefuncBodyClosures[bodyFunc] = true
    	setPos(bodyFunc, start)
    
    	for i := 0; i < ftyp.Params().Len(); i++ {
    		typ := ftyp.Params().At(i).Type()
    		var paramVar *types2.Var
    		if i < len(lhs) && def {
    			// Reuse range variable as parameter.
    			x := lhs[i]
    			paramVar = r.info.Defs[x.(*syntax.Name)].(*types2.Var)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. src/runtime/netpoll.go

    // must be stored in interfaces indirectly. See issue 42076.
    func (pd *pollDesc) makeArg() (i any) {
    	x := (*eface)(unsafe.Pointer(&i))
    	x._type = pdType
    	x.data = unsafe.Pointer(&pd.self)
    	return
    }
    
    var (
    	pdEface any    = (*pollDesc)(nil)
    	pdType  *_type = efaceOf(&pdEface)._type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    //go:linkname reflect_unsafe_New reflect.unsafe_New
    func reflect_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    //go:linkname reflectlite_unsafe_New internal/reflectlite.unsafe_New
    func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    // newarray allocates an array of n elements of type typ.
    //
    // newarray should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ConfigurationContainer.java

     *
     * Please see the <a href="https://docs.gradle.org/current/userguide/declaring_dependencies.html#sec:what-are-dependency-configurations" target="_top">Managing Dependency Configurations</a> User Manual chapter for more information.
     */
    @HasInternalProtocol
    @ServiceScope(Scope.Project.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/runtime/race.go

    const raceenabled = true
    
    // For all functions accepting callerpc and pc,
    // callerpc is a return PC of the function that calls this function,
    // pc is start PC of the function that calls this function.
    func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) {
    	kind := t.Kind_ & abi.KindMask
    	if kind == abi.Array || kind == abi.Struct {
    		// for composite objects we have to read every address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top