- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 124 for typeOff (0.4 sec)
-
operator/pkg/manifest/shared.go
for key, value := range originMap[subPath].(map[string]any) { if reflect.TypeOf(value).Kind() == reflect.Int { convertedProxyMetadata[key] = strconv.FormatInt(value.(int64), 10) } if reflect.TypeOf(value).Kind() == reflect.Bool { convertedProxyMetadata[key] = strconv.FormatBool(value.(bool)) } if reflect.TypeOf(value).Kind() == reflect.Float64 { convertedProxyMetadata[key] = fmt.Sprint(value)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 03 06:27:07 UTC 2024 - 19.7K bytes - Viewed (0) -
pkg/kubelet/apis/config/helpers_test.go
expect := sets.New[string]().Union(kubeletConfigurationPathFieldPaths).Union(kubeletConfigurationNonPathFieldPaths) result := allPrimitiveFieldPaths(t, expect, reflect.TypeOf(&KubeletConfiguration{}), nil) if !expect.Equal(result) { // expected fields missing from result missing := expect.Difference(result) // unexpected fields in result but not specified in expect
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0) -
src/encoding/binary/binary.go
switch v.Kind() { case reflect.Pointer: v = v.Elem() size = dataSize(v) case reflect.Slice: size = dataSize(v) } if size < 0 { return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String()) } d := &decoder{order: order, buf: make([]byte, size)} if _, err := io.ReadFull(r, d.buf); err != nil { return err } d.value(v) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:29:31 UTC 2024 - 23.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java
return name; } @Override public TypeOf<?> getPublicType() { return TypeOf.typeOf(getType()); } }; } }); } }; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 16:54:51 UTC 2024 - 35.6K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/parse.go
} b.printMarkdown(buf, s) prevEnd = b.Pos().EndLine s.prefix1 = "" // item prefix only for first block } } var ( blockType = reflect.TypeOf(new(Block)).Elem() blocksType = reflect.TypeOf(new([]Block)).Elem() inlinesType = reflect.TypeOf(new([]Inline)).Elem() ) func printb(buf *bytes.Buffer, b Block, prefix string) { fmt.Fprintf(buf, "(%T", b) v := reflect.ValueOf(b) v = reflect.Indirect(v)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
return } data, err = json.Marshal(unstr) if err != nil { t.Errorf("Error when marshaling unstructured: %v", err) return } unmarshalledObj := reflect.New(reflect.TypeOf(item).Elem()).Interface() err = json.Unmarshal(data, &unmarshalledObj) if err != nil { t.Errorf("Error when unmarshaling to object: %v", err) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt
* @param configuration the configuration block. * @see [org.gradle.api.plugins.ExtensionAware] */ inline fun <reified T : Any> Project.configure(noinline configuration: T.() -> Unit): Unit = typeOf<T>().let { type -> // Find and configure extension extensions.findByType(type)?.let(configuration) ?: Factory { // Find and configure convention
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 09:50:04 UTC 2024 - 11.5K bytes - Viewed (0) -
src/encoding/gob/type.go
// reserved for nil panic("attempt to register empty name") } ut := userType(reflect.TypeOf(value)) // Check for incompatible duplicates. The name must refer to the // same user type, and vice versa. // Store the name and type provided by the user.... if t, dup := nameToConcreteType.LoadOrStore(name, reflect.TypeOf(value)); dup && t != ut.user {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt
override fun apply(project: Project): Unit = project.run { extensions.add(typeOf<MutableMap<String, String>>(), "mapOfString", mutableMapOf("foo" to "bar")) extensions.add(typeOf<MutableMap<String, Int>>(), "mapOfInt", mutableMapOf("deep" to 42)) extensions.add(typeOf<NamedDomainObjectContainer<Book>>(), "books", container(Book::class)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 18:26:28 UTC 2024 - 37.5K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
inline void PrintTo(unsigned char* s, ::std::ostream* os) { PrintTo(ImplicitCast_<const void*>(s), os); } // MSVC can be configured to define wchar_t as a typedef of unsigned // short. It defines _NATIVE_WCHAR_T_DEFINED when wchar_t is a native // type. When wchar_t is a typedef, defining an overload for const // wchar_t* would cause unsigned short* be printed as a wide string, // possibly causing invalid memory accesses.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 30.9K bytes - Viewed (0)