- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 92 for closeFn (0.26 sec)
-
pkg/kubelet/pod_workers_test.go
} func (item *WorkChannelItem) Hold() { item.lock.Lock() defer item.lock.Unlock() item.pause = true } func (item *WorkChannelItem) Close() { item.lock.Lock() defer item.lock.Unlock() if item.out != nil { close(item.out) item.out = nil } } // Release blocks until all work is passed on the chain func (item *WorkChannelItem) Release() { item.lock.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
top := b.Succs[0].b loop := s.loopnest.b2l[top.ID] if loop == nil || loop.header != top || loop.containsUnavoidableCall { goto badloop } // TODO: sort by distance, pick the closest ones? for _, live := range s.live[b.ID] { if live.dist >= unlikelyDistance { // Don't preload anything live after the loop. continue } vid := live.ID vi := &s.values[vid]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
cmd/sts-handlers_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 18:45:50 UTC 2024 - 90K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
return static_cast<int>(read(fd, buf, count)); } inline int Write(int fd, const void* buf, unsigned int count) { return static_cast<int>(write(fd, buf, count)); } inline int Close(int fd) { return close(fd); } inline const char* StrError(int errnum) { return strerror(errnum); } #endif inline const char* GetEnv(const char* name) { #if GTEST_OS_WINDOWS_MOBILE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 67.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// ImportFromFiles adds modules to the build list as needed // to satisfy the imports in the named Go source files. // // Errors in missing dependencies are silenced. // // TODO(bcmills): Silencing errors seems off. Take a closer look at this and // figure out what the error-reporting actually ought to be. func ImportFromFiles(ctx context.Context, gofiles []string) { rs := LoadModFile(ctx) tags := imports.Tags()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier_test.go
push.JwtKeyResolver = model.NewJwksResolver( model.JwtPubKeyEvictionDuration, model.JwtPubKeyRefreshInterval, model.JwtPubKeyRefreshIntervalOnFailure, 10*time.Millisecond) defer push.JwtKeyResolver.Close() push.ServiceIndex.HostnameAndNamespace[host.Name("jwt-token-issuer.mesh")] = map[string]*model.Service{} push.ServiceIndex.HostnameAndNamespace[host.Name("jwt-token-issuer.mesh")]["mesh"] = &model.Service{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 07:32:22 UTC 2023 - 60.2K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
t.Run(tc.name, func(t *testing.T) { ns := metav1.NamespaceDefault client, esController := newController(t, []string{"node-1"}, tc.batchPeriod) stopCh := make(chan struct{}) defer close(stopCh) _, ctx := ktesting.NewTestContext(t) go esController.Run(ctx, 1) esController.serviceStore.Add(&v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: ns},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
cmd/erasure-object.go
} return fi.ToObjectInfo(srcBucket, srcObject, srcOpts.Versioned || srcOpts.VersionSuspended), nil } // GetObjectNInfo - returns object info and an object // Read(Closer). When err != nil, the returned reader is always nil. func (er erasureObjects) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 78.6K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
typeNoalg // suppress hash and eq algorithm generation typeDeferwidth // width computation has been deferred and type is on deferredTypeStack typeRecur typeIsShape // represents a set of closely related types, for generics typeHasShape // there is a shape somewhere in the type ) func (t *Type) NotInHeap() bool { return t.flags&typeNotInHeap != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
}); if (walk_result.wasInterrupted()) return mlir::failure(); return mlir::success(); } void ExtractOutsideCompilation::runOnOperation() { // Get runtime devices information from the closest parent module. auto module = getOperation(); if (failed(CheckPreconditions(module))) signalPassFailure(); mlir::TF::RuntimeDevices devices; if (failed(tensorflow::GetDevicesFromOp(module, &devices)))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0)