- Sort Score
- Result 10 results
- Languages All
Results 51 - 55 of 55 for roundTrip (0.13 sec)
-
src/net/http/requestwrite_test.go
// we'll get a partial dump. io.Copy(io.Discard, req.Body) req.Body.Close() } dr.c <- strings.NewReader("HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n") }() _, err := t.RoundTrip(req) if err != nil { return nil, err } return buf.Bytes(), nil } // delegateReader is a reader that delegates to another reader, // once it arrives on a channel. type delegateReader struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:07:32 UTC 2022 - 23.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer --emit-stablehlo-ops=true %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --disable-vhlo-to-stablehlo=true - -o - | FileCheck %s // test stablehlo roundtrip // Identity function to make the exporter happy func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> { func.return %arg0 : tensor<4xi8> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (1) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go
} if tc.expectedPod == nil { if resultObj != nil { t.Errorf("%s: unexpected result: %v", tc.name, resultObj) } continue } resultPod := resultObj.(*example.Pod) // roundtrip to get defaulting expectedJS, err := runtime.Encode(codec, tc.expectedPod) if err != nil { t.Errorf("%s: unexpected error: %v", tc.name, err) continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 41.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go
// Convert the object to raw bytes bytes, err := runtime.Encode(codec, obj) if err != nil { panic(fmt.Sprintf("Failed to encode object: %v", err)) } // strip trailing newlines which do not survive roundtrips for len(bytes) >= 1 && bytes[len(bytes)-1] == 10 { bytes = bytes[:len(bytes)-1] } // Set the bytes field on the RawExtension r.Raw = bytes }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 15:12:26 UTC 2024 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go
"encoding/hex" "fmt" "math" "testing" "k8s.io/apimachinery/pkg/conversion" "k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes" "github.com/google/go-cmp/cmp" ) // TestAppendixA roundtrips the examples of encoded CBOR data items in RFC 8949 Appendix A. For // completeness, all examples from the appendix are included, even those those that are rejected by
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 15 18:59:36 UTC 2024 - 15.8K bytes - Viewed (0)