Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for sizeclass (0.2 sec)

  1. src/runtime/mcentral.go

    	}
    }
    
    // grow allocates a new empty span from the heap and initializes it for c's size class.
    func (c *mcentral) grow() *mspan {
    	npages := uintptr(class_to_allocnpages[c.spanclass.sizeclass()])
    	size := uintptr(class_to_size[c.spanclass.sizeclass()])
    
    	s := mheap_.alloc(npages, c.spanclass)
    	if s == nil {
    		return nil
    	}
    
    	// Use division by multiplication and shifts to quickly compute:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/runtime/mfinal_test.go

    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			v := new(int)
    			runtime.SetFinalizer(v, fin)
    		}
    	})
    }
    
    // One chunk must be exactly one sizeclass in size.
    // It should be a sizeclass not used much by others, so we
    // have a greater chance of finding adjacent ones.
    // size class 19: 320 byte objects, 25 per page, 1 page alloc at a time
    const objsize = 320
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/runtime/mksizeclasses.go

    		// so wasted space is at most 12.5%.
    		allocsize := pageSize
    		for allocsize%size > allocsize/8 {
    			allocsize += pageSize
    		}
    		npages := allocsize / pageSize
    
    		// If the previous sizeclass chose the same
    		// allocation size and fit the same number of
    		// objects into the page, we might as well
    		// use just this size instead of having two
    		// different sizes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/test/SomeClass.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.compile.incremental.test;
    
    import java.util.*;
    
    public class SomeClass {
    
        List<Integer> field = new LinkedList<Integer>();
    
        private AccessedFromPrivateField accessedFromPrivateField;
    
        AccessedFromPackagePrivateField someField;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/api/src/integTest/java/org/gradle/SomeClass.java

    package org.gradle;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 47 bytes
    - Viewed (0)
  6. src/runtime/sizeclasses.go

    Michael Anthony Knyszek <******@****.***> 1716237096 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.TestUtil.sameClass;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Method;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            _ * linkRenderer.link({it.name == 'org.gradle.SomeClass'}, listener) >> parse('<someLinkElement/>')
        }
    
        def resolvesUnknownFullyQualifiedClassName() {
            when:
            def link = converter.resolve('org.gradle.SomeClass', classMetaData, listener)
    
            then:
            format(link) == '''<UNHANDLED-LINK>org.gradle.SomeClass</UNHANDLED-LINK>'''
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            when:
            def link = renderer.link(type('org.gradle.SomeClass'), listener)
    
            then:
            format(link) == '<apilink class="org.gradle.SomeClass"/>'
            _ * model.isKnownType('org.gradle.SomeClass') >> true
        }
    
        def rendersLinkToApiClassArray() {
            when:
            def link = renderer.link(type('org.gradle.SomeClass', true), listener)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  10. maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/repo/org/apache/maven/its/mng3906/e/0.1/e-0.1.jar

    Maven Built-By: BEBE Build-Jdk: 1.4.2_16 org/apache/maven/its/mng3906/SomeClass.class package org.apache.maven.its.mng3906; public synchronized class SomeClass { public void SomeClass(); } pom.xml 4.0.0 org.apache.maven.its.mng3906 e 0.1 jar maven-core-it file:///${basedir}/repo true true . pom.xml src/** src/main/resources src/main/java/org/apache/maven/its/mng3906/SomeClass.java src/main/java/org/apache/maven/its/mng3906/SomeClass.java package org.apache.maven.its.mng3906; public class SomeClass {...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri May 29 20:00:15 UTC 2009
    - 5K bytes
    - Viewed (0)
Back to top