Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UnsafePointer (0.08 sec)

  1. api/go1.18.txt

    pkg reflect, method (Value) FieldByIndexErr([]int) (Value, error)
    pkg reflect, method (Value) SetIterKey(*MapIter)
    pkg reflect, method (Value) SetIterValue(*MapIter)
    pkg reflect, method (Value) UnsafePointer() unsafe.Pointer
    pkg runtime/debug, func ParseBuildInfo(string) (*BuildInfo, error)
    pkg runtime/debug, method (*BuildInfo) String() string
    pkg runtime/debug, type BuildInfo struct, GoVersion string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. gorm.go

    	if db.Statement != nil && db.Statement.ConnPool != nil {
    		connPool = db.Statement.ConnPool
    	}
    	if tx, ok := connPool.(*sql.Tx); ok && tx != nil {
    		return (*sql.DB)(reflect.ValueOf(tx).Elem().FieldByName("db").UnsafePointer()), nil
    	}
    
    	if dbConnector, ok := connPool.(GetDBConnector); ok && dbConnector != nil {
    		if sqldb, err := dbConnector.GetDBConn(); sqldb != nil || err != nil {
    			return sqldb, err
    		}
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. schema/field.go

    					ef.TagSettings[k] = v
    				}
    			}
    		case reflect.Invalid, reflect.Uintptr, reflect.Array, reflect.Chan, reflect.Func, reflect.Interface,
    			reflect.Map, reflect.Ptr, reflect.Slice, reflect.UnsafePointer, reflect.Complex64, reflect.Complex128:
    			schema.err = fmt.Errorf("invalid embedded struct for %s's field %s, should be struct, but got %v", field.Schema.Name, field.Name, field.FieldType)
    		}
    	}
    
    	return field
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg go/types, const Uint64 BasicKind
    pkg go/types, const Uint8 = 8
    pkg go/types, const Uint8 BasicKind
    pkg go/types, const Uintptr = 12
    pkg go/types, const Uintptr BasicKind
    pkg go/types, const UnsafePointer = 18
    pkg go/types, const UnsafePointer BasicKind
    pkg go/types, const UntypedBool = 19
    pkg go/types, const UntypedBool BasicKind
    pkg go/types, const UntypedComplex = 23
    pkg go/types, const UntypedComplex BasicKind
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	return list
    }
    
    func (w *Walker) writeType(buf *bytes.Buffer, typ types.Type) {
    	switch typ := typ.(type) {
    	case *types.Basic:
    		s := typ.Name()
    		switch typ.Kind() {
    		case types.UnsafePointer:
    			s = "unsafe.Pointer"
    		case types.UntypedBool:
    			s = "ideal-bool"
    		case types.UntypedInt:
    			s = "ideal-int"
    		case types.UntypedRune:
    			// "ideal-char" for compatibility with old tool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top