Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,588 for Storep (0.11 sec)

  1. test/escape_runtime_atomic.go

    func Loadp(addr unsafe.Pointer) unsafe.Pointer { // ERROR "leaking param: addr( to result ~r0 level=1)?$"
    	return atomic.Loadp(addr)
    }
    
    var ptr unsafe.Pointer
    
    func Storep() {
    	var x int // ERROR "moved to heap: x"
    	atomic.StorepNoWB(unsafe.Pointer(&ptr), unsafe.Pointer(&x))
    }
    
    func Casp1() {
    	// BAD: should always be "does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 874 bytes
    - Viewed (0)
  2. src/runtime/iface.go

    	// This is by far the most common case, so do it without locks.
    	// Use atomic to ensure we see any previous writes done by the thread
    	// that updates the itabTable field (with atomic.Storep in itabAdd).
    	t := (*itabTableType)(atomic.Loadp(unsafe.Pointer(&itabTable)))
    	if m = t.find(inter, typ); m != nil {
    		goto finish
    	}
    
    	// Not found.  Grab the lock and try again.
    	lock(&itabLock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactoryTest.groovy

            def store2 = stores1.nextBinaryStore() // rolled
            def store3 = f.createStoreSet().nextBinaryStore()
    
            then:
            store.file != store2.file //rolled
            [store.file, store2.file, store3.file].each { it.exists() }
    
            when:
            new CompositeStoppable().add(store, store2, store3)
    
            then:
            [store.file, store2.file, store3.file].each { !it.exists() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("store1", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "zero1"),
    			Valu("store2", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr2", "v", "store1"),
    			Valu("store3", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "store2"),
    			Valu("store4", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr3", "v", "store3"),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("store3")))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. pilot/pkg/config/aggregate/config_test.go

    func TestAggregateStoreWrite(t *testing.T) {
    	g := NewWithT(t)
    
    	store1 := memory.Make(collection.SchemasFor(collections.HTTPRoute))
    	store2 := memory.Make(collection.SchemasFor(collections.HTTPRoute))
    
    	stores := []model.ConfigStore{store1, store2}
    
    	store, err := makeStore(stores, store1)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	if _, err := store.Create(config.Config{
    		Meta: config.Meta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	DestroyFunc func()
    }
    
    // Note: the rest.StandardStorage interface aggregates the common REST verbs
    var _ rest.StandardStorage = &Store{}
    var _ rest.TableConvertor = &Store{}
    var _ GenericStore = &Store{}
    
    var _ rest.SingularNameProvider = &Store{}
    
    const (
    	OptimisticLockErrorMsg        = "the object has been modified; please apply your changes to the latest version and try again"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/CachedStoreFactoryTest.groovy

            def store2 = factory.createCachedStore("conf2")
    
            expect:
            store1.load(() -> results1) == results1
            store1.load(() -> { assert false }) == results1
            store1b.load(() -> { assert false }) == results1
            store2.load(() -> results2) == results2
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/store.go

    package serviceentry
    
    import (
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type hostPort struct {
    	host instancesKey
    	port int
    }
    
    // stores all the service instances from SE, WLE and pods
    type serviceInstancesStore struct {
    	ip2instance map[string][]*model.ServiceInstance
    	// service instances by hostname -> config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/stored.rules

    Anže Sodja <******@****.***> 1717576978 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    type store struct {
    	client              *clientv3.Client
    	codec               runtime.Codec
    	versioner           storage.Versioner
    	transformer         value.Transformer
    	pathPrefix          string
    	groupResource       schema.GroupResource
    	groupResourceString string
    	watcher             *watcher
    	leaseManager        *leaseManager
    }
    
    func (s *store) RequestWatchProgress(ctx context.Context) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top