- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getIntegerValue (0.36 sec)
-
pkg/kubelet/winstats/version.go
} majorVersionNumber, _, err := k.GetIntegerValue("CurrentMajorVersionNumber") if err != nil { return nil, fmt.Errorf("getOSInfo, get %s\\CurrentMajorVersionNumber failed: %w", keyPrefix, err) } minorVersionNumber, _, err := k.GetIntegerValue("CurrentMinorVersionNumber") if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.7K bytes - Viewed (0) -
src/internal/syscall/windows/registry/registry_test.go
t.Errorf("ExpandString(%s) failed: %v", got, err) return } } } func testGetIntegerValue(t *testing.T, k registry.Key, test ValueTest) { got, gottype, err := k.GetIntegerValue(test.Name) if err != nil { t.Errorf("GetIntegerValue(%s) failed: %v", test.Name, err) return } if got != test.Value.(uint64) { t.Errorf("want %s value %v, got %v", test.Name, test.Value, got) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:19:00 UTC 2024 - 18.5K bytes - Viewed (0) -
src/internal/syscall/windows/registry/value.go
} } return val, typ, nil } // GetIntegerValue retrieves the integer value for the specified // value name associated with an open key k. It also returns the value's type. // If value does not exist, GetIntegerValue returns ErrNotExist. // If value is not DWORD or QWORD, it will return the correct value // type and ErrUnexpectedType. func (k Key) GetIntegerValue(name string) (val uint64, valtype uint32, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 11K bytes - Viewed (0) -
src/mdo/reader.vm
/** * Method getIntegerValue. * * @param s a s object. * @param parser a parser object. * @param attribute a attribute object. * @throws XMLStreamException XMLStreamException if * any. * @return int */ private int getIntegerValue(String s, String attribute, XMLStreamReader parser, boolean strict)
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Dec 15 06:33:11 UTC 2023 - 42.1K bytes - Viewed (0) -
src/mdo/reader-stax.vm
#end #if ( $hasIntegerField ) /** * Method getIntegerValue. * * @param s a s object. * @param strict a strict object. * @param parser a parser object. * @param attribute a attribute object. * @throws XMLStreamException XMLStreamException if * any. * @return int */
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 38.1K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats.go
func getBootID() (string, error) { regKey, err := registry.OpenKey(registry.LOCAL_MACHINE, bootIdRegistry, registry.READ) if err != nil { return "", err } defer regKey.Close() regValue, _, err := regKey.GetIntegerValue(bootIdKey) if err != nil { return "", err } return strconv.FormatUint(regValue, 10), nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 9.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy
throw new UnsupportedOperationException() } @Option(option = "integerValue", description = "integer value") public Property<Integer> getIntegerValue() { throw new UnsupportedOperationException() } @Option(option = "listEnumValue", description = "list enum value") public ListProperty<TestEnum> getListEnumValue() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 12:45:01 UTC 2023 - 33.4K bytes - Viewed (0) -
src/os/os_windows_test.go
key, err := registry.OpenKey(registry.LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppModelUnlock", registry.READ) if err != nil { return false } val, _, err := key.GetIntegerValue("AllowDevelopmentWithoutDevLicense") if err != nil { return false } return val != 0 } // TestRootRelativeDirSymlink verifies that symlinks to paths relative to the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar
boolean) throws org.codehaus.plexus.util.xml.pull.XmlPullParserExcepti; public float getFloatValue(String, String, org.codehaus.plexus.util.xml.pull.XmlPullParser, boolean) throws org.codehaus.plexus.util.xml.pull.XmlPullParserExcepti; public int getIntegerValue(String, String, org.codehaus.plexus.util.xml.pull.XmlPullParser, boolean) throws org.codehaus.plexus.util.xml.pull.XmlPullParserExcepti; public long getLongValue(String, String, org.codehaus.plexus.util.xml.pull.XmlPullParser, boolean) throws...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Oct 02 08:41:25 UTC 2022 - 160.1K bytes - Viewed (0) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar
boolean) throws org.codehaus.plexus.util.xml.pull.XmlPullParserExcepti; public float getFloatValue(String, String, org.codehaus.plexus.util.xml.pull.XmlPullParser, boolean) throws org.codehaus.plexus.util.xml.pull.XmlPullParserExcepti; public int getIntegerValue(String, String, org.codehaus.plexus.util.xml.pull.XmlPullParser, boolean) throws org.codehaus.plexus.util.xml.pull.XmlPullParserExcepti; public long getLongValue(String, String, org.codehaus.plexus.util.xml.pull.XmlPullParser, boolean) throws...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Oct 16 20:15:40 UTC 2007 - 160.1K bytes - Viewed (0)