Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for kmem (0.04 sec)

  1. src/net/cgo_unix.go

    	resStateSize := unsafe.Sizeof(_C_struct___res_state{})
    	var state *_C_struct___res_state
    	if resStateSize > 0 {
    		mem := _C_malloc(resStateSize)
    		defer _C_free(mem)
    		memSlice := unsafe.Slice((*byte)(mem), resStateSize)
    		clear(memSlice)
    		state = (*_C_struct___res_state)(unsafe.Pointer(&memSlice[0]))
    	}
    	if err := _C_res_ninit(state); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. hack/lib/golang.sh

    kube::golang::get_physmem() {
      local mem
    
      # Linux kernel version >=3.14, in kb
      if mem=$(grep MemAvailable /proc/meminfo | awk '{ print $2 }'); then
        echo $(( mem / 1048576 ))
        return
      fi
    
      # Linux, in kb
      if mem=$(grep MemTotal /proc/meminfo | awk '{ print $2 }'); then
        echo $(( mem / 1048576 ))
        return
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. cmd/handler-api.go

    package cmd
    
    import (
    	"math"
    	"net/http"
    	"os"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/shirou/gopsutil/v3/mem"
    
    	"github.com/minio/minio/internal/config/api"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    )
    
    type apiConfig struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/vi/docs/python-types.md

    <img src="/img/python-types/image03.png">
    
    ## Động lực nhiều hơn
    
    Kiểm tra hàm này, nó đã có gợi ý kiểu dữ liệu:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    Bởi vì trình soạn thảo biết kiểu dữ liệu của các biến, bạn không chỉ có được completion, bạn cũng được kiểm tra lỗi:
    
    <img src="/img/python-types/image04.png">
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. src/runtime/traceruntime.go

    	lockInit(&trace.stringTab[0].tab.mem.lock, lockRankTraceStrings)
    	lockInit(&trace.stringTab[1].lock, lockRankTraceStrings)
    	lockInit(&trace.stringTab[1].tab.mem.lock, lockRankTraceStrings)
    	lockInit(&trace.stackTab[0].tab.mem.lock, lockRankTraceStackTab)
    	lockInit(&trace.stackTab[1].tab.mem.lock, lockRankTraceStackTab)
    	lockInit(&trace.typeTab[0].tab.mem.lock, lockRankTraceTypeTab)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    			updateResourceMetrics(interfaceSubsystem, interfaceTxErrors, float64(stats.TxErrors), labels, true)
    		}
    		if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    			labels := map[string]string{}
    			stats := hm.Mem.Info
    			updateResourceMetrics(memSubsystem, total, float64(stats.Total), labels, false)
    			updateResourceMetrics(memSubsystem, memUsed, float64(stats.Used), labels, false)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/link.go

    //			scale = scale (1, 2, 4, 8)
    //
    //	$<mem>
    //		Effective address of memory reference <mem>, defined above.
    //		Encoding: same as memory reference, but type = TYPE_ADDR.
    //
    //	$<±integer value>
    //		This is a special case of $<mem>, in which only ±offset is present.
    //		It has a separate type for easy recognition.
    //		Encoding:
    //			type = TYPE_CONST
    //			offset = ±integer value
    //
    //	*<mem>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util.cc

        }
    
        arguments.emplace_back(device_shape, host_shape);
        xla::ExecutionInput& execution_input = arguments.back();
        se::DeviceMemoryBase dmem = XlaTensor::DeviceMemoryFromTensor(*t);
        PopulateExecutionInputBuffer(execution_input, xla::ShapeIndex{}, dmem,
                                     donate_buffer, device_ordinal_,
                                     xla_allocator_);
      }
      return std::move(arguments);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  9. src/sync/once.go

    //
    // In the terminology of [the Go memory model],
    // the return from f “synchronizes before”
    // the return from any call of once.Do(f).
    //
    // [the Go memory model]: https://go.dev/ref/mem
    type Once struct {
    	// done indicates whether the action has been performed.
    	// It is first in the struct because it is used in the hot path.
    	// The hot path is inlined at every call site.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            final long freeBytes = runtime.freeMemory();
            final long maxBytes = runtime.maxMemory();
            final long totalBytes = runtime.totalMemory();
            final long usedBytes = totalBytes - freeBytes;
            return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max "
                    + byteCountToDisplaySize(maxBytes) + "}";
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top