Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trimBitmap (0.11 sec)

  1. src/reflect/all_test.go

    				t.Errorf("funcLayout(%v, %v) pointers flag=%v, want %v", lt.typ, lt.rcvr, ptrs, !ptrs)
    			}
    		})
    	}
    }
    
    // trimBitmap removes trailing 0 elements from b and returns the result.
    func trimBitmap(b []byte) []byte {
    	for len(b) > 0 && b[len(b)-1] == 0 {
    		b = b[:len(b)-1]
    	}
    	return b
    }
    
    func verifyGCBits(t *testing.T, typ Type, bits []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top