Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getMCache (0.29 sec)

  1. src/runtime/mcache.go

    		mheap_.cachealloc.free(unsafe.Pointer(c))
    		unlock(&mheap_.lock)
    	})
    }
    
    // getMCache is a convenience function which tries to obtain an mcache.
    //
    // Returns nil if we're not bootstrapping or we don't have a P. The caller's
    // P must not change, so we must be in a non-preemptible state.
    func getMCache(mp *m) *mcache {
    	// Grab the mcache, since that's where stats live.
    	pp := mp.p.ptr()
    	var c *mcache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/inl_test.go

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/runtime/arena.go

    	}
    	// Set up heap bitmap and do extra accounting.
    	if typ.Pointers() {
    		if cap >= 0 {
    			userArenaHeapBitsSetSliceType(typ, cap, ptr, s)
    		} else {
    			userArenaHeapBitsSetType(typ, ptr, s)
    		}
    		c := getMCache(mp)
    		if c == nil {
    			throw("mallocgc called without a P or outside bootstrapping")
    		}
    		if cap > 0 {
    			c.scanAlloc += size - (typ.Size_ - typ.PtrBytes)
    		} else {
    			c.scanAlloc += typ.PtrBytes
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java

                        indexedCache.afterLockAcquire(stateAtOpen);
                    }
                } else {
                    entry.assertCompatibleCacheParameters(parameters);
                }
                return entry.getCache();
            } finally {
                stateLock.unlock();
            }
        }
    
        private <K, V> File findCacheFile(IndexedCacheParameters<K, V> parameters) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            request.userProperties(session.getUserProperties());
            request.modelCache(DefaultModelCache.newInstance(session, false));
            if (session.getCache() != null) {
                Map<?, ?> map = (Map) session.getCache().get(session, DefaultModelCache.class.getName());
                List<String> paths = map.keySet().stream()
                        .map(Object::toString)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java

            PluginVersionResult result = resolveFromProject(request);
    
            if (result == null) {
                ConcurrentMap<Key, PluginVersionResult> cache = getCache(request);
                Key key = getKey(request);
                result = cache.get(key);
    
                if (result == null) {
                    result = resolveFromRepository(request);
    
                    logger.debug(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 09 20:17:59 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    	// Watch for changes to primary resource IstioOperator
    	err = c.Watch(source.Kind(
    		mgr.GetCache(),
    		&iopv1alpha1.IstioOperator{},
    		&handler.TypedEnqueueRequestForObject[*iopv1alpha1.IstioOperator]{},
    		operatorPredicates,
    	))
    	if err != nil {
    		return err
    	}
    	// watch for changes to Istio resources
    	err = watchIstioResources(mgr.GetCache(), c)
    	if err != nil {
    		return err
    	}
    	scope.Info("Controller added")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

        def key = new TestBuildCacheKey(0x01234567abcdef)
        private config = TestUtil.newInstance(HttpBuildCache.class)
    
        HttpBuildCacheService cacheRef
    
        HttpBuildCacheService getCache() {
            if (cacheRef == null) {
                buildCacheDescriber = new NoopBuildCacheDescriber()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            String version = artifact.getVersion();
    
            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

            String version = artifact.getVersion();
    
            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top