Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for loadstore (0.24 sec)

  1. test/codegen/memcombine.go

    	d2[1], d2[0] = 0, 0 // arm64:"STP",-"MOVB",-"MOVH"
    }
    
    func loadstore(p, q *[4]uint8) {
    	// amd64:"MOVL",-"MOVB"
    	// arm64:"MOVWU",-"MOVBU"
    	x0, x1, x2, x3 := q[0], q[1], q[2], q[3]
    	// amd64:"MOVL",-"MOVB"
    	// arm64:"MOVW",-"MOVB"
    	p[0], p[1], p[2], p[3] = x0, x1, x2, x3
    }
    
    type S1 struct {
    	a, b int16
    }
    
    func loadstore2(p, q *S1) {
    	// amd64:"MOVL",-"MOVWLZX"
    	// arm64:"MOVWU",-"MOVH"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/deadstore.go

    Derek Parker <******@****.***> 1713910503 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageExternalResourceFileStoreTest.groovy

    class TwoStageExternalResourceFileStoreTest extends Specification {
        def readStore = Mock(ExternalResourceFileStore)
        def writeStore = Mock(ExternalResourceFileStore)
    
        String key = "key"
        def file = Stub(File)
        def action = Stub(Action)
    
        @Subject
        TwoStageExternalResourceFileStore twoStageStore = new TwoStageExternalResourceFileStore(readStore, writeStore)
    
        def "storing an artifact uses the writable store"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/filestore/TwoStageArtifactIdentifierFileStoreTest.groovy

    class TwoStageArtifactIdentifierFileStoreTest extends Specification {
        def readStore = Mock(ArtifactIdentifierFileStore)
        def writeStore = Mock(ArtifactIdentifierFileStore)
        def key = Stub(ModuleComponentArtifactIdentifier)
        def file = Stub(File)
        def action = Stub(Action)
    
        @Subject
        def twoStageStore = new TwoStageArtifactIdentifierFileStore(readStore, writeStore)
    
        def "storing an artifact uses the writable store"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/sync/map_bench_test.go

    			for ; pb.Next(); i++ {
    				m.LoadOrStore(i, i)
    			}
    		},
    	})
    }
    
    func BenchmarkLoadOrStoreCollision(b *testing.B) {
    	benchMap(b, bench{
    		setup: func(_ *testing.B, m mapInterface) {
    			m.LoadOrStore(0, 0)
    		},
    
    		perG: func(b *testing.B, pb *testing.PB, i int, m mapInterface) {
    			for ; pb.Next(); i++ {
    				m.LoadOrStore(0, 0)
    			}
    		},
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. pkg/controller/daemon/update_test.go

    	markPodsReady(podControl.podStore)
    
    	clearExpectations(t, manager, ds, podControl)
    	expectSyncDaemonSets(t, manager, ds, podControl, 0, maxUnavailable, 0)
    	clearExpectations(t, manager, ds, podControl)
    	expectSyncDaemonSets(t, manager, ds, podControl, maxUnavailable, 0, 0)
    	markPodsReady(podControl.podStore)
    
    	clearExpectations(t, manager, ds, podControl)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Zero [16] {t} ptr mem) && t.Alignment()%8 == 0 =>
    	(MOVDstore [8] ptr (MOVDconst [0])
    		(MOVDstore ptr (MOVDconst [0]) mem))
    (Zero [24] {t} ptr mem) && t.Alignment()%8 == 0 =>
    	(MOVDstore [16] ptr (MOVDconst [0])
    		(MOVDstore [8] ptr (MOVDconst [0])
    			(MOVDstore ptr (MOVDconst [0]) mem)))
    (Zero [32] {t} ptr mem) && t.Alignment()%8 == 0 =>
    	(MOVDstore [24] ptr (MOVDconst [0])
    		(MOVDstore [16] ptr (MOVDconst [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. src/internal/concurrent/hashtriemap_test.go

    		for _, s := range testData {
    			expectMissing(t, s, 0)(m.Load(s))
    		}
    	})
    	t.Run("LoadOrStore", func(t *testing.T) {
    		m := newMap()
    
    		for i, s := range testData {
    			expectMissing(t, s, 0)(m.Load(s))
    			expectStored(t, s, i)(m.LoadOrStore(s, i))
    			expectPresent(t, s, i)(m.Load(s))
    			expectLoaded(t, s, i)(m.LoadOrStore(s, 0))
    		}
    		for i, s := range testData {
    			expectPresent(t, s, i)(m.Load(s))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. pkg/controller/disruption/disruption_test.go

    	pod1, _ := newPod(t, "p1")
    	pod1.DeletionTimestamp = &metav1.Time{Time: dc.clock.Now()}
    	pod2, _ := newPod(t, "p2")
    	pod3, _ := newPod(t, "p3")
    
    	add(t, dc.podStore, pod1)
    	add(t, dc.podStore, pod2)
    	add(t, dc.podStore, pod3)
    
    	dc.sync(ctx, pdbName)
    
    	ps.VerifyPdbStatus(t, pdbName, 0, 1, 1, 3, map[string]metav1.Time{"p3": {Time: currentTime.Add(-time.Minute)}})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  10. src/expvar/expvar.go

    }
    
    func (v *Map) Set(key string, av Var) {
    	// Before we store the value, check to see whether the key is new. Try a Load
    	// before LoadOrStore: LoadOrStore causes the key interface to escape even on
    	// the Load path.
    	if _, ok := v.m.Load(key); !ok {
    		if _, dup := v.m.LoadOrStore(key, av); !dup {
    			v.addKey(key)
    			return
    		}
    	}
    
    	v.m.Store(key, av)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top