- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for sizeclass (0.13 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
assertThat(desc.getRawClass(), is(sameClass(Set.class))); ParameterizedClassDesc[] args = desc.getArguments(); assertThat(args.length, is(1)); assertThat(args[0].getRawClass(), is(sameClass(Integer.class))); desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 1, map); assertThat(desc.getRawClass(), is(sameClass(Map.class))); args = desc.getArguments();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/CachingClassLoaderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
assertThat(parameterizedClassDesc.isParameterizedClass(), is(true)); assertThat(parameterizedClassDesc.getRawClass(), is(sameClass(Class.class))); final MyBean myBean = new MyBean(); aaa.setFieldValue(myBean, String.class); assertThat(aaa.getFieldValue(myBean), is(sameClass(String.class))); } /** * @throws Exception */ @Test(expected = FieldNotStaticRuntimeException.class)
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5K bytes - Viewed (0)