Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 148 for _typ (0.04 sec)

  1. 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)
  2. 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)
  3. src/cmd/fix/typecheck.go

    	// set sets the type of n to typ.
    	// If isDecl is true, n is being declared.
    	set := func(n ast.Expr, typ string, isDecl bool) {
    		if typeof[n] != "" || typ == "" {
    			if typeof[n] != typ {
    				assign[typ] = append(assign[typ], n)
    			}
    			return
    		}
    		typeof[n] = typ
    
    		// If we obtained typ from the declaration of x
    		// propagate the type to all the uses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/print.go

    	gwrite(bytes(s))
    }
    
    func printslice(s []byte) {
    	sp := (*slice)(unsafe.Pointer(&s))
    	print("[", len(s), "/", cap(s), "]")
    	printpointer(sp.array)
    }
    
    func printeface(e eface) {
    	print("(", e._type, ",", e.data, ")")
    }
    
    func printiface(i iface) {
    	print("(", i.tab, ",", i.data, ")")
    }
    
    // hexdumpWords prints a word-oriented hex dump of [p, end).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/walk/switch.go

    						if t.IsEmptyInterface() {
    							var typ ir.Node
    							if s.srcName.Type().IsEmptyInterface() {
    								// E->E, nothing to do, type is already correct.
    								typ = srcItab
    							} else {
    								// I->E, load type out of itab
    								typ = itabType(srcItab)
    								typ.SetPos(ncase.Pos())
    							}
    							val = ir.NewBinaryExpr(ncase.Pos(), ir.OMAKEFACE, typ, srcData)
    						} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    				fmt.Fprint(h, meta.TransitionedObjName)
    				fmt.Fprint(h, meta.TransitionVersionID)
    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    			}
    
    			// If compressed, look for compressed FileInfo only
    			if meta.IsCompressed() {
    				fmt.Fprint(h, meta.Metadata[ReservedMetadataPrefix+"compression"])
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top