Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for adjChunks (0.1 sec)

  1. src/runtime/mfinal_test.go

    // 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
    
    type objtype [objsize]byte
    
    func adjChunks() (*objtype, *objtype) {
    	var s []*objtype
    
    	for {
    		c := new(objtype)
    		for _, d := range s {
    			if uintptr(unsafe.Pointer(c))+unsafe.Sizeof(*c) == uintptr(unsafe.Pointer(d)) {
    				return c, d
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

        }
    
        public static StreamByteBuffer of(List<byte[]> listOfByteArrays) {
            StreamByteBuffer buffer = new StreamByteBuffer();
            buffer.addChunks(listOfByteArrays);
            return buffer;
        }
    
        private void addChunks(List<byte[]> listOfByteArrays) {
            for (byte[] buf : listOfByteArrays) {
                addChunk(new StreamByteBufferChunk(buf));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top