- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,239 for convlit (0.16 sec)
-
test/convlit.go
var x2 string = string(1) var x3 = int(1.5) // ERROR "convert|truncate" var x4 int = int(1.5) // ERROR "convert|truncate" var x5 = "a" + string(1) var x6 = int(1e100) // ERROR "overflow|cannot convert" var x7 = float32(1e1000) // ERROR "overflow|cannot convert" // unsafe.Pointer can only convert to/from uintptr var _ = string(unsafe.Pointer(uintptr(65))) // ERROR "convert|conversion"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 23 05:11:09 UTC 2021 - 2.4K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/const.go
} // TODO(mdempsky): Replace these with better APIs. func convlit(n ir.Node, t *types.Type) ir.Node { return convlit1(n, t, false, nil) } func DefaultLit(n ir.Node, t *types.Type) ir.Node { return convlit1(n, t, false, nil) } // convlit1 converts an untyped expression n to type t. If n already // has a type, convlit1 has no effect. // // For explicit conversions, t must be non-nil, and integer-to-string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/conflict.go
if len(conflicts) == 1 { return fmt.Sprintf("Apply failed with 1 conflict: conflict with %v: %v", printManager(conflicts[0].Manager), conflicts[0].Path) } m := map[string][]fieldpath.Path{} for _, conflict := range conflicts { m[conflict.Manager] = append(m[conflict.Manager], conflict.Path) } uniqueManagers := []string{} for manager := range m {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/convert.go
fromType.IsPtrShaped() && argType.IsPtrShaped(): // can directly convert (e.g. named type to underlying type, or one pointer to another) // TODO: never happens because pointers are directIface? arg = ir.NewConvExpr(pos, ir.OCONVNOP, argType, n) case fromType.IsInteger() && argType.IsInteger(): // can directly convert (e.g. int32 to uint32) arg = ir.NewConvExpr(pos, ir.OCONV, argType, n) default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0) -
pkg/kubectl/cmd/convert/convert.go
# Convert 'pod.yaml' to latest version and print to stdout. kubectl convert -f pod.yaml # Convert the live state of the resource specified by 'pod.yaml' to the latest version # and print to stdout in JSON format. kubectl convert -f pod.yaml --local -o json # Convert all files under current directory to latest version and create them all. kubectl convert -f . | kubectl create -f -`)) )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 03:21:17 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/Conflict.java
import org.gradle.api.artifacts.ModuleVersionIdentifier; import java.util.List; public class Conflict { private final List<? extends ModuleVersionIdentifier> versions; private final String message; public <E> Conflict(List<? extends ModuleVersionIdentifier> versions, String message) { this.versions = versions; this.message = message; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.2K bytes - Viewed (0) -
src/go/printer/testdata/complit.input
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package complit var ( // Multi-line declarations V1 = T{ F1: "hello", f2: 1, } V2 = T{ f2: 1, F1: "hello", } V3 = T{ F1: "hello", F2: T2{ A: "world", b: "hidden", }, f3: T2{ A: "world", }, } V4 = T{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 01 19:53:32 UTC 2018 - 912 bytes - Viewed (0) -
src/go/printer/testdata/complit.x
package complit var ( // Multi-line declarations V1 = T{ F1: "hello", // contains filtered or unexported fields } V2 = T{ F1: "hello", // contains filtered or unexported fields } V3 = T{ F1: "hello", F2: T2{ A: "world", // contains filtered or unexported fields }, // contains filtered or unexported fields } V4 = T{ // contains filtered or unexported fields }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 01 19:53:32 UTC 2018 - 1.1K bytes - Viewed (0) -
pkg/wasm/convert.go
return nil, nil, nil, fmt.Errorf("failed to convert extension config struct %+v to Wasm Network filter", typedStruct) } } else if typedStruct.TypeUrl == model.WasmNetworkFilterType { wasmNetwork = true if err := conversion.StructToMessage(typedStruct.Value, wasmNetworkFilterConfig); err != nil { return nil, nil, nil, fmt.Errorf("failed to convert extension config struct %+v to Wasm HTTP filter", typedStruct) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go
for i := 0; i < list.Len(); i++ { addParam(values, tag, omitempty, list.Index(i)) } } // Convert takes an object and converts it to a url.Values object using JSON tags as // parameter names. Only top-level simple values, arrays, and slices are serialized. // Embedded structs, maps, etc. will not be serialized. func Convert(obj interface{}) (url.Values, error) { result := url.Values{} if obj == nil { return result, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 4.9K bytes - Viewed (0)