- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 95 for type$val (0.16 sec)
-
src/encoding/xml/marshal.go
return err } } return nil } if val.Type() == attrType { start.Attr = append(start.Attr, val.Interface().(Attr)) return nil } s, b, err := p.marshalSimple(val.Type(), val) if err != nil { return err } if b != nil { s = string(b) } start.Attr = append(start.Attr, Attr{name, s}) return nil } // defaultStart returns the default start element to use,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sccp.go
const ( top int8 = iota // undefined constant // constant bottom // not a constant ) type lattice struct { tag int8 // lattice type val *Value // constant value } type worklist struct { f *Func // the target function to be optimized out edges []Edge // propagate constant facts through edges
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:54:50 UTC 2024 - 17.6K bytes - Viewed (0) -
src/fmt/scan.go
v.SetString(s.convertString(verb)) case reflect.Slice: // For now, can only handle (renamed) []byte. typ := v.Type() if typ.Elem().Kind() != reflect.Uint8 { s.errorString("can't scan type: " + val.Type().String()) } str := s.convertString(verb) v.Set(reflect.MakeSlice(typ, len(str), len(str))) for i := 0; i < len(str); i++ { v.Index(i).SetUint(uint64(str[i])) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 31.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReader.java
return replaceProps(val); } @Override public String getType() { String val = getFirstChildText(depElement, TYPE); val = replaceProps(val); if (val == null) { val = "jar"; } return val; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 15:53:23 UTC 2024 - 30K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
default: errorf("unexpected tag: %v", tag) } } func (r *importReader) declare(obj types.Object) { obj.Pkg().Scope().Insert(obj) } func (r *importReader) value() (typ types.Type, val constant.Value) { typ = r.typ() if r.p.exportVersion >= iexportVersionGo1_18 { // TODO: add support for using the kind _ = constant.Kind(r.int64()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/complit.go
val := ir.Node(n) for val.Op() == ir.OCONVIFACE { val = val.(*ir.ConvExpr).X } if val.Type().IsInterface() { return val.Op() == ir.ONIL } if types.IsDirectIface(val.Type()) && val.Op() == ir.ONIL { return true } return isStaticCompositeLiteral(val) } return false } // initKind is a kind of static initialization: static, dynamic, or local.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:03:54 UTC 2023 - 19.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
object val constant.Value } // NewConst returns a new constant with value val. // The remaining arguments set the attributes found with all Objects. func NewConst(pos syntax.Pos, pkg *Package, name string, typ Type, val constant.Value) *Const { return &Const{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, val} } // Val returns the constant's value. func (obj *Const) Val() constant.Value { return obj.val }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
requestMethod == request.method && varyMatches(response, varyHeaders, request) } fun response(snapshot: DiskLruCache.Snapshot): Response { val contentType = responseHeaders["Content-Type"] val contentLength = responseHeaders["Content-Length"] val cacheRequest = Request(url, varyHeaders, requestMethod) return Response.Builder() .request(cacheRequest) .protocol(protocol)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
is KtTypeElement -> type is KtNameReferenceExpression -> unwrapType(type.parent) else -> unexpectedElementError<PsiElement>(type) } ?: unexpectedElementError<PsiElement>(type) val ktTypeElementFromFirType = unwrapType(fir.psi) val classifiersToSkip = expression.parents.takeWhile { it != ktTypeElementFromFirType }.count()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 37K bytes - Viewed (0) -
src/go/types/object.go
object val constant.Value } // NewConst returns a new constant with value val. // The remaining arguments set the attributes found with all Objects. func NewConst(pos token.Pos, pkg *Package, name string, typ Type, val constant.Value) *Const { return &Const{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, val} } // Val returns the constant's value. func (obj *Const) Val() constant.Value { return obj.val }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0)