Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for onReuse (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java

        }
    
        @Override
        public boolean defines(Class<?> clazz) {
            return localClassLoader.equals(clazz.getClassLoader());
        }
    
        @Override
        public void onReuse() {
            parent.onReuse();
            listener.childScopeCreated(parent.getId(), id, origin);
            listener.classloaderCreated(id, id.localId(), localClassLoader, classPath, classpathImplementationHash);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/initialization/RootClassLoaderScope.java

        }
    
        @Override
        public ClassLoaderScope lock() {
            return this;
        }
    
        @Override
        public boolean isLocked() {
            return true;
        }
    
        @Override
        public void onReuse() {
            // Nothing to do
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java

            locked = true;
            return this;
        }
    
        @Override
        public boolean isLocked() {
            return locked;
        }
    
        @Override
        public void onReuse() {
            parent.onReuse();
            listener.childScopeCreated(parent.getId(), id, origin);
            if (!export.isEmpty()) {
                listener.classloaderCreated(this.id, id.exportId(), effectiveExportClassLoader, export, null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                    }
                    return loadedClass!!
                }
    
            @Synchronized
            override fun onReuse() {
                scope?.let {
                    // Recreate the script scope and ClassLoader, so that things that use scopes are notified that the scope exists
                    it.onReuse()
                    require(loadedClass!!.classLoader == it.localClassLoader)
                }
            }
    
            private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderScope.java

         * been discarded to reduce memory pressure.
         */
        void onReuse();
    
        ClassLoaderScope getOriginalScope();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            public M getData() {
                return metadata;
            }
    
            @Override
            public void onReuse() {
                if (scriptClass != null) {
                    // Recreate the script scope and ClassLoader, so that things that use scopes are notified that the scope exists
                    scope.onReuse();
                    assert scriptClass.getClassLoader() == scope.getLocalClassLoader();
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java

                return false;
            }
    
            @Override
            public boolean getHasMethods() {
                return false;
            }
    
            @Override
            public void onReuse() {
                // Ignore
            }
    
            @Override
            public Class<? extends T> loadClass() {
                throw new UnsupportedOperationException("Cannot load a script that does nothing.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:23:24 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/stackalloc.go

    	names     []LocalSlot
    
    	nArgSlot, // Number of Values sourced to arg slot
    	nNotNeed, // Number of Values not needing a stack slot
    	nNamedSlot, // Number of Values using a named stack slot
    	nReuse, // Number of values reusing a stack slot
    	nAuto, // Number of autos allocated for stack slots.
    	nSelfInterfere int32 // Number of self-interferences
    }
    
    func newStackAllocState(f *Func) *stackAllocState {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top