Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 123 for kmem (0.11 sec)

  1. samples/addons/extras/zipkin.yaml

            sidecar.istio.io/inject: "false"
        spec:
          containers:
            - name: zipkin
              image: openzipkin/zipkin-slim:3.4.0
              env:
                - name: STORAGE_METHOD
                  value: "mem"
              readinessProbe:
                httpGet:
                  path: /health
                  port: 9411
                initialDelaySeconds: 5
                periodSeconds: 5
    ---
    apiVersion: v1
    kind: Service
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/runtime/slice.go

    		// supplied implicitly, saying len is clearer.
    		// See golang.org/issue/4085.
    		mem, overflow := math.MulUintptr(et.Size_, uintptr(len))
    		if overflow || mem > maxAlloc || len < 0 {
    			panicmakeslicelen()
    		}
    		panicmakeslicecap()
    	}
    
    	return mallocgc(mem, et, true)
    }
    
    func makeslice64(et *_type, len64, cap64 int64) unsafe.Pointer {
    	len := int(len64)
    	if int64(len) != len64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. plugin/pkg/admission/limitranger/admission_test.go

    		},
    		{
    			pod:        validPod("pod-max-mem-request-limit", 2, getResourceRequirements(getComputeResourceList("", "250Mi"), getComputeResourceList("", "500Mi"))),
    			limitRange: createLimitRange(api.LimitTypePod, api.ResourceList{}, getComputeResourceList("", "1Gi"), api.ResourceList{}, api.ResourceList{}, api.ResourceList{}),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	return s.newValue2(ssa.OpLoad, t, src, s.mem())
    }
    
    func (s *state) store(t *types.Type, dst, val *ssa.Value) {
    	s.vars[memVar] = s.newValue3A(ssa.OpStore, types.TypeMem, t, dst, val, s.mem())
    }
    
    func (s *state) zero(t *types.Type, dst *ssa.Value) {
    	s.instrument(t, dst, instrumentWrite)
    	store := s.newValue2I(ssa.OpZero, types.TypeMem, t.Size(), dst, s.mem())
    	store.Aux = t
    	s.vars[memVar] = store
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/crypto/tls/key_schedule.go

    	return c, kyberSharedSecret(ss, c), nil
    }
    
    func kyberSharedSecret(K, c []byte) []byte {
    	// Package mlkem768 implements ML-KEM, which compared to Kyber removed a
    	// final hashing step. Compute SHAKE-256(K || SHA3-256(c), 32) to match Kyber.
    	// See https://words.filippo.io/mlkem768/#bonus-track-using-a-ml-kem-implementation-as-kyber-v3.
    	h := sha3.NewShake256()
    	h.Write(K)
    	ch := sha3.Sum256(c)
    	h.Write(ch[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/runtime/string.go

    func rawruneslice(size int) (b []rune) {
    	if uintptr(size) > maxAlloc/4 {
    		throw("out of memory")
    	}
    	mem := roundupsize(uintptr(size)*4, true)
    	p := mallocgc(mem, nil, false)
    	if mem != uintptr(size)*4 {
    		memclrNoHeapPointers(add(p, uintptr(size)*4), mem-uintptr(size)*4)
    	}
    
    	*(*slice)(unsafe.Pointer(&b)) = slice{p, size, int(mem / 4)}
    	return
    }
    
    // used by cmd/cgo
    func gobytes(p *byte, n int) (b []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/crypto/internal/mlkem768/mlkem768.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package mlkem768 implements the quantum-resistant key encapsulation method
    // ML-KEM (formerly known as Kyber).
    //
    // Only the recommended ML-KEM-768 parameter set is provided.
    //
    // The version currently implemented is the one specified by [NIST FIPS 203 ipd],
    // with the unintentional transposition of the matrix A reverted to match the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. pkg/registry/core/service/portallocator/storage/storage_test.go

    	var backing allocator.Interface
    	storage, err := portallocator.New(serviceNodePortRange, func(max int, rangeSpec string, offset int) (allocator.Interface, error) {
    		mem := allocator.NewAllocationMapWithOffset(max, rangeSpec, offset)
    		backing = mem
    		etcd, err := allocatorstore.NewEtcd(mem, "/ranges/servicenodeports", configForAllocations)
    		if err != nil {
    			return nil, err
    		}
    		return etcd, nil
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. cmd/metrics-realtime.go

    		} else {
    			m.Aggregated.Net.NetStats = netStats
    		}
    	}
    	if types.Contains(madmin.MetricsMem) {
    		m.Aggregated.Mem = &madmin.MemMetrics{
    			CollectedAt: UTCNow(),
    		}
    		m.Aggregated.Mem.Info = madmin.GetMemInfo(GlobalContext, byHostName)
    	}
    	if types.Contains(madmin.MetricsCPU) {
    		m.Aggregated.CPU = &madmin.CPUMetrics{
    			CollectedAt: UTCNow(),
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. tensorflow/c/tf_buffer.cc

    #include "tensorflow/c/tf_buffer.h"
    
    #include <cstddef>
    #include <cstdint>
    #include <cstring>
    
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/mem.h"
    #include "tensorflow/core/platform/protobuf.h"  // IWYU pragma: keep
    #include "tensorflow/core/platform/status.h"
    
    extern "C" {
    
    TF_Buffer* TF_NewBuffer() { return new TF_Buffer{nullptr, 0, nullptr}; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top