- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 78 for getStrings (0.16 sec)
-
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy
buildFile """ interface Thing extends Named { Property<Integer> getValue() } interface Bag { NamedDomainObjectContainer<Thing> getThings() } def bag = project.objects.newInstance(Bag) bag.things { a { value = 1 } b {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 07 02:25:12 UTC 2024 - 25.4K 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) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java
//assertThat(call("{ bean, list -> bean.things(list) }", bean, new LinkedList<Object>()), nullValue()); //assertThat(bean.getThings().size(), equalTo(0)); //assertThat(call("{ bean -> bean.things([1,2,3]) }", bean), nullValue()); //assertThat(bean.getThings().size(), equalTo(3)); //FileCollection files = ProjectBuilder.builder().build().files();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 74.6K 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/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy
expect: extract(UnmanagedModelMapInUnmanagedType).getProperty("things").type.rawClass == ModelMap } static abstract class UnmanagedModelMapInUnmanagedType { ModelMap<InputStream> getThings() { null } } static class SimpleUnmanagedType { String prop String getCalculatedProp() { "calc" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 29.9K bytes - Viewed (0)