- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 48 for type$val (0.2 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
eventListener.responseHeadersEnd(call, response) } @Throws(IOException::class) fun openResponseBody(response: Response): ResponseBody { try { val contentType = response.header("Content-Type") val contentLength = codec.reportedContentLength(response) val rawSource = codec.openResponseBodySource(response) val source = ResponseBodySource(rawSource, contentLength)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
src/go/types/conversions.go
"unicode" ) // conversion type-checks the conversion T(x). // The result is in x. func (check *Checker) conversion(x *operand, T Type) { constArg := x.mode == constant_ constConvertibleTo := func(T Type, val *constant.Value) bool { switch t, _ := under(T).(*Basic); { case t == nil: // nothing to do case representableConst(x.val, check, t, val): return true case isInteger(x.typ) && isString(t):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/gofmt/rewrite.go
return true } } } // Otherwise, pattern and val must match recursively. if !pattern.IsValid() || !val.IsValid() { return !pattern.IsValid() && !val.IsValid() } if pattern.Type() != val.Type() { return false } // Special cases. switch pattern.Type() { case identType: // For identifiers, only the names need to match // (and none of the other *ast.Object information).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 8.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/conversions.go
"unicode" ) // conversion type-checks the conversion T(x). // The result is in x. func (check *Checker) conversion(x *operand, T Type) { constArg := x.mode == constant_ constConvertibleTo := func(T Type, val *constant.Value) bool { switch t, _ := under(T).(*Basic); { case t == nil: // nothing to do case representableConst(x.val, check, t, val): return true case isInteger(x.typ) && isString(t):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9K bytes - Viewed (0) -
test/escape_param.go
sink = r } func caller12d() { i := 0 // ERROR "moved to heap: i$" p := &i // ERROR "moved to heap: p$" r := Indir{} r.param12(&p) sink = **r.p } // in -> value rcvr type Val struct { p **int } func (v Val) param13(i *int) { // ERROR "v does not escape$" "leaking param: i$" *v.p = i } func caller13a() { i := 0 // ERROR "moved to heap: i$" var p *int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:32 UTC 2021 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch.go
switch { case keepNull && val == nil: filteredMap[key] = nil case val != nil: switch typedVal := val.(type) { case map[string]interface{}: // Explicitly-set empty maps are treated as values instead of empty patches if len(typedVal) == 0 { if !keepNull { filteredMap[key] = typedVal } continue } var filteredSubMap map[string]interface{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 4.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/format.go
return nil, fmt.Errorf("type conversion error from 'Format' to '%v'", typeDesc) } func (d *Format) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case FormatType: return d case types.TypeType: return FormatType default: return types.NewErr("type conversion error from '%s' to '%s'", FormatType, typeVal) } } func (d *Format) Equal(other ref.Val) ref.Val { otherDur, ok := other.(*Format) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/quantity.go
} func (d Quantity) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case quantityTypeValue: return d case types.TypeType: return quantityTypeValue default: return types.NewErr("type conversion error from '%s' to '%s'", quantityTypeValue, typeVal) } } func (d Quantity) Equal(other ref.Val) ref.Val { otherDur, ok := other.(Quantity)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 11:23:54 UTC 2024 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/url.go
} // ConvertToType implements ref.Val.ConvertToType. func (d URL) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case typeValue: return d case types.TypeType: return typeValue } return types.NewErr("type conversion error from '%s' to '%s'", typeValue, typeVal) } // Equal implements ref.Val.Equal. func (d URL) Equal(other ref.Val) ref.Val { otherDur, ok := other.(URL)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/ip.go
} // ConvertToType implements ref.Val.ConvertToType. func (d IP) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case IPType: return d case types.TypeType: return IPType case types.StringType: return types.String(d.Addr.String()) } return types.NewErr("type conversion error from '%s' to '%s'", IPType, typeVal) } // Equal implements ref.Val.Equal. func (d IP) Equal(other ref.Val) ref.Val {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 11:02:33 UTC 2023 - 2.1K bytes - Viewed (0)