Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for loadstore (0.36 sec)

  1. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (MOVFstore [off1] {sym} x:(ADDconst [off2] ptr) val mem) && (is16Bit(int64(off1+off2)) || x.Uses == 1) => (MOVFstore [off1+off2] {sym} ptr val mem)
    (MOVDstore [off1] {sym} x:(ADDconst [off2] ptr) val mem) && (is16Bit(int64(off1+off2)) || x.Uses == 1) => (MOVDstore [off1+off2] {sym} ptr val mem)
    
    (MOVBstorezero [off1] {sym} x:(ADDconst [off2] ptr) mem) && (is16Bit(int64(off1+off2)) || x.Uses == 1) => (MOVBstorezero [off1+off2] {sym} ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  2. pkg/registry/core/rest/storage_core.go

    	nodestore "k8s.io/kubernetes/pkg/registry/core/node/storage"
    	pvstore "k8s.io/kubernetes/pkg/registry/core/persistentvolume/storage"
    	pvcstore "k8s.io/kubernetes/pkg/registry/core/persistentvolumeclaim/storage"
    	podstore "k8s.io/kubernetes/pkg/registry/core/pod/storage"
    	podtemplatestore "k8s.io/kubernetes/pkg/registry/core/podtemplate/storage"
    	"k8s.io/kubernetes/pkg/registry/core/rangeallocation"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache_test.go

    	cache.recordCacheSize = func(providerName string, size int) {
    		if providerName != "panda" {
    			t.Errorf(`expected "panda" as provider name, got %q`, providerName)
    		}
    		if _, loaded := record.LoadOrStore(size, nil); loaded {
    			t.Errorf("detected duplicated cache size metric for %d", size)
    		}
    		newSize := uint64(size)
    		oldSize := cacheSize.Swap(newSize)
    		if oldSize > newSize {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 31 20:26:58 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/par/work.go

    // Do returns the value returned by the one call to f.
    func (c *Cache[K, V]) Do(key K, f func() V) V {
    	entryIface, ok := c.m.Load(key)
    	if !ok {
    		entryIface, _ = c.m.LoadOrStore(key, new(cacheEntry[V]))
    	}
    	e := entryIface.(*cacheEntry[V])
    	if !e.done.Load() {
    		e.mu.Lock()
    		if !e.done.Load() {
    			e.result = f()
    			e.done.Store(true)
    		}
    		e.mu.Unlock()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		v.AddArg3(dst, v0, v1)
    		return true
    	}
    	// match: (Move [32] {t} dst src mem)
    	// cond: t.Alignment()%8 == 0
    	// result: (MOVDstore [24] dst (MOVDload [24] src mem) (MOVDstore [16] dst (MOVDload [16] src mem) (MOVDstore [8] dst (MOVDload [8] src mem) (MOVDstore dst (MOVDload src mem) mem))))
    	for {
    		if auxIntToInt64(v.AuxInt) != 32 {
    			break
    		}
    		t := auxToType(v.Aux)
    		dst := v_0
    		src := v_1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  6. src/reflect/type.go

    	}
    
    	// Look in known types.
    	s := "*" + t.String()
    	for _, tt := range typesByString(s) {
    		p := (*ptrType)(unsafe.Pointer(tt))
    		if p.Elem != &t.t {
    			continue
    		}
    		pi, _ := ptrMap.LoadOrStore(t, p)
    		return &pi.(*ptrType).Type
    	}
    
    	// Create a new ptrType starting with the description
    	// of an *unsafe.Pointer.
    	var iptr any = (*unsafe.Pointer)(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  7. src/internal/concurrent/hashtriemap.go

    		i = n.indirect()
    	}
    	panic("internal/concurrent.HashMapTrie: ran out of hash bits while iterating")
    }
    
    // LoadOrStore returns the existing value for the key if present.
    // Otherwise, it stores and returns the given value.
    // The loaded result is true if the value was loaded, false if stored.
    func (ht *HashTrieMap[K, V]) LoadOrStore(key K, value V) (result V, loaded bool) {
    	hash := ht.keyHash(abi.NoEscape(unsafe.Pointer(&key)), ht.seed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/net/net_fake.go

    		ffd.incomingEmpty <- true
    	case syscall.SOCK_DGRAM:
    		ffd.queue = newPacketQueue(defaultBuffer)
    	default:
    		return wrapErr(syscall.EINVAL)
    	}
    
    	fd.fakeNetFD = ffd
    	if _, dup := sockets.LoadOrStore(ffd.fakeAddr, fd); dup {
    		fd.fakeNetFD = nil
    		return wrapErr(syscall.EADDRINUSE)
    	}
    
    	return nil
    }
    
    func fakeConnect(ctx context.Context, fd *netFD, laddr, raddr sockaddr) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/metrics/metrics.go

    // and stores the operation timestamp with the key
    func (c *OperationStartTimeCache) AddIfNotExist(key, pluginName, operationName string) {
    	ts := newOperationTimestamp(pluginName, operationName)
    	c.cache.LoadOrStore(key, ts)
    }
    
    // Delete deletes a value for a key.
    func (c *OperationStartTimeCache) Delete(key string) {
    	c.cache.Delete(key)
    }
    
    // Has returns a bool value indicates the existence of a key in the cache
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 25 13:09:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go

    		ppI.addToStorageVersionMap(svdata.gvr, svdata.serverId)
    	}
    	return ppI, nil
    }
    
    func (h *peerProxyHandler) addToStorageVersionMap(gvr schema.GroupVersionResource, serverId string) {
    	apiserversi, _ := h.svMap.LoadOrStore(gvr, &sync.Map{})
    	apiservers := apiserversi.(*sync.Map)
    	if serverId != "" {
    		apiservers.Store(serverId, true)
    	}
    }
    
    func testDataExists(gvr schema.GroupVersionResource) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top