- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 183 for FUNC (0.04 sec)
-
src/go/types/api_test.go
{`package s8; func _() { f(g, h) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func(int, string)`}, {`package s9; func _() { f(g, h[int]) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func[P, Q any](P, Q)`}, // go.dev/issues/60212
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go
) func init() { localSchemeBuilder.Register(RegisterConversions) } // RegisterConversions adds conversion functions to the given scheme. // Public to allow building arbitrary schemes. func RegisterConversions(s *runtime.Scheme) error { if err := s.AddGeneratedConversionFunc((*APIEndpoint)(nil), (*kubeadm.APIEndpoint)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 61.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir
// CHECK: return %[[MM]] : tensor<1x1000xf32> } func.func @snapshot(%arg0: tensor<3xi32>) -> tensor<3xi32> { %0 = "tf.Snapshot"(%arg0) : (tensor<3xi32>) -> tensor<3xi32> func.return %0 : tensor<3xi32> // Should be converted to Identity and then from Identity to value // CHECK-LABEL: snapshot // CHECK: return %arg0 : tensor<3xi32> } func.func @stop_gradient(%arg0: tensor<3xi32>) -> tensor<3xi32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 59.8K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgBaseOptions(b *testing.B) { v := BaseOptions{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBaseOptions(b *testing.B) { v := BaseOptions{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0])
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 62.6K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
) func IsL7() echo.Checker { return check.Each(func(r echot.Response) error { // TODO: response headers? _, f := r.RequestHeaders[http.CanonicalHeaderKey("X-Request-Id")] if !f { return fmt.Errorf("X-Request-Id not set, is L7 processing enabled?") } return nil }) } func IsL4() echo.Checker { return check.Each(func(r echot.Response) error { // TODO: response headers?
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
src/crypto/tls/handshake_messages.go
b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { if len(m.alpnProtocol) > 0 { b.AddUint16(extensionALPN) b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes([]byte(m.alpnProtocol)) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
} func bmIndexRune(index func([]byte, rune) int) func(b *testing.B, n int) { return func(b *testing.B, n int) { buf := bmbuf[0:n] utf8.EncodeRune(buf[n-3:], '世') for i := 0; i < b.N; i++ { j := index(buf, '世') if j != n-3 { b.Fatal("bad index", j) } } buf[n-3] = '\x00' buf[n-2] = '\x00' buf[n-1] = '\x00' } } func BenchmarkEqual(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
{`package s8; func _() { f(g, h) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func(int, string)`}, {`package s9; func _() { f(g, h[int]) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func[P, Q any](P, Q)`}, // go.dev/issues/60212
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
pkg/volume/testing/testing.go
type FakeFileVolumePlugin struct { } func (plugin *FakeFileVolumePlugin) Init(host volume.VolumeHost) error { return nil } func (plugin *FakeFileVolumePlugin) GetPluginName() string { return "fake-file-plugin" } func (plugin *FakeFileVolumePlugin) GetVolumeName(spec *volume.Spec) (string, error) { return "", nil } func (plugin *FakeFileVolumePlugin) CanSupport(spec *volume.Spec) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) } func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) } func nlz8(x int8) int { return bits.LeadingZeros8(uint8(x)) } // ntzX returns the number of trailing zeros. func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) } func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) } func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0)