- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 152 for _typ (0.04 sec)
-
src/runtime/slice.go
} // makeslicecopy allocates a slice of "tolen" elements of type "et", // then copies "fromlen" elements of type "et" into that new allocation from "from". func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer { var tomem, copymem uintptr if uintptr(tolen) > uintptr(fromlen) { var overflow bool tomem, overflow = math.MulUintptr(et.Size_, uintptr(tolen))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
src/runtime/typekind.go
// license that can be found in the LICENSE file. package runtime import "internal/abi" // isDirectIface reports whether t is stored directly in an interface value. func isDirectIface(t *_type) bool { return t.Kind_&abi.KindDirectIface != 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 356 bytes - Viewed (0) -
src/cmd/compile/internal/typebits/typebits.go
// treat it as such. // 1. If it is a non-empty interface, the pointer points to an itab // which is always in persistentalloc space. // 2. If it is an empty interface, the pointer points to a _type. // a. If it is a compile-time-allocated type, it points into // the read-only data section. // b. If it is a reflect-allocated type, it points into the Go heap.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 3.2K bytes - Viewed (0) -
src/go/types/typexpr.go
check.use(e.Elt) case *ast.StructType: typ := new(Struct) setDefType(def, typ) check.structType(typ, e) return typ case *ast.StarExpr: typ := new(Pointer) typ.base = Typ[Invalid] // avoid nil base in invalid recursive type declaration setDefType(def, typ) typ.base = check.varType(e.X) return typ case *ast.FuncType: typ := new(Signature) setDefType(def, typ)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.3K bytes - Viewed (0) -
src/runtime/arena.go
panic("userArena.slice: negative cap") } i := efaceOf(&sl) typ := i._type if typ.Kind_&abi.KindMask != abi.Pointer { panic("slice result of non-ptr type") } typ = (*ptrtype)(unsafe.Pointer(typ)).Elem if typ.Kind_&abi.KindMask != abi.Slice { panic("slice of non-ptr-to-slice type") } typ = (*slicetype)(unsafe.Pointer(typ)).Elem // t is now the element type of the slice we want to allocate.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/stmt.go
} } cr := len(rhs) if len(rhs) == 1 { rhs[0] = typecheck(rhs[0], ctxExpr|ctxMultiOK) if rtyp := rhs[0].Type(); rtyp != nil && rtyp.IsFuncArgStruct() { cr = rtyp.NumFields() } } else { Exprs(rhs) } // x, ok = y assignOK: for len(lhs) == 2 && cr == 1 { stmt := stmt.(*ir.AssignListStmt) r := rhs[0] switch r.Op() { case ir.OINDEXMAP:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/task/TaskSuccessResult.java
boolean isUpToDate(); /** * Returns whether the output for this task was pulled from a build cache when using * <a href="https://docs.gradle.org/current/userguide/build_cache.html#sec:task_output_caching" target="_top">task output caching</a>. * * <p>NOTE: This will always be false if the Gradle version does * not support task output caching.</p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
} pos := p.pos() if typ := p.typeOrNil(); typ != nil { f := new(Field) f.pos = pos f.Type = typ return []*Field{f} } return nil } func (p *parser) addField(styp *StructType, pos Pos, name *Name, typ Expr, tag *BasicLit) { if tag != nil { for i := len(styp.FieldList) - len(styp.TagList); i > 0; i-- { styp.TagList = append(styp.TagList, nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/internal/abi/switch.go
Inter *InterfaceType CanFail bool } type TypeAssertCache struct { Mask uintptr Entries [1]TypeAssertCacheEntry } type TypeAssertCacheEntry struct { // type of source value (a *runtime._type) Typ uintptr // itab to use for result (a *runtime.itab) // nil if CanFail is set and conversion would fail. Itab uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:53 UTC 2023 - 1.6K bytes - Viewed (0) -
src/runtime/syscall_windows.go
if GOARCH != "386" { // cdecl is only meaningful on 386. cdecl = false } if fn._type == nil || (fn._type.Kind_&abi.KindMask) != abi.Func { panic("compileCallback: expected function with one uintptr-sized result") } ft := (*functype)(unsafe.Pointer(fn._type)) // Check arguments and construct ABI translation. var abiMap abiDesc for _, t := range ft.InSlice() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0)