Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for destructors (1.74 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	return sb.String()
    }
    
    // Destructor is a destructor.
    type Destructor struct {
    	Name AST
    }
    
    func (d *Destructor) print(ps *printState) {
    	ps.writeByte('~')
    	ps.print(d.Name)
    }
    
    func (d *Destructor) Traverse(fn func(AST) bool) {
    	if fn(d) {
    		d.Name.Traverse(fn)
    	}
    }
    
    func (d *Destructor) Copy(fn func(AST) AST, skip func(AST) bool) AST {
    	if skip(d) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    // to register a thread-exit-time destructor.
    // We are here setting the thread-specific value of the pthread key, to enable the destructor.
    // So that the pthread_key_destructor would dropm while the C thread is exiting.
    //
    // And the saved g will be used in pthread_key_destructor,
    // since the g stored in the TLS by Go might be cleared in some platforms,
    // before the destructor invoked, so, we restore g by the stored g, before dropm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      tensorflow::Status error_status;
      {
        // Start a threadpool to convert signatures, since signature conversion can
        // be time consuming especially for large models. Threadpool destructor
        // blocks until all work is done.
        thread::ThreadPool thread_pool(Env::Default(), "ConvertSignatures",
                                       kNumThreadToConvertSignatures);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top