Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for mallocgc (0.07 sec)

  1. cmd/admin-server-info.go

    		Version:  Version,
    		CommitID: CommitID,
    		Network:  network,
    		MemStats: madmin.MemStats{
    			Alloc:      memstats.Alloc,
    			TotalAlloc: memstats.TotalAlloc,
    			Mallocs:    memstats.Mallocs,
    			Frees:      memstats.Frees,
    			HeapAlloc:  memstats.HeapAlloc,
    		},
    		GoMaxProcs:     runtime.GOMAXPROCS(0),
    		NumCPU:         runtime.NumCPU(),
    		RuntimeVersion: runtime.Version(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

    }
    
    const void TFE_MonitoringStringGaugeCellValue(
        TFE_MonitoringStringGaugeCell* cell, TF_Buffer* buf) {
      tensorflow::string value = cell->cell.value();
      void* data = tensorflow::port::Malloc(value.length());
      value.copy(static_cast<char*>(data), value.length(), 0);
      buf->data = data;
      buf->length = value.length();
      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    char* TF_FunctionDebugString(TF_Function* func, size_t* len) {
      const auto& debug_str = DebugString(func->record->fdef());
      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    	func C.GoBytes(unsafe.Pointer, C.int) []byte
    
    As a special case, C.malloc does not call the C library malloc directly
    but instead calls a Go helper function that wraps the C library malloc
    but guarantees never to return nil. If C's malloc indicates out of memory,
    the helper function crashes the program, like when Go itself runs out
    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    	if goname == "errno" {
    		error_(sel.Pos(), "cannot refer to errno directly; see documentation")
    		return
    	}
    	if goname == "_CMalloc" {
    		error_(sel.Pos(), "cannot refer to C._CMalloc; use C.malloc")
    		return
    	}
    	if goname == "malloc" {
    		goname = "_CMalloc"
    	}
    	name := f.Name[goname]
    	if name == nil {
    		name = &Name{
    			Go: goname,
    		}
    		f.Name[goname] = name
    		f.NamePos[name] = sel.Pos()
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    					}(),
    					PoolNumbers: server.PoolNumbers,
    					MemStats: madmin.MemStats{
    						Alloc:      server.MemStats.Alloc,
    						TotalAlloc: server.MemStats.TotalAlloc,
    						Mallocs:    server.MemStats.Mallocs,
    						Frees:      server.MemStats.Frees,
    						HeapAlloc:  server.MemStats.HeapAlloc,
    					},
    					GoMaxProcs:     server.GoMaxProcs,
    					NumCPU:         server.NumCPU,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	case *ast.SelectorExpr:
    		goname = fun.Sel.Name
    	case *ast.Ident:
    		goname = strings.TrimPrefix(fun.Name, "_C2func_")
    		goname = strings.TrimPrefix(goname, "_Cfunc_")
    	}
    	if goname == "" || goname == "malloc" {
    		return "", false
    	}
    	name := f.Name[goname]
    	if name == nil || name.Kind != "func" {
    		// Probably a type conversion.
    		return "", false
    	}
    
    	params := name.FuncType.Params
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  8. RELEASE.md

            replaced by catching a KeyError exception.
    *   `tf.contrib.data`
        *   Deprecate, and replace by tf.data.experimental.
    *   Other:
        *   Instead of jemalloc, revert back to using system malloc since it
            simplifies build and has comparable performance.
        *   Remove integer types from `tf.nn.softplus` and `tf.nn.softsign` OpDefs.
            This is a bugfix; these ops were never meant to support integers.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top