- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 127 for FUNC (0.07 sec)
-
src/net/http/httputil/reverseproxy_test.go
} } } type bufferPool struct { get func() []byte put func([]byte) } func (bp bufferPool) Get() []byte { return bp.get() } func (bp bufferPool) Put(v []byte) { bp.put(v) } func TestReverseProxyGetPutBuffer(t *testing.T) { const msg = "hi" backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { io.WriteString(w, msg) }))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0) -
src/net/http/client_test.go
} } type roundTripperWithoutCloseIdle struct{} func (roundTripperWithoutCloseIdle) RoundTrip(*Request) (*Response, error) { panic("unused") } type roundTripperWithCloseIdle func() // underlying func is CloseIdleConnections func func (roundTripperWithCloseIdle) RoundTrip(*Request) (*Response, error) { panic("unused") } func (f roundTripperWithCloseIdle) CloseIdleConnections() { f() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
state runtimeapi.ContainerState } type cRecordList []*cRecord func (b cRecordList) Len() int { return len(b) } func (b cRecordList) Swap(i, j int) { b[i], b[j] = b[j], b[i] } func (b cRecordList) Less(i, j int) bool { if b[i].name != b[j].name { return b[i].name < b[j].name } return b[i].attempt < b[j].attempt }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir
%6 = stablehlo.add %2, %5 : tensor<?x28x28x16xf32> func.return %6: tensor<?x28x28x16xf32> } // CHECK-NOT: @composite_conv_with_bias_dynamic_fn_1 // ----- // CHECK-LABEL: @dot_general_with_bias_dynamic_fn( // CHECK-SAME: %[[ARG_0:.*]]: tensor<?x12544xf32> func.func @dot_general_with_bias_dynamic_fn(%arg0: tensor<?x12544xf32>) -> tensor<?x10xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 49.8K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
func() { AddUint64(nil, 0) }, func() { (*Uint64)(nil).Add(0) }, func() { AddUintptr(nil, 0) }, func() { (*Uintptr)(nil).Add(0) }, func() { LoadInt32(nil) }, func() { (*Int32)(nil).Load() }, func() { LoadInt64(nil) }, func() { (*Int64)(nil).Load() }, func() { LoadUint32(nil) }, func() { (*Uint32)(nil).Load() }, func() { LoadUint64(nil) }, func() { (*Uint64)(nil).Load() },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
pkg/workloadapi/workload.pb.go
func (*Service) Descriptor() ([]byte, []int) { return file_workloadapi_workload_proto_rawDescGZIP(), []int{1} } func (x *Service) GetName() string { if x != nil { return x.Name } return "" } func (x *Service) GetNamespace() string { if x != nil { return x.Namespace } return "" } func (x *Service) GetHostname() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:35 UTC 2024 - 65.9K bytes - Viewed (0) -
src/time/time_test.go
) var mallocTest = []struct { count int desc string fn func() }{ {0, `time.Now()`, func() { t = Now() }}, {0, `time.Now().UnixNano()`, func() { u = Now().UnixNano() }}, {0, `time.Now().UnixMilli()`, func() { u = Now().UnixMilli() }}, {0, `time.Now().UnixMicro()`, func() { u = Now().UnixMicro() }}, } func TestCountMallocs(t *testing.T) { if testing.Short() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/net/netip/netip_test.go
test("AddrFrom16", func() { sinkIP = AddrFrom16([16]byte{}) }) test("ParseAddr/4", func() { sinkIP = panicIP(ParseAddr("1.2.3.4")) }) test("ParseAddr/6", func() { sinkIP = panicIP(ParseAddr("::1")) }) test("MustParseAddr", func() { sinkIP = MustParseAddr("1.2.3.4") }) test("IPv6LinkLocalAllNodes", func() { sinkIP = IPv6LinkLocalAllNodes() })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
// Run multiple times to shake out data races t.Run("goroutine launches", testLaunches) } } func BenchmarkGoroutine(b *testing.B) { withIdle := func(n int, fn func(b *testing.B)) func(b *testing.B) { return func(b *testing.B) { c := make(chan int) var ready, done sync.WaitGroup defer func() { close(c) done.Wait() }() for i := 0; i < n; i++ { ready.Add(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
t.Fatal(err) } } func TestCloneFuncFields(t *testing.T) { const expectedCount = 9 called := 0 c1 := Config{ Time: func() time.Time { called |= 1 << 0 return time.Time{} }, GetCertificate: func(*ClientHelloInfo) (*Certificate, error) { called |= 1 << 1 return nil, nil }, GetClientCertificate: func(*CertificateRequestInfo) (*Certificate, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0)