Skip to content

Instantly share code, notes, and snippets.

@takaaki7
takaaki7 / benchmark.c
Last active April 3, 2025 04:19
uniqueue_count_algorithm_benchmark
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#define MAX_ID 100000
#define DATA_SIZE 10000000
#define STRLEN 32
@takaaki7
takaaki7 / j
Created August 22, 2023 06:55
sample
k
package com.nakama.checkfragmentstatebug;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
gist study