Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for loadstore (0.14 sec)

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

    (Move [8] dst src mem) => (MOVDstore dst (MOVDload src mem) mem)
    (Move [16] dst src mem) =>
    	(MOVDstore [8] dst (MOVDload [8] src mem)
    		(MOVDstore dst (MOVDload src mem) mem))
    (Move [24] dst src mem) =>
            (MOVDstore [16] dst (MOVDload [16] src mem)
    	        (MOVDstore [8] dst (MOVDload [8] src mem)
                    (MOVDstore dst (MOVDload src mem) mem)))
    (Move [3] dst src mem) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  2. src/cmd/go/scriptcmds_test.go

    		t, ok := tbFromContext(state.Context())
    		if !ok {
    			return nil, errors.New("script Context unexpectedly missing testing.TB key")
    		}
    		_, dup := scriptGoInvoked.LoadOrStore(t, true)
    		if !dup {
    			t.Cleanup(func() { scriptGoInvoked.Delete(t) })
    		}
    		return cmd.Run(state, s...)
    	})
    }
    
    // scriptStale checks that the named build targets are stale.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 18:33:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/unique/handle.go

    			toInsertWeak = weak.Make(toInsert)
    		}
    		return toInsertWeak
    	}
    	var ptr *T
    	for {
    		// Check the map.
    		wp, ok := m.Load(value)
    		if !ok {
    			// Try to insert a new value into the map.
    			wp, _ = m.LoadOrStore(value, newValue())
    		}
    		// Now that we're sure there's a value in the map, let's
    		// try to get the pointer we need out of it.
    		ptr = wp.Strong()
    		if ptr != nil {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/crypto/tls/cache.go

    		return cc.active(entry.(*cacheEntry)), nil
    	}
    
    	cert, err := x509.ParseCertificate(der)
    	if err != nil {
    		return nil, err
    	}
    
    	entry := &cacheEntry{cert: cert}
    	if entry, loaded := cc.LoadOrStore(string(der), entry); loaded {
    		return cc.active(entry.(*cacheEntry)), nil
    	}
    	return cc.active(entry), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:56:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. pkg/controller/endpointslice/endpointslice_controller_test.go

    	ns := metav1.NamespaceDefault
    
    	pod1 := newPod(1, ns, true, 0, false)
    	esController.podStore.Add(pod1)
    
    	// ensure this pod will not match the selector
    	pod2 := newPod(2, ns, true, 0, false)
    	pod2.Labels["foo"] = "boo"
    	esController.podStore.Add(pod2)
    
    	standardSyncService(t, esController, ns, "testing-1")
    	expectActions(t, client.Actions(), 1, "create", "endpointslices")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  6. src/sync/map.go

    // read and write operations are defined as follows.
    // [Map.Load], [Map.LoadAndDelete], [Map.LoadOrStore], [Map.Swap], [Map.CompareAndSwap],
    // and [Map.CompareAndDelete] are read operations;
    // [Map.Delete], [Map.LoadAndDelete], [Map.Store], and [Map.Swap] are write operations;
    // [Map.LoadOrStore] is a write operation when it returns loaded set to false;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/script/conds.go

    func (c *cachedCond) Eval(_ *State, suffix string) (bool, error) {
    	for {
    		var ready chan struct{}
    
    		v, loaded := c.m.Load(suffix)
    		if !loaded {
    			ready = make(chan struct{})
    			v, loaded = c.m.LoadOrStore(suffix, (<-chan struct{})(ready))
    
    			if !loaded {
    				inPanic := true
    				defer func() {
    					if inPanic {
    						c.m.Delete(suffix)
    					}
    					close(ready)
    				}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    // Similarly for stores, if we see a store after FPR <=> GPR move, then redirect store to use the other register set.
    (MOVVstore [off] {sym} ptr (MOVVfpgp val) mem) => (MOVDstore [off] {sym} ptr val mem)
    (MOVDstore [off] {sym} ptr (MOVVgpfp val) mem) => (MOVVstore [off] {sym} ptr val mem)
    (MOVWstore [off] {sym} ptr (MOVWfpgp val) mem) => (MOVFstore [off] {sym} ptr val mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Common with math Float64bits, Float64frombits
    (MOVDload [off] {sym} ptr (FMOVDstore [off] {sym} ptr x _)) => (MFVSRD x)
    (FMOVDload [off] {sym} ptr (MOVDstore [off] {sym} ptr x _)) => (MTVSRD x)
    
    (FMOVDstore [off] {sym} ptr (MTVSRD x) mem) => (MOVDstore [off] {sym} ptr x mem)
    (MOVDstore [off] {sym} ptr (MFVSRD x) mem) => (FMOVDstore [off] {sym} ptr x mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/gcimporter.go

    func lookupGorootExport(pkgDir string) (string, error) {
    	f, ok := exportMap.Load(pkgDir)
    	if !ok {
    		var (
    			listOnce   sync.Once
    			exportPath string
    			err        error
    		)
    		f, _ = exportMap.LoadOrStore(pkgDir, func() (string, error) {
    			listOnce.Do(func() {
    				cmd := exec.Command(filepath.Join(build.Default.GOROOT, "bin", "go"), "list", "-export", "-f", "{{.Export}}", pkgDir)
    				cmd.Dir = build.Default.GOROOT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top