Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 168 for _typ (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/runtime/defs_plan9_386.go

    	dx    uint32 /* ... */
    	cx    uint32 /* ... */
    	ax    uint32 /* ... */
    	gs    uint32 /* data segments */
    	fs    uint32 /* ... */
    	es    uint32 /* ... */
    	ds    uint32 /* ... */
    	trap  uint32 /* trap _type */
    	ecode uint32 /* error code (or zero) */
    	pc    uint32 /* pc */
    	cs    uint32 /* old context */
    	flags uint32 /* old flags */
    	sp    uint32
    	ss    uint32 /* old stack segment */
    }
    
    type sigctxt struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:12:04 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. src/encoding/xml/typeinfo.go

    // it returns nil.
    func lookupXMLName(typ reflect.Type) (xmlname *fieldInfo) {
    	for typ.Kind() == reflect.Pointer {
    		typ = typ.Elem()
    	}
    	if typ.Kind() != reflect.Struct {
    		return nil
    	}
    	for i, n := 0, typ.NumField(); i < n; i++ {
    		f := typ.Field(i)
    		if f.Name != xmlName {
    			continue
    		}
    		finfo, err := structFieldInfo(typ, &f)
    		if err == nil && finfo.name != "" {
    			return finfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. src/runtime/mbitmap.go

    	// All of these objects have a header.
    	var typ *_type
    	if spc.sizeclass() != 0 {
    		// Pull the allocation header from the first word of the object.
    		typ = *(**_type)(unsafe.Pointer(addr))
    		addr += mallocHeaderSize
    	} else {
    		typ = span.largeType
    		if typ == nil {
    			// Allow a nil type here for delayed zeroing. See mallocgc.
    			return typePointers{}
    		}
    	}
    	gcdata := typ.GCData
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/GradleDependencies.java

         */
        default Dependency gradleApi() {
            return getDependencyFactory().gradleApi();
        }
    
        /**
         * Creates a dependency on the <a href="https://docs.gradle.org/current/userguide/test_kit.html" target="_top">Gradle test-kit</a> API.
         *
         * @return The dependency.
         * @since 7.6
         */
        default Dependency gradleTestKit() {
            return getDependencyFactory().gradleTestKit();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 23:20:40 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. hack/make-rules/clean.sh

    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    CLEAN_PATTERNS=(
      "_tmp"
      "doc_tmp"
      "test/e2e/generated/bindata.go"
    )
    
    for item in "${CLEAN_PATTERNS[@]}"; do
      # Shellcheck wants the ":?" because of paranoia about 'rm -rf /'. It will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 08 17:20:44 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/typexpr.go

    	typ := check.typInternal(e, def)
    	assert(isTyped(typ))
    	if isGeneric(typ) {
    		check.errorf(e, WrongTypeArgCount, "cannot use generic type %s without instantiation", typ)
    		typ = Typ[Invalid]
    	}
    	check.recordTypeAndValue(e, typexpr, typ, nil)
    	return typ
    }
    
    // genericType is like typ but the type must be an (uninstantiated) generic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/runtime/cgocall.go

    		if !indir {
    			if len(st.Fields) != 1 {
    				throw("can't happen")
    			}
    			cgoCheckArg(st.Fields[0].Typ, p, st.Fields[0].Typ.Kind_&abi.KindDirectIface == 0, top, msg)
    			return
    		}
    		for _, f := range st.Fields {
    			if !f.Typ.Pointers() {
    				continue
    			}
    			cgoCheckArg(f.Typ, add(p, f.Offset), true, top, msg)
    		}
    	case abi.Pointer, abi.UnsafePointer:
    		if indir {
    			p = *(*unsafe.Pointer)(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top