- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 66 for _get_string (0.25 sec)
-
src/debug/elf/file.go
sym.Size = f.ByteOrder.Uint64(data[16:24]) str, _ := getString(strdata, int(sym.Name)) symbols[i].Name = str symbols[i].Info = sym.Info symbols[i].Other = sym.Other symbols[i].Section = SectionIndex(sym.Shndx) symbols[i].Value = sym.Value symbols[i].Size = sym.Size i++ data = data[Sym64Size:] } return symbols, strdata, nil } // getString extracts a string from an ELF string table.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
tests/fuzz/config_validation_fuzzer.go
if err != nil { return -1 } r := collections.Pilot.All()[configIndex%len(collections.Pilot.All())] spec, err := r.NewInstance() if err != nil { return 0 } jsonData, err := f.GetString() if err != nil { return 0 } err = config.ApplyJSON(spec, jsonData) if err != nil { return 0 } m := config.Meta{} err = f.GenerateStruct(&m) if err != nil { return 0 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/kubelet/types/types_test.go
"github.com/stretchr/testify/require" "k8s.io/api/core/v1" ) func TestConvertToTimestamp(t *testing.T) { timestamp := "2017-02-17T15:34:49.830882016+08:00" convertedTimeStamp := ConvertToTimestamp(timestamp).GetString() assert.Equal(t, timestamp, convertedTimeStamp) } func TestLen(t *testing.T) { var cases = []struct { statuses SortedContainerStatuses expected int }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 19 08:28:25 UTC 2022 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(STRING.length(), source.copyTo(sink)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testRead_toString() throws IOException { assertEquals(STRING, source.read()); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
String userAgent = ConfigUtils.getString( legacySupport.getRepositorySession(), null, ConfigurationProperties.USER_AGENT); if (userAgent == null) { Properties headers = new Properties(); headers.put( "User-Agent", ConfigUtils.getString(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 29.9K bytes - Viewed (0) -
pkg/kubelet/config/config.go
func recordFirstSeenTime(pod *v1.Pod) { klog.V(4).InfoS("Receiving a new pod", "pod", klog.KObj(pod)) pod.Annotations[kubetypes.ConfigFirstSeenAnnotationKey] = kubetypes.NewTimestamp().GetString() } // updateAnnotations returns an Annotation map containing the api annotation map plus // locally managed annotations func updateAnnotations(existing, ref *v1.Pod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
if (tensor.type == tflite::TensorType_STRING) { for (int i = 0; i < tflite::GetStringCount(buffer.data()); ++i) { tflite::StringRef str = tflite::GetString(buffer.data(), i); ret.add_string_val(str.str, str.len); } return ret; } std::string content; content.assign(reinterpret_cast<const char*>(buffer.data()), buffer.size());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
Message test_name_stream; test_name_stream << test_info->test_base_name << "/" << i; MakeAndRegisterTestInfo( test_case_name.c_str(), test_name_stream.GetString().c_str(), NULL, // No type parameter. PrintToString(*param_it).c_str(), GetTestCaseTypeId(), TestCase::SetUpTestCase, TestCase::TearDownTestCase,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 23.6K bytes - Viewed (0) -
cmd/endpoint.go
// HTTPS - returns true if secure for URLEndpointType. func (endpoints Endpoints) HTTPS() bool { return endpoints[0].HTTPS() } // GetString - returns endpoint string of i-th endpoint (0-based), // and empty string for invalid indexes. func (endpoints Endpoints) GetString(i int) string { if i < 0 || i >= len(endpoints) { return "" } return endpoints[i].String() }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 34.1K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
Message test_name_stream; test_name_stream << test_info->test_base_name << "/" << i; MakeAndRegisterTestInfo( test_case_name.c_str(), test_name_stream.GetString().c_str(), NULL, // No type parameter. PrintToString(*param_it).c_str(), GetTestCaseTypeId(), TestCase::SetUpTestCase, TestCase::TearDownTestCase,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0)