Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 277 for destroyFn (0.31 sec)

  1. pkg/kubelet/cm/pod_container_manager_stub.go

    	return nil
    }
    
    func (m *podContainerManagerStub) GetPodContainerName(_ *v1.Pod) (CgroupName, string) {
    	return nil, ""
    }
    
    func (m *podContainerManagerStub) Destroy(_ CgroupName) error {
    	return nil
    }
    
    func (m *podContainerManagerStub) ReduceCPULimits(_ CgroupName) error {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. pkg/registry/core/serviceaccount/storage/token.go

    	token "k8s.io/kubernetes/pkg/serviceaccount"
    )
    
    func (r *TokenREST) New() runtime.Object {
    	return &authenticationapi.TokenRequest{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *TokenREST) Destroy() {
    	// Given no underlying store, we don't destroy anything
    	// here explicitly.
    }
    
    type TokenREST struct {
    	svcaccts             rest.Getter
    	pods                 rest.Getter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/internal/poll/fd_unix.go

    		fd.isBlocking = 1
    	}
    	return err
    }
    
    // Destroy closes the file descriptor. This is called when there are
    // no remaining references.
    func (fd *FD) destroy() error {
    	// Poller may want to unregister fd in readiness notification mechanism,
    	// so this must be executed before CloseFunc.
    	fd.pd.close()
    
    	err := fd.SysFile.destroy(fd.Sysfd)
    
    	fd.Sysfd = -1
    	runtime_Semrelease(&fd.csema)
    	return err
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net.go

    }
    
    func (s *NetServer) Stop() {
    	log.Debug("removing host iptables rules")
    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    		log.Warnf("could not destroy host ipset on shutdown")
    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    } catch (final Exception e) {
                        // ignore
                    }
                }
                if (currentProcess != null) {
                    try {
                        currentProcess.destroy();
                    } catch (final Exception e) {
                        // ignore
                    }
                }
                currentProcess = null;
    
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// A C thread calls into Go and acquires a P. It returns
    	// back to C, destroying the G.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("GoCreateSyscall", trace.GoID(4))
    	b0.Event("GoSyscallEndBlocked")
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cgroup_manager_unsupported.go

    func (m *unsupportedCgroupManager) Validate(_ CgroupName) error {
    	return errNotSupported
    }
    
    func (m *unsupportedCgroupManager) Exists(_ CgroupName) bool {
    	return false
    }
    
    func (m *unsupportedCgroupManager) Destroy(_ *CgroupConfig) error {
    	return nil
    }
    
    func (m *unsupportedCgroupManager) Update(_ *CgroupConfig) error {
    	return nil
    }
    
    func (m *unsupportedCgroupManager) Create(_ *CgroupConfig) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/internal/poll/fd_unixjs.go

    //go:build unix || (js && wasm)
    
    package poll
    
    import "syscall"
    
    type SysFile struct {
    	// Writev cache.
    	iovecs *[]syscall.Iovec
    }
    
    func (s *SysFile) init() {}
    
    func (s *SysFile) destroy(fd int) error {
    	// We don't use ignoringEINTR here because POSIX does not define
    	// whether the descriptor is closed if close returns EINTR.
    	// If the descriptor is indeed closed, using a loop would race
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/ops/variable_ops_test.cc

      ImmediateTensorHandlePtr handle;
      TF_EXPECT_OK(internal::CreateUninitializedResourceVariable(
          context(), DT_FLOAT, {}, nullptr, &handle));
    
      // Destroy the variable
      TF_EXPECT_OK(internal::DestroyResource(context(), handle.get()));
    }
    
    // Sanity check for handle assignment and reading
    TEST_F(VariableOpsTest, AssignVariableAndReadSuccessful) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 21 19:26:54 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.h

                                             StringPiece func_name);
    
      // Runs the decompose passes on the user_module.
      Status DecomposeGraph(mlir::ModuleOp user_module);
    
      // Erases the tfr_module created.
      void Destroy();
    
     private:
      mlir::ModuleOp tfr_module_;
      mlir::PassManager pm_;
    
      GraphExportConfig export_confs_;
    };
    
    // Decomposes the NodeDef to a set of primitive ops according to the decompose
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 11:12:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top