- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 422 for gretty (0.2 sec)
-
tools/bug-report/pkg/config/config_test.go
got := &BugReportConfig{} if err := yaml.Unmarshal([]byte(config), got); err != nil { t.Fatal(err) } if !reflect.DeepEqual(got, want) { t.Errorf("got:\n%s\nwant:\n%s\n\ndiff (-got, +want):\n%s\n", pretty.Sprint(got), pretty.Sprint(want), cmp.Diff(got, want)) } } func TestUnmarshalSelectionSpec(t *testing.T) { include := "ns1,ns2/d1,d2/p1,p2/l1=lv1,l2=lv2/a1=av1,a2=av2/c1,c2" want := &SelectionSpec{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 15 15:19:50 UTC 2021 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/dump/dump.go
SpewKeys: true, DisablePointerAddresses: true, DisableCapacities: true, } // Pretty wrap the spew.Sdump with Indent, and disabled methods like error() and String() // The output may change over time, so for guaranteed output please take more direct control func Pretty(a interface{}) string { return prettyPrintConfig.Sdump(a) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy
} @Test @DisplayName("pretty pretty_test") public void ugly_test() { } @ParameterizedTest @CsvSource({"10, 'first'", "20, 'second'"}) public void parametrized_test(int value, String name) { System.out.println(name + " " + value); } @ParameterizedTest @DisplayName("pretty parametrized test") @CsvSource({"30, 'third'", "40, 'fourth'"})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 18.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go
t.Errorf("%s", dump.Pretty(original)) t.Errorf("%s", dump.Pretty(object)) return } // encode (serialize) the deep copy using the provided codec data, err := runtime.Encode(codec, object) if err != nil { if runtime.IsNotRegisteredError(err) { t.Logf("%v: not registered: %v (%s)", name, err, dump.Pretty(object)) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 16.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h
return *this; } // Enable printing of debug information. If 'pretty_form' is set to true, // debug information is printed in a more readable 'pretty' form but this // pretty form is not parsable (so only for human readability). MlirDumpConfig& emit_location_information(bool pretty_form = false) { this->op_printing_flags.enableDebugInfo(/*enable=*/true, pretty_form); return *this;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Dec 24 09:43:29 UTC 2022 - 2.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/dump_test.go
t.Fatal(dump.Pretty(actualNodes)) } for i := range expectedNodes { currExpected := expectedNodes[i] currActual := actualNodes[i] if currExpected.uid != currActual.uid { t.Errorf("expected %v, got %v", dump.Pretty(currExpected), dump.Pretty(currActual)) } } if len(expectedEdges) != len(actualEdges) { t.Fatal(dump.Pretty(actualEdges)) } for i := range expectedEdges {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go
// Deprecated: use NewSerializerWithOptions instead. func NewSerializer(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.ObjectTyper, pretty bool) *Serializer { return NewSerializerWithOptions(meta, creater, typer, SerializerOptions{false, pretty, false}) } // NewYAMLSerializer creates a YAML serializer that handles encoding versioned objects into the proper YAML form. If typer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 25 16:08:07 UTC 2022 - 12K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go
s.AddUnversionedTypes(externalGV, &metav1.Status{}) utilruntime.Must(runtimetesting.RegisterConversions(s)) cf := newCodecFactory(s, newSerializersForScheme(s, testMetaFactory{}, CodecFactoryOptions{Pretty: true, Strict: true})) codec := cf.LegacyCodec(schema.GroupVersion{Version: "v1"}) return s, codec } var semantic = conversion.EqualitiesOrDie( func(a, b runtimetesting.MyWeirdCustomEmbeddedVersionKindField) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 13.2K bytes - Viewed (0) -
plugin/pkg/admission/storage/storageobjectinuseprotection/admission_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 3.2K bytes - Viewed (0) -
hack/jenkins/benchmark-dockerized.sh
set -o errexit set -o nounset set -o pipefail set -o xtrace retry() { for i in {1..5}; do if "$@" then return 0 else sleep "${i}" fi done "$@" } # The root of the build/dist directory KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../.. export KUBE_ROOT # Runs benchmark integration tests, producing pretty-printed results
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 2.4K bytes - Viewed (0)