Skip to content

Instantly share code, notes, and snippets.

View blackeangel's full-sized avatar

Павел Шляпин blackeangel

View GitHub Profile
import os
import sys
import struct
EXT4_HEADER_MAGIC = 0xED26FF3A
EXT4_CHUNK_HEADER_SIZE = 12
EXT4_CHUNK_HEADER_SIZE_PANIC = 16
class ext4_file_header(object):
def __init__(self, buf):
public static String[][] DelEmptyRowTwoDArray(String[][] mass) {
int k = 0;
int m;
for (int i = 0; i < mass.length; i++) {
m = 0;
for (int j = 0; j < mass[0].length; j++) {
if (mass[i][j] == null) {
m = m + 1;
}
}