code
string
repo_name
string
path
string
language
string
license
string
size
int64
TARGET = mcpat SHELL = /bin/sh .PHONY: all depend clean .SUFFIXES: .cc .o ifndef NTHREADS NTHREADS = 4 endif LIBS = INCS = -lm ifeq ($(TAG),dbg) DBG = -Wall OPT = -ggdb -g -O0 -DNTHREADS=1 -Icacti else DBG = OPT = -O3 -msse2 -mfpmath=sse -DNTHREADS=$(NTHREADS) -Icacti #OPT = -O0 -DNTHREADS=$(NTHREADS...
zu007kr-mcpat
mcpat.mk
Makefile
gpl3
1,362
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
noc.cc
C++
gpl3
20,622
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
processor.h
C++
gpl3
3,212
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
basic_components.cc
C++
gpl3
4,545
/** **************************************************************************** * <P> XML.c - implementation file for basic XML parser written in ANSI C++ * for portability. It works by using recursion and a node tree for breaking * down the elements of an XML document. </P> * * @version V2.41 * @author ...
zu007kr-mcpat
xmlParser.cc
C++
gpl3
109,669
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
arch_const.h
C
gpl3
7,608
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
core.h
C++
gpl3
8,196
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
core.cc
C++
gpl3
223,156
TAR = mcpat .PHONY: dbg opt depend clean clean_dbg clean_opt all: opt dbg: $(TAR).mk obj_dbg @$(MAKE) TAG=dbg -C . -f $(TAR).mk opt: $(TAR).mk obj_opt @$(MAKE) TAG=opt -C . -f $(TAR).mk obj_dbg: mkdir $@ obj_opt: mkdir $@ clean: clean_dbg clean_opt clean_dbg: obj_dbg @$(MAKE) TAG=dbg -C . -f $(TAR).mk clea...
zu007kr-mcpat
makefile
Makefile
gpl3
407
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
memoryctrl.cc
C++
gpl3
39,523
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
globalvar.h
C
gpl3
2,025
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
sharedcache.cc
C++
gpl3
64,110
/****************************************************************************/ /*! \mainpage XMLParser library * \section intro_sec Introduction * * This is a basic XML parser written in ANSI C++ for portability. * It works by using recursion and a node tree for breaking * down the elements of an XML document. * ...
zu007kr-mcpat
xmlParser.h
C++
gpl3
45,022
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
array.cc
C++
gpl3
14,179
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and ...
zu007kr-mcpat
XML_Parse.h
C++
gpl3
15,917
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
array.h
C++
gpl3
3,551
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and ...
zu007kr-mcpat
XML_Parse.cc
C++
gpl3
126,443
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
processor.cc
C++
gpl3
39,030
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
main.cc
C++
gpl3
3,379
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
interconnect.cc
C++
gpl3
7,283
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
zu007kr-mcpat
sharedcache.h
C++
gpl3
3,526
package com.zxf.douban.util; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; public class ImageLoadTask extends AsyncTask<String, Void, Bitmap> { private ImageLoadCall...
zxfandroid
trunk/douban/src/com/zxf/douban/util/ImageLoadTask.java
Java
epl
1,204
package com.zxf.douban.bean; public class Book { private String imagePath; private String title; private String auth; private String date; private String publisher; private String isbn; private String price; private float rating; public String getImagePath() { return imagePath; } public void...
zxfandroid
trunk/douban/src/com/zxf/douban/bean/Book.java
Java
epl
1,215
/* //device/java/android/android/content/Intent.aidl ** ** Copyright 2007, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apa...
zxfandroid
trunk/mobileSafe/src/android/telephony/NeighboringCellInfo.aidl
AIDL
epl
747
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
zxfandroid
trunk/mobileSafe/src/com/android/internal/telephony/ITelephony.aidl
AIDL
epl
7,199
package com.zxf.android.mobilesafe.activity; import com.zxf.android.mobilesafe.R; import com.zxf.android.mobilesafe.service.WatchDogService; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPrefe...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/activity/SettingActivity.java
Java
epl
2,331
package com.zxf.android.mobilesafe.db.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Environment; public class DBClearDao { public String[] find(String packName) { String[] fileInfos = null; SQLiteDatabase db = SQLiteDatabase.openDatabase(Environ...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/db/dao/DBClearDao.java
Java
epl
718
package com.zxf.android.mobilesafe.db.dao; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class LockAppDBHelper extends SQLiteOpenHelper { public LockAppDBHelper(Context context) { super(context, "lockapp.db", null, 1...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/db/dao/LockAppDBHelper.java
Java
epl
596
package com.zxf.android.mobilesafe.service; public interface IWatchDogService { public void cellTempUnlockApp(String packageName); }
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/service/IWatchDogService.java
Java
epl
140
package com.zxf.android.mobilesafe.adapter; import java.util.List; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ListAdapter; import android.widget.TextView; import com.zxf.android.mobilesafe.R; import com...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/adapter/MyListAdapter.java
Java
epl
1,567
package com.zxf.android.mobilesafe.adapter; import java.util.List; import com.zxf.android.mobilesafe.R; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.graphics.drawable.Drawable; import android.view.View; import android.view....
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/adapter/MyAppAdapter.java
Java
epl
2,155
package com.zxf.android.mobilesafe.receiver; import android.app.admin.DeviceAdminReceiver; public class MyAdminReceiver extends DeviceAdminReceiver { }
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/receiver/MyAdminReceiver.java
Java
epl
162
package com.zxf.android.mobilesafe.receiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.telephony.SmsManager; import android.telephony.TelephonyManager; public class RebootReceiver extends B...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/receiver/RebootReceiver.java
Java
epl
1,102
package com.zxf.android.mobilesafe.receiver; import com.zxf.android.mobilesafe.service.TaskWidgetService; import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetProvider; import android.content.Context; import android.content.Intent; public class TaskWidgetProvider extends AppWidgetPro...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/receiver/TaskWidgetProvider.java
Java
epl
699
package com.zxf.android.mobilesafe.bean; public class ContactInfo { private String userName; private String userNum; public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getUserNum() { return userNum; } pub...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/bean/ContactInfo.java
Java
epl
396
package com.zxf.android.mobilesafe.bean; import android.graphics.drawable.Drawable; public class TaskInfo { private Drawable taskIcon; private String taskname; private String packName; private long PackSize; private boolean isChecked; private int pid; private boolean isUserTask; pub...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/bean/TaskInfo.java
Java
epl
1,502
package com.zxf.android.mobilesafe.bean; import android.graphics.drawable.Drawable; public class ClearPackInfo { Drawable packInfoIcon; String packInfoName; int packInfoSize; public Drawable getPackInfoIcon() { return packInfoIcon; } public void setPackInfoIcon(Drawable packInfoIcon) { th...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/bean/ClearPackInfo.java
Java
epl
676
package com.zxf.android.mobilesafe.bean; public class SmsInfo { private String address; private String date; private String body; private String type; public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getDate() {...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/bean/SmsInfo.java
Java
epl
635
package com.zxf.android.mobilesafe.bean; import android.graphics.drawable.Drawable; public class TrafficInfo { private Drawable trafficIcon; private String trafficName; private String packageName; private int uid; public Drawable getTrafficIcon() { return trafficIcon; } public void setTrafficIcon...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/bean/TrafficInfo.java
Java
epl
796
package com.zxf.android.mobilesafe.engine; import java.io.InputStream; import org.xmlpull.v1.XmlPullParser; import android.util.Xml; import com.zxf.android.mobilesafe.bean.UpdateInof; public class UpdateInfoParser { private static UpdateInof info = new UpdateInof(); public static UpdateInof getUpda...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/engine/UpdateInfoParser.java
Java
epl
1,014
package com.zxf.android.mobilesafe.engine; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; public class DBCopyService { public static void dbFileCopy(InputStream is, File dbFile) throws Exception { int len = 0; byte[] buffer = new byte[1024]; FileOutputStream fos =...
zxfandroid
trunk/mobileSafe/src/com/zxf/android/mobilesafe/engine/DBCopyService.java
Java
epl
489
@echo off @rem CAB Build script echo # CAB Build script v1.0 rem Test if environment is set if NOT DEFINED PH_ROOT ( echo ! Paths are not configured, please use 'cscript setenv.js' before proceeding! echo # Done exit ) rem Test options set LANGUAGE=Russian set LNG=%LANGUAGE:~0,3% set VER=1.03 set ...
zybex1986-learn
pheroes/make-cab.cmd
Batchfile
asf20
4,041
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/treasury_cnst.cpp
C++
asf20
1,538
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_creatures.cpp
C++
asf20
10,595
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_constructions.h
C
asf20
2,787
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/serialize.h
C
asf20
6,571
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_events.h
C++
asf20
2,262
#include <stdafx.h> #include "cnst_text.h" LPCWSTR LANG_DATA[1603] = { L"", L"+", L"-", L"Ok", L"Cancel", L"Yes", L"No", L"Reset", L"n/a", L"Close", L"Help", L"Cast", L"Info", L"Map size", L"Map version", L"Author", L"Dismiss", L"Build", L"Recruit", L"Requires:", L"Cost:",...
zybex1986-learn
pheroes/Common/lang_eng.cpp
C++
asf20
65,248
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/SpanMap.cpp
C++
asf20
1,940
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/objdef.h
C
asf20
897
// // 2007-01-09 : SiGMan - ARM profiling, few local speedups #ifndef XBS_BS_IMPL_H__ #define XBS_BS_IMPL_H__ #include "xbs.bswap.h" #include "xbs.bs.h" // /// put bits //////////////////////////////////////////// static always_inline void init_put_bits(put_bits_t *s, uint8 *buffer, size_t bufferSize)...
zybex1986-learn
pheroes/Common/xau/xbs.bs.impl.h
C
asf20
5,015
// // Polyphase filter #ifndef XAU_PPF_H__ #define XAU_PPF_H__ #include "xau.cfg.h" #define XAU_FILTER_MAX_ORDER 16 struct ppfilter_t { sint32 shift; sint32 round; sint32 error; sint32 mode; sint32 qm[XAU_FILTER_MAX_ORDER]; sint32 dx[XAU_FILTER_MAX_ORDER]; sint32 dl[XAU_FILTER_MAX_ORDER];...
zybex1986-learn
pheroes/Common/xau/xau.ppf.h
C
asf20
352
#include <stdio.h> #include <stdlib.h> #include "xjp.boot.h" #include "xjp.codec.h" #include <time.h> void* pic; void* buf; void* pid; #define QFACTOR 0x66 int main( int argc, char* argv[] ) { if ( argc < 3 ) { printf("test rgb-raw-name raw-width raw-height\n"); return -1; } FILE* f = ...
zybex1986-learn
pheroes/Common/xau/cpnm_tst.cpp
C++
asf20
1,560
// // Main configuration file #ifndef XAU_CFG_H__ #define XAU_CFG_H__ #include "xbs.cfg.h" #endif //XAU_CFG_H__
zybex1986-learn
pheroes/Common/xau/xau.cfg.h
C
asf20
124
// jpeg alike compression with opt for speed and 5.6.5 color // 2007-12-10 : SiGMan - lets do it #ifndef XJP_CODEC_H__ #define XJP_CODEC_H__ #include "xbs.cfg.h" #include "xbs.bs.h" #include "xjp.huff.h" #include "xjp.dct.h" namespace xjp { static const uint32 PIX_RGB16 = 2; static const uint32 PIX_RG...
zybex1986-learn
pheroes/Common/xau/xjp.codec.h
C++
asf20
1,382
// // picture jpeg - alike macroblock coding // #ifndef XJP_BLOCK_H__ #define XJP_BLOCK_H__ #include "xbs.cfg.h" #include "xjp.huff.h" #include "xjp.dct.h" namespace xjp { extern const uint8 ZAG[64]; void encode_block( const dpel_t* pels, dpel_t& last_dc, const huff_etab_t& dcoder, const huff_etab_...
zybex1986-learn
pheroes/Common/xau/xjp.block.h
C++
asf20
1,022
// // 2006-01-09 : SiGMan - Loops unrolled using array indexing, cleaned up #ifndef XAU_PPF_IMPL_H__ #define XAU_PPF_IMPL_H__ #include "xau.ppf.h" #define CATCAT(x,y) x ## y #define CONCAT(x,y) CATCAT(x,y) #define MSSEQ_1(m) m #define MSSEQ_2(m) MSSEQ_1(m); m #define MSSEQ_3(m) MSSEQ_2(m); m #defin...
zybex1986-learn
pheroes/Common/xau/xau.ppf.impl.h
C
asf20
4,352
// // 2007-01-09 : SiGMan - Replacing byteswap with the more optimal // 2007-01-09 : SiGMan - Profiling the unaligned read code for ARM #ifndef XBS_BSWAP_H__ #define XBS_BSWAP_H__ #include "xbs.cfg.h" static always_inline uint16 bswap_16( uint16 x ) { return (x>>8) | (x<<8); } static always_inli...
zybex1986-learn
pheroes/Common/xau/xbs.bswap.h
C
asf20
2,293
// // basic dct / idct transfroms // credits goes to Pascal Massimino // based on "Fast and precise" LLM implementation of FDCT/IDCT paper // 2007-12-07 : SiGMan - initial revision #ifndef XJP_DCT_H__ #define XJP_DCT_H__ #include "xbs.cfg.h" namespace xjp { typedef sint16 dpel_t; // inplace fdct tra...
zybex1986-learn
pheroes/Common/xau/xjp.dct.h
C++
asf20
462
// // Highspeed lossless audio codec v.1 // Based on TTA (True Audio) Copyright 1999-2006 Aleksander Djuric // 2007-01-09 : SiGMan - functionality separation on low level & middleware #ifndef XAU_AUDIO_H__ #define XAU_AUDIO_H__ #include "xau.cfg.h" #include "xbs.bs.h" #include "xau.rice.h" #include "xau....
zybex1986-learn
pheroes/Common/xau/xau.audio.h
C
asf20
862
// // 2007-12-10 : SiGMan - simplified quantizer interface #ifndef XJP_QUANT_H__ #define XJP_QUANT_H__ #include "xbs.cfg.h" namespace xjp { // prepare quantizer table void quant_init( sint16 quant[64], uint32 tabn, sint32 param, const uint8* order ); // forward quantization step static always_inline ...
zybex1986-learn
pheroes/Common/xau/xjp.quant.h
C++
asf20
878
// // #include "stdafx.h" //#include <stdio.h> //#include "xjp.boot.h" #include "xbs.bs.h" #include "xbs.bs.impl.h" #include "xbs.math.h" #include "xjp.huff.h" #include "xjp.huff.impl.h" #include "xjp.dct.h" #include "xjp.quant.h" #include "xjp.block.h" namespace xjp { const uint8 ZAG[64] = {...
zybex1986-learn
pheroes/Common/xau/xjp.block.cpp
C++
asf20
12,439
// // dct internals #include "stdafx.h" //#include "xjp.boot.h" #include "xjp.dct.h" namespace xjp { ////////////////////////////////////////////////////////// // - Data flow schematics for FDCT - // Output is scaled by 2.sqrt(2) // Initial butterflies (in0/in7, etc.) are not fully depicted. // Note...
zybex1986-learn
pheroes/Common/xau/xjp.dct.cpp
C++
asf20
11,297
// // 2007.01.09 : SiGMan - first library version #include "stdafx.h" #include "xau.cfg.h" #include "xau.audio.h" // inline implementations #include "xbs.bs.impl.h" #include "xau.rice.impl.h" #include "xau.ppf.impl.h" #define ORDER 8 #define PREDICTOR1(x, k) ((sint32)((((uint64)x << k) - x) >> k)) //...
zybex1986-learn
pheroes/Common/xau/xau.audio.cpp
C++
asf20
2,041
// // 2007.01.08 : SiGMan - unary prefixes inverted, e.g. 000001 for 5 // 2007.01.09 : SiGMan - additional bit optimization and bit hunting // 2007.01.10 : SiGMan - fixed problem in unary-code reader related for large codes // 2007.12.20 : SiGMan - bs refactored to separate source #ifndef XAU_RICE_IMPL_H__ #defin...
zybex1986-learn
pheroes/Common/xau/xau.rice.impl.h
C
asf20
4,580
#ifndef BOBOGOFJOSDFADADNDSDNKNDQW2323 #define BOBOGOFJOSDFADADNDSDNKNDQW2323 typedef unsigned int uint32; typedef signed int sint32; typedef unsigned short uint16; typedef signed short sint16; typedef unsigned char uint8; typedef signed char sint8; #include <assert.h> #include <string.h> #ifnde...
zybex1986-learn
pheroes/Common/xau/xjp.boot.h
C
asf20
743
// // bitstream interface (only objects to lower coupling pressure) #ifndef XBS_BS_H__ #define XBS_BS_H__ #include "xbs.cfg.h" #ifdef XBS_CPU_LE //# define XBS_READER_LE #endif struct put_bits_t { uint8 *buf; uint8 *end; uint32 index; }; struct get_bits_t { const uint8 *buf; ...
zybex1986-learn
pheroes/Common/xau/xbs.bs.h
C
asf20
407
// // #include "stdafx.h" //#include "xjp.boot.h" #include "xjp.quant.h" namespace xjp { // mpeg_quant_intra static sint16 quant_boot[64] = { 8, 17, 18, 19, 21, 23, 25, 27, 17, 18, 19, 21, 23, 25, 27, 28, 20, 21, 22, 23, 24, 26, 28, 30, 21, 22, 23, 24, 26, 28, 30, 32, 22, 23, 24, 26, 28, 30, 3...
zybex1986-learn
pheroes/Common/xau/xjp.quant.cpp
C++
asf20
2,457
// // huffman coder mechanics // 2007-12-05 : SiGMan - initial revision #ifndef XJP_HUFF_IMPL_H__ #define XJP_HUFF_IMPL_H__ #include "xbs.cfg.h" #include "xbs.bs.impl.h" #include "xjp.huff.h" namespace xjp { // encode single huffman symbol into bitstream static always_inline void put_huffman( put_bit...
zybex1986-learn
pheroes/Common/xau/xjp.huff.impl.h
C++
asf20
1,316
// // Two 'K' skewed rice coder. // Has decent performance on distributions close to laplacian // 2007.12.20 : SiGMan - bs refactored to separate source // #ifndef XAU_RICE_H__ #define XAU_RICE_H__ #include "xau.cfg.h" #include "xbs.bs.h" struct rice_param_t { uint32 k; uint32 sum; }; typedef r...
zybex1986-learn
pheroes/Common/xau/xau.rice.h
C
asf20
375
// // #include "stdafx.h" #include <stdio.h> //#include "xjp.boot.h" #include "xbs.bs.h" #include "xbs.bs.impl.h" #include "xbs.math.h" #include "xjp.huff.h" #include "xjp.huff.impl.h" #include "xjp.dct.h" #include "xjp.quant.h" #include "xjp.block.h" #include "xjp.codec.h" #include "xjp.swi...
zybex1986-learn
pheroes/Common/xau/xjp.codec.cpp
C++
asf20
11,838
// // huffman coder internals // http://www.compressconsult.com/huffman/ #include "stdafx.h" //#include "xjp.boot.h" #include "xbs.bs.h" #include "xbs.bs.impl.h" #include "xjp.huff.h" #include "xjp.huff.impl.h" //#include <stdio.h> char* tobin( uint32 val, uint32 len ); namespace xjp { void in...
zybex1986-learn
pheroes/Common/xau/xjp.huff.cpp
C++
asf20
9,728
// // 2007.01.06 : SiGMan - initial version // 2007.01.08 : SiGMan - signed int packing/unpacking revised // 2007.01.09 : SiGMan - tweaked for optimal ARM asm // 2007.12.20 : SiGMan - refactored as part of XBS #ifndef XBS_MATH_H__ #define XBS_MATH_H__ #include "xbs.cfg.h" // Since small CPUs have tiny ca...
zybex1986-learn
pheroes/Common/xau/xbs.math.h
C
asf20
4,154
#ifndef MIPS #include <cstdlib> #include <cstdio> #include <cassert> #include <cstring> #include <time.h> #endif // MIPS typedef char sint8; typedef unsigned char uint8; typedef short sint16; typedef unsigned short uint16; typedef int sint32; typedef unsigned int uint32; typedef unsigned __int64 uint64; ...
zybex1986-learn
pheroes/Common/xau/cpcm_tst.cpp
C++
asf20
3,958
// // Swizzle - unswizzle functions // to copy from/to image to DCT buffer block #ifndef XJP_SWIZZLE_H__ #define XJP_SWIZZLE_H__ // no includes since its intended to be included in proper place namespace xjp { /* static uint8 clamp_data[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
zybex1986-learn
pheroes/Common/xau/xjp.swizzle.h
C++
asf20
10,060
// // Main configuration file #ifndef XBS_CFG_H__ #define XBS_CFG_H__ // following configs are suggested for different architectures // ----------------------------- // INTEL-PC // LOOKUPS - fast! // UNALIGNED READS - possible // // ARM / MIPS / SH // LOOKUPS - disabled (shifts are free) // UNALIGN...
zybex1986-learn
pheroes/Common/xau/xbs.cfg.h
C
asf20
832
// // jpeg-alike huffman coder interface (O(2) lookup decoder) // 2007-12-05 : SiGMan - initial revision #ifndef XJP_HUFF_H__ #define XJP_HUFF_H__ #include "xbs.cfg.h" namespace xjp { const size_t huff_maxlookahead = 8; const size_t huff_maxcodelen = 16; const size_t huff_maxinitclen = 32; const uin...
zybex1986-learn
pheroes/Common/xau/xjp.huff.h
C++
asf20
1,030
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_magic.cpp
C++
asf20
20,873
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_creatures.h
C
asf20
5,470
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/SpanMap.h
C++
asf20
1,646
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_castles.cpp
C++
asf20
20,635
/* lzodefs.h -- architecture, OS and compiler specific defines This file is part of the LZO real-time data compression library. Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer Copy...
zybex1986-learn
pheroes/Common/lzo/lzodefs.h
C
asf20
56,590
/* minilzo.h -- mini subset of the LZO real-time data compression library This file is part of the LZO real-time data compression library. Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2003 Markus Franz Xaver Johannes Oberhu...
zybex1986-learn
pheroes/Common/lzo/minilzo.h
C
asf20
3,314
/* minilzo.c -- mini subset of the LZO real-time data compression library This file is part of the LZO real-time data compression library. Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2003 Markus Franz Xaver Johannes Oberhu...
zybex1986-learn
pheroes/Common/lzo/minilzo.c
C
asf20
115,185
/* lzoconf.h -- configuration for the LZO real-time data compression library This file is part of the LZO real-time data compression library. Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2003 Markus Franz Xaver Johannes Obe...
zybex1986-learn
pheroes/Common/lzo/lzoconf.h
C
asf20
13,882
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/rtti.h
C++
asf20
1,818
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/treasury_cnst.h
C++
asf20
1,565
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/lzo.cpp
C++
asf20
2,637
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/SortArray.h
C++
asf20
3,329
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/ScopePtr.h
C++
asf20
5,902
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/Army.cpp
C++
asf20
5,362
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/common.cpp
C++
asf20
10,623
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_magic.h
C
asf20
7,066
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/Army.h
C++
asf20
3,497
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/lzo.h
C++
asf20
1,099
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_events.cpp
C++
asf20
1,362
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_constructions.cpp
C++
asf20
806
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/isometric.h
C++
asf20
2,550
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
pheroes/Common/cm_castles.h
C
asf20
5,447
cl /Ox /MD textparser.cpp /I"..\..\..\..\iolib" ..\..\..\..\iolib\libs\he.wrel.lib gdi32.lib user32.lib
zybex1986-learn
pheroes/Tools/BitFont/textparser.cmd
Batchfile
asf20
105