text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsPaySyncStrategy.java package cn.bootx.platform.daxpay.service.func; import cn.bootx.platform.daxpay.code.PaySyncStatusEnum; import cn.bootx.platform.daxpay.service.core.order.pay.entity.PayOrder; import cn.bootx.platfo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsPaySyncStrategy.java", ...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsReconcileStrategy.java package cn.bootx.platform.daxpay.service.func; import cn.bootx.platform.daxpay.service.core.order.reconcile.entity.PayReconcileOrder; import lombok.Getter; /** * 支付对账策略 * @author xxm * @since...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsReconcileStrategy.java"...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsRefundRepairStrategy.java package cn.bootx.platform.daxpay.service.func; import cn.bootx.platform.daxpay.code.RefundStatusEnum; import cn.bootx.platform.daxpay.code.PayStatusEnum; import cn.bootx.platform.daxpay.servic...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsRefundRepairStrategy.ja...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsRefundStrategy.java package cn.bootx.platform.daxpay.service.func; import cn.bootx.platform.daxpay.code.RefundStatusEnum; import cn.bootx.platform.daxpay.code.PayStatusEnum; import cn.bootx.platform.daxpay.param.pay.Re...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsRefundStrategy.java", "...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsRefundSyncStrategy.java package cn.bootx.platform.daxpay.service.func; import cn.bootx.platform.daxpay.code.PaySyncStatusEnum; import cn.bootx.platform.daxpay.service.core.order.refund.entity.PayRefundOrder; import cn....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/AbsRefundSyncStrategy.java...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/PayStrategy.java package cn.bootx.platform.daxpay.service.func; import cn.bootx.platform.daxpay.code.PayChannelEnum; /** * 支付相关策略标识接口 * @author xxm * @since 2023/12/27 */ public interface PayStrategy { /** ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/func/PayStrategy.java", "licens...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/handler/PayApiCheckHandler.java package cn.bootx.platform.daxpay.service.handler; import cn.bootx.platform.common.core.exception.DataNotExistException; import cn.bootx.platform.daxpay.service.annotation.PaymentApi; import cn.b...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/handler/PayApiCheckHandler.java...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/alipay/AliPayConfigParam.java package cn.bootx.platform.daxpay.service.param.channel.alipay; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; import ja...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/alipay/AliPayConf...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/alipay/AliPayReturnParam.java package cn.bootx.platform.daxpay.service.param.channel.alipay; import com.fasterxml.jackson.annotation.JsonAlias; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Dat...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/alipay/AliPayRetu...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/alipay/AlipayConfigQuery.java package cn.bootx.platform.daxpay.service.param.channel.alipay; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; import ja...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/alipay/AlipayConf...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/voucher/VoucherImportParam.java package cn.bootx.platform.daxpay.service.param.channel.voucher; import cn.bootx.platform.daxpay.service.code.VoucherCode; import cn.hutool.core.date.DatePattern; import com.alibaba...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/voucher/VoucherIm...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/voucher/VoucherParam.java package cn.bootx.platform.daxpay.service.param.channel.voucher; import cn.bootx.platform.daxpay.service.code.VoucherCode; import cn.hutool.core.date.DatePattern; import io.swagger.v3.oas...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/voucher/VoucherPa...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletLogQueryParam.java package cn.bootx.platform.daxpay.service.param.channel.wallet; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; import ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletLogQ...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletPayParam.java package cn.bootx.platform.daxpay.service.param.channel.wallet; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; import java....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletPayP...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletQueryParam.java package cn.bootx.platform.daxpay.service.param.channel.wallet; import cn.bootx.platform.common.core.annotation.QueryParam; import io.swagger.v3.oas.annotations.media.Schema; import lo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletQuer...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletRechargeParam.java package cn.bootx.platform.daxpay.service.param.channel.wallet; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; import ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletRech...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletRefundParam.java package cn.bootx.platform.daxpay.service.param.channel.wallet; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; /** * 钱包...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wallet/WalletRefu...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wechat/WalletConfigParam.java package cn.bootx.platform.daxpay.service.param.channel.wechat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; import ja...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wechat/WalletConf...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wechat/WeChatPayConfigParam.java package cn.bootx.platform.daxpay.service.param.channel.wechat; import cn.bootx.platform.common.core.annotation.QueryParam; import cn.bootx.table.modify.annotation.DbColumn; import...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wechat/WeChatPayC...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wechat/WeChatPayParam.java package cn.bootx.platform.daxpay.service.param.channel.wechat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; /** * @auth...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/channel/wechat/WeChatPayP...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/order/PayOrderQuery.java package cn.bootx.platform.daxpay.service.param.order; import cn.bootx.platform.common.core.annotation.QueryParam; import cn.bootx.platform.common.core.rest.param.QueryOrder; import cn.bootx.platf...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/order/PayOrderQuery.java"...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/order/PayOrderRefundParam.java package cn.bootx.platform.daxpay.service.param.order; import cn.bootx.platform.daxpay.param.pay.RefundChannelParam; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; im...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/order/PayOrderRefundParam...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/order/PayRefundOrderQuery.java package cn.bootx.platform.daxpay.service.param.order; import cn.bootx.platform.common.core.annotation.QueryParam; import cn.bootx.platform.common.core.rest.param.QueryOrder; import cn.bootx...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/order/PayRefundOrderQuery...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/reconcile/ReconcileDetailQuery.java package cn.bootx.platform.daxpay.service.param.reconcile; import cn.bootx.platform.common.core.annotation.QueryParam; import cn.bootx.platform.daxpay.code.PayReconcileTradeEnum; import...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/reconcile/ReconcileDetail...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/reconcile/ReconcileOrderCreate.java package cn.bootx.platform.daxpay.service.param.reconcile; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; import javax.val...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/reconcile/ReconcileOrderC...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/reconcile/ReconcileOrderQuery.java package cn.bootx.platform.daxpay.service.param.reconcile; import cn.bootx.platform.common.core.annotation.QueryParam; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Da...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/reconcile/ReconcileOrderQ...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PayCallbackRecordQuery.java package cn.bootx.platform.daxpay.service.param.record; import cn.bootx.platform.common.core.annotation.QueryParam; import cn.bootx.platform.common.core.rest.param.QueryOrder; import cn....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PayCallbackRecordQ...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PayCloseRecordQuery.java package cn.bootx.platform.daxpay.service.param.record; import cn.bootx.platform.common.core.rest.param.QueryOrder; import cn.bootx.platform.daxpay.code.PayChannelEnum; import io.swagger.v3...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PayCloseRecordQuer...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PayRepairRecordQuery.java package cn.bootx.platform.daxpay.service.param.record; import cn.bootx.platform.common.core.annotation.QueryParam; import cn.bootx.platform.daxpay.code.PayStatusEnum; import cn.bootx.plat...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PayRepairRecordQue...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PaySyncRecordQuery.java package cn.bootx.platform.daxpay.service.param.record; import cn.bootx.platform.common.core.annotation.QueryParam; import cn.bootx.platform.daxpay.code.PayChannelEnum; import cn.bootx.platf...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/record/PaySyncRecordQuery...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/config/PayApiConfigParam.java package cn.bootx.platform.daxpay.service.param.system.config; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; /** * 支付开放...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/config/PayApiConfi...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/config/PlatformConfigParam.java package cn.bootx.platform.daxpay.service.param.system.config; import cn.bootx.platform.daxpay.code.PaySignTypeEnum; import cn.bootx.table.modify.annotation.DbColumn; import io.swagg...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/config/PlatformCon...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/config/WechatNoticeConfigParam.java package cn.bootx.platform.daxpay.service.param.system.config; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; /** ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/config/WechatNotic...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/payinfo/PayChannelInfoParam.java package cn.bootx.platform.daxpay.service.param.system.payinfo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; /** * ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/payinfo/PayChannel...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/payinfo/PayWayInfoParam.java package cn.bootx.platform.daxpay.service.param.system.payinfo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.experimental.Accessors; /** * * @...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/param/system/payinfo/PayWayInfo...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/task/PayReconcileTask.java package cn.bootx.platform.daxpay.service.task; import cn.bootx.platform.daxpay.service.task.service.PayReconcileTaskService; import lombok.RequiredArgsConstructor; import lombok.Setter; import lombok...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/task/PayReconcileTask.java", "l...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/task/service/PayReconcileTaskService.java package cn.bootx.platform.daxpay.service.task.service; import cn.bootx.platform.daxpay.service.core.order.reconcile.entity.PayReconcileOrder; import cn.bootx.platform.daxpay.service.co...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/task/service/PayReconcileTaskSe...
### File: daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/util/PayChannelUtil.java package cn.bootx.platform.daxpay.service.util; import cn.bootx.platform.daxpay.code.PayChannelEnum; import cn.bootx.platform.daxpay.service.code.PayWayExtraCode; import cn.bootx.platform.daxpay.param.c...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/util/PayChannelUtil.java", "lic...
### File: daxpay-single/daxpay-single-start/src/main/java/cn/bootx/platform/daxpay/start/DaxpaySingleStart.java package cn.bootx.platform.daxpay.start; import cn.hutool.core.util.StrUtil; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentJinxin/dax-pay", "path": "daxpay-single/daxpay-single-start/src/main/java/cn/bootx/platform/daxpay/start/DaxpaySingleStart.java", "license":...
### File: ctrtool/Makefile # Sources SRC_DIR = . polarssl tinyxml OBJS = $(foreach dir,$(SRC_DIR),$(subst .c,.o,$(wildcard $(dir)/*.c))) $(foreach dir,$(SRC_DIR),$(subst .cpp,.o,$(wildcard $(dir)/*.cpp))) # Compiler Settings OUTPUT = ctrtool CXXFLAGS = -I. CFLAGS = -O2 -Wall -Wno-unused-variable -Wno-unused-result -I...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/Makefile", "license": "mit", "size": 919}
### File: ctrtool/aes_keygen.c #include "aes_keygen.h" // 128bit wrap-around math int32_t wrap_index(int32_t i) { return i < 0 ? ((i % 16) + 16) % 16 : (i > 15 ? i % 16 : i); } void n128_rrot(const uint8_t *in, uint32_t rot, uint8_t *out) { uint32_t bit_shift, byte_shift; rot = rot % 128; byte_shift = rot / 8; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/aes_keygen.c", "license": "mit", "size": 2095}
### File: ctrtool/aes_keygen.h #pragma once #include <stdint.h> /* AES Key generator for the Nintendo 3DS (CTR) Consoles */ void ctr_aes_keygen(const uint8_t *x, const uint8_t *y, uint8_t *key);
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/aes_keygen.h", "license": "mit", "size": 167}
### File: ctrtool/cia.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include "types.h" #include "utils.h" #include "cia.h" #include <inttypes.h> void cia_init(cia_context* ctx) { memset(ctx, 0, sizeof(cia_context)); tik_init(&ctx->tik); tmd_init(&ctx->tmd); } void cia_set_file(cia_context* ctx, FI...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/cia.c", "license": "mit", "size": 8260}
### File: ctrtool/cia.h #ifndef _CIA_H_ #define _CIA_H_ #include "types.h" #include "filepath.h" #include "tik.h" #include "tmd.h" #include "ctr.h" #include "settings.h" typedef enum { CIATYPE_CERTS, CIATYPE_TMD, CIATYPE_TIK, CIATYPE_CONTENT, CIATYPE_META, } cia_types; typedef struct { u8 headersize[4]; u8 ty...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/cia.h", "license": "mit", "size": 1392}
### File: ctrtool/ctr.c #include <string.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "ctr.h" #include "utils.h" void ctr_set_iv( ctr_aes_context* ctx, u8 iv[16] ) { memcpy(ctx->iv, iv, 16); } void ctr_add_counter( ctr_aes_context* ctx, u32 block_num ) { u32 ctr[4]; ctr[3]...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ctr.c", "license": "mit", "size": 6758}
### File: ctrtool/ctr.h #ifndef _CTR_H_ #define _CTR_H_ #include "polarssl/aes.h" #include "polarssl/rsa.h" #include "polarssl/sha2.h" #include "types.h" #include "keyset.h" #define MAGIC_NCCH 0x4843434E #define MAGIC_NCSD 0x4453434E #define MAGIC_FIRM 0x4D524946 #define MAGIC_CWAV 0x56415743 #define MAGIC_IVFC 0x434...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ctr.h", "license": "mit", "size": 2867}
### File: ctrtool/cwav.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include "types.h" #include "cwav.h" #include "utils.h" #include "stream.h" #define BUFFERSIZE (4*1024) #define SAMPLECOUNT 1024 static const int ima_adpcm_step_table[89] = { 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 19, 21, 23, 25,...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/cwav.c", "license": "mit", "size": 26710}
### File: ctrtool/cwav.h #ifndef _CWAV_H_ #define _CWAV_H_ #include <stdio.h> #include "types.h" #include "settings.h" #include "stream.h" #define CWAV_ENCODING_PCM8 0 #define CWAV_ENCODING_PCM16 1 #define CWAV_ENCODING_DSPADPCM 2 #define CWAV_ENCODING_IMAADPCM 3 typedef struct { u8 idtype[2]; u8 padding[2];...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/cwav.h", "license": "mit", "size": 4605}
### File: ctrtool/exefs.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include "types.h" #include "exefs.h" #include "utils.h" #include "ncch.h" #include "lzss.h" void exefs_init(exefs_context* ctx) { memset(ctx, 0, sizeof(exefs_context)); } void exefs_set_file(exefs_context* ctx, FILE* file) { ctx-...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/exefs.c", "license": "mit", "size": 7754}
### File: ctrtool/exefs.h #ifndef _EXEFS_H_ #define _EXEFS_H_ #include "types.h" #include "info.h" #include "ctr.h" #include "filepath.h" #include "settings.h" #define EXEFS_SECTION_NUM 8 typedef struct { u8 name[8]; u8 offset[4]; u8 size[4]; } exefs_sectionheader; typedef struct { exefs_sectionheader section[...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/exefs.h", "license": "mit", "size": 1672}
### File: ctrtool/exheader.c #include <stdbool.h> #include <stdio.h> #include <string.h> #include "types.h" #include "exheader.h" #include "utils.h" #include "ncch.h" #include "syscalls.h" #include <inttypes.h> void exheader_init(exheader_context* ctx) { memset(ctx, 0, sizeof(exheader_context)); } void exheader_set...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/exheader.c", "license": "mit", "size": 21734}
### File: ctrtool/exheader.h #ifndef _EXHEADER_H_ #define _EXHEADER_H_ #include <stdio.h> #include "types.h" #include "ctr.h" #include "settings.h" typedef enum { sysmode_64MB, sysmode_UNK, sysmode_96MB, sysmode_80MB, sysmode_72MB, sysmode_32MB, } exheader_systemmode; typedef enum { sysmode_ext_LEGACY, sysmo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/exheader.h", "license": "mit", "size": 4449}
### File: ctrtool/filepath.c #include <stdio.h> #include <string.h> #include <stdarg.h> #include "types.h" #include "filepath.h" void filepath_init(filepath* fpath) { fpath->valid = 0; } void filepath_copy(filepath* fpath, filepath* copy) { if (copy != 0 && copy->valid) memcpy(fpath, copy, sizeof(filepath)); el...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/filepath.c", "license": "mit", "size": 1575}
### File: ctrtool/filepath.h #ifndef _FILEPATH_H_ #define _FILEPATH_H_ #include "types.h" #include "utils.h" typedef struct { char pathname[MAX_PATH]; int valid; } filepath; void filepath_init(filepath* fpath); void filepath_copy(filepath* fpath, filepath* copy); void filepath_append_utf16(filepath* fpath, const u...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/filepath.h", "license": "mit", "size": 486}
### File: ctrtool/firm.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include "types.h" #include "firm.h" #include "utils.h" void firm_init(firm_context* ctx) { memset(ctx, 0, sizeof(firm_context)); } void firm_set_file(firm_context* ctx, FILE* file) { ctx->file = file; } void firm_set_offset(firm_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/firm.c", "license": "mit", "size": 5456}
### File: ctrtool/firm.h #ifndef _FIRM_H_ #define _FIRM_H_ #include "types.h" #include "info.h" #include "ctr.h" #include "filepath.h" #include "settings.h" typedef struct { u8 offset[4]; u8 address[4]; u8 size[4]; u8 copyMethod[4]; u8 hash[32]; } firm_sectionheader; typedef struct { u8 magic[4]; u8 prior...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/firm.h", "license": "mit", "size": 1140}
### File: ctrtool/info.h #ifndef _INFO_H_ #define _INFO_H_ #include "types.h" #include "keyset.h" typedef struct { FILE* file; keyset* keys; u32 offset; const u8* blob; u32 blobsize; } infocontext; #endif // _INFO_H_
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/info.h", "license": "mit", "size": 200}
### File: ctrtool/ivfc.c #include <stdio.h> #include <string.h> #include <stdlib.h> #include "types.h" #include "utils.h" #include "ivfc.h" #include "ctr.h" void ivfc_init(ivfc_context* ctx) { memset(ctx, 0, sizeof(ivfc_context)); } void ivfc_set_usersettings(ivfc_context* ctx, settings* usersettings) { ctx->userse...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ivfc.c", "license": "mit", "size": 6279}
### File: ctrtool/ivfc.h #ifndef __IVFC_H__ #define __IVFC_H__ #include "types.h" #include "ctr.h" #include "settings.h" #define IVFC_HEADER_SIZE 0x60 #define IVFC_MAX_LEVEL 4 #define IVFC_MAX_BUFFERSIZE 0x4000 typedef struct { u8 logicaloffset[8]; u8 hashdatasize[8]; u8 blocksize[4]; u8 reserved[4]; } ivfc_leve...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ivfc.h", "license": "mit", "size": 1758}
### File: ctrtool/keyset.cpp #include <stdio.h> #include "keyset.h" #include "utils.h" #include "tinyxml/tinyxml.h" static void keyset_set_key128(key128* key, unsigned char* keydata); static void keyset_parse_key128(key128* key, char* keytext, int keylen); static int keyset_parse_key(const char* text, unsigned int tex...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/keyset.cpp", "license": "mit", "size": 11824}
### File: ctrtool/keyset.h #ifndef _KEYSET_H_ #define _KEYSET_H_ #include "types.h" #ifdef __cplusplus extern "C" { #endif #define COMMONKEY_NUM 6 typedef enum { KEY_ERR_LEN_MISMATCH, KEY_ERR_INVALID_NODE, KEY_OK } keystatus; typedef enum { RSAKEY_INVALID, RSAKEY_PRIV, RSAKEY_PUB } rsakeytype; typedef struc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/keyset.h", "license": "mit", "size": 1927}
### File: ctrtool/lzss.c #include <stdio.h> #include <string.h> #include <stdlib.h> #include "types.h" #include "utils.h" #include "lzss.h" void lzss_init(lzss_context* ctx) { memset(ctx, 0, sizeof(lzss_context)); } void lzss_set_usersettings(lzss_context* ctx, settings* usersettings) { ctx->usersettings = usersett...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/lzss.c", "license": "mit", "size": 4023}
### File: ctrtool/lzss.h #ifndef _LZSS_H_ #define _LZSS_H_ #include "types.h" #include "settings.h" typedef struct { FILE* file; u32 offset; u32 size; settings* usersettings; } lzss_context; void lzss_init(lzss_context* ctx); void lzss_process(lzss_context* ctx, u32 actions); void lzss_set_offset(lzss_context* c...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/lzss.h", "license": "mit", "size": 670}
### File: ctrtool/main.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include "utils.h" #include "ctr.h" #include "ncch.h" #include "ncsd.h" #include "cia.h" #include "tmd.h" #include "tik.h" #include "lzss.h" #include "keyset.h" #include "exefs.h" #include "info.h" #include "settings...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/main.c", "license": "mit", "size": 13252}
### File: ctrtool/ncch.c #include <stdio.h> #include <string.h> #include <stdlib.h> #include "types.h" #include "ncch.h" #include "utils.h" #include "ctr.h" #include "settings.h" #include "aes_keygen.h" #include <inttypes.h> static int programid_is_system(u8 programid[8]) { u32 hiprogramid = getle32(programid+4); ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ncch.c", "license": "mit", "size": 25049}
### File: ctrtool/ncch.h #ifndef _NCCH_H_ #define _NCCH_H_ #include <stdio.h> #include "types.h" #include "keyset.h" #include "filepath.h" #include "ctr.h" #include "exefs.h" #include "romfs.h" #include "exheader.h" #include "settings.h" typedef enum { NCCHTYPE_EXHEADER = 1, NCCHTYPE_EXEFS = 2, NCCHTYPE_ROMFS = 3,...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ncch.h", "license": "mit", "size": 3085}
### File: ctrtool/ncsd.c #include <stdio.h> #include <string.h> #include "types.h" #include "ncsd.h" #include "utils.h" #include "ctr.h" #include <inttypes.h> void ncsd_init(ncsd_context* ctx) { memset(ctx, 0, sizeof(ncsd_context)); } void ncsd_set_offset(ncsd_context* ctx, u64 offset) { ctx->offset = offset; } ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ncsd.c", "license": "mit", "size": 4748}
### File: ctrtool/ncsd.h #ifndef _NCSD_H_ #define _NCSD_H_ #include "types.h" #include "keyset.h" #include "settings.h" #include "ncch.h" typedef struct { u32 offset; u32 size; } ncsd_partition_geometry; typedef struct { u8 signature[0x100]; u8 magic[4]; u8 mediasize[4]; u8 mediaid[8]; u8 partitionfstype[8]; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/ncsd.h", "license": "mit", "size": 1242}
### File: ctrtool/oschar.c #include <stdlib.h> #ifndef _WIN32 #ifndef __CYGWIN__ #define LIBICONV_PLUG #endif #include <iconv.h> #endif #include "oschar.h" int os_fstat(const oschar_t *path) { struct _osstat st; return os_stat(path, &st); } uint64_t os_fsize(const oschar_t *path) { struct _osstat st; if (os_stat(...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/oschar.c", "license": "mit", "size": 3819}
### File: ctrtool/oschar.h #pragma once #include <stdio.h> #include <string.h> #include <inttypes.h> #include <sys/stat.h> #ifdef _WIN32 #include <wchar.h> #endif // Nintendo uses UTF16-LE chars for extended ASCII support typedef uint16_t utf16char_t; // Native OS char type for unicode support #ifdef _WIN32 typedef w...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/oschar.h", "license": "mit", "size": 2441}
### File: ctrtool/polarssl/aes.c /* * FIPS-197 compliant AES implementation * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free soft...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/aes.c", "license": "mit", "size": 39595}
### File: ctrtool/polarssl/aes.h /** * \file aes.h * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redistribute...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/aes.h", "license": "mit", "size": 4293}
### File: ctrtool/polarssl/bignum.c /* * Multi-precision integer library * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free softwar...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/bignum.c", "license": "mit", "size": 41946}
### File: ctrtool/polarssl/bignum.h /** * \file bignum.h * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redist...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/bignum.h", "license": "mit", "size": 14959}
### File: ctrtool/polarssl/bn_mul.h /** * \file bn_mul.h * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redist...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/bn_mul.h", "license": "mit", "size": 28655}
### File: ctrtool/polarssl/config.h /** * \file config.h * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redist...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/config.h", "license": "mit", "size": 6816}
### File: ctrtool/polarssl/padlock.h /** * \file padlock.h * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/padlock.h", "license": "mit", "size": 2881}
### File: ctrtool/polarssl/rsa.c /* * The RSA public-key cryptosystem * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/rsa.c", "license": "mit", "size": 21156}
### File: ctrtool/polarssl/rsa.h /** * \file rsa.h * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redistribute...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/rsa.h", "license": "mit", "size": 11401}
### File: ctrtool/polarssl/sha2.c /* * FIPS-180-2 compliant SHA-256 implementation * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is fr...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/sha2.c", "license": "mit", "size": 21236}
### File: ctrtool/polarssl/sha2.h /** * \file sha2.h * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redistribu...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/polarssl/sha2.h", "license": "mit", "size": 4569}
### File: ctrtool/romfs.c #include <stdio.h> #include <stdlib.h> #include "types.h" #include "romfs.h" #include "utils.h" void romfs_init(romfs_context* ctx) { memset(ctx, 0, sizeof(romfs_context)); ivfc_init(&ctx->ivfc); } void romfs_set_file(romfs_context* ctx, FILE* file) { ctx->file = file; } void romfs_set_o...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/romfs.c", "license": "mit", "size": 9939}
### File: ctrtool/romfs.h #ifndef __ROMFS_H__ #define __ROMFS_H__ #include "types.h" #include "info.h" #include "ctr.h" #include "oschar.h" #include "settings.h" #include "ivfc.h" #define ROMFS_MAXNAMESIZE 254 // limit set by ctrtool typedef struct { u8 magic[4]; } romfs_header; typedef struct { u8 offset[4]; u...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/romfs.h", "license": "mit", "size": 2797}
### File: ctrtool/settings.c #include <stdio.h> #include <string.h> #include "settings.h" void settings_init(settings* usersettings) { memset(usersettings, 0, sizeof(settings)); } filepath* settings_get_wav_path(settings* usersettings) { if (usersettings) return &usersettings->wavpath; else return 0; } filepa...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/settings.c", "license": "mit", "size": 6351}
### File: ctrtool/settings.h #ifndef _SETTINGS_H_ #define _SETTINGS_H_ #include "types.h" #include "keyset.h" #include "filepath.h" typedef struct { keyset keys; filepath exefspath; filepath exefsdirpath; filepath firmdirpath; filepath romfspath; filepath romfsdirpath; filepath exheaderpath; filepath logopath...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/settings.h", "license": "mit", "size": 3706}
### File: ctrtool/stream.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include "types.h" #include "stream.h" void stream_in_init(stream_in_context* ctx) { memset(ctx, 0, sizeof(stream_in_context)); } void stream_out_init(stream_out_context* ctx) { memset(ctx, 0, sizeof(stream_out_context)); } vo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/stream.c", "license": "mit", "size": 2608}
### File: ctrtool/stream.h #ifndef __STREAM_H__ #define __STREAM_H__ #include <stdio.h> #include "types.h" typedef struct { FILE* infile; u32 infileposition; u8* inbuffer; u32 inbuffersize; u32 inbufferavailable; u32 inbufferpos; } stream_in_context; typedef struct { FILE* outfile; u8* outbuffer; u32 outbuf...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/stream.h", "license": "mit", "size": 1287}
### File: ctrtool/syscalls.c #include <stddef.h> #include <stdio.h> #include <string.h> #include "syscalls.h" // List of 3DS system calls. NULL indicates unknown. static const char *const syscall_list[NUM_SYSCALLS] = { NULL, // 00 "ControlMemory", // 01 "QueryMemo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/syscalls.c", "license": "mit", "size": 6575}
### File: ctrtool/syscalls.h #ifndef _SYSCALLS_H_ #define _SYSCALLS_H_ #include <stddef.h> #ifdef __cplusplus extern "C" { #endif enum { NUM_SYSCALLS = 0x80 }; void syscall_get_name(char *output, size_t size, unsigned int call_num); #ifdef __cplusplus } // extern "C" #endif #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/syscalls.h", "license": "mit", "size": 259}
### File: ctrtool/tik.c #include <stdio.h> #include <string.h> #include <stdlib.h> #include "aes_keygen.h" #include "tik.h" #include "ctr.h" #include "utils.h" void tik_init(tik_context* ctx) { memset(ctx, 0, sizeof(tik_context)); } void tik_set_file(tik_context* ctx, FILE* file) { ctx->file = file; } void tik_se...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tik.c", "license": "mit", "size": 2753}
### File: ctrtool/tik.h #ifndef __TIK_H__ #define __TIK_H__ #include "types.h" #include "keyset.h" #include "ctr.h" #include "settings.h" typedef struct { u8 enable_timelimit[4]; u8 timelimit_seconds[4]; } timelimit_entry; typedef struct { u8 sig_type[4]; u8 signature[0x100]; u8 padding1[0x3c]; u8 issuer[0x4...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tik.h", "license": "mit", "size": 1385}
### File: ctrtool/tinyxml/tinystr.cpp /* www.sourceforge.net/projects/tinyxml This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purp...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tinyxml/tinystr.cpp", "license": "mit", "size": 2515}
### File: ctrtool/tinyxml/tinystr.h /* www.sourceforge.net/projects/tinyxml This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpos...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tinyxml/tinystr.h", "license": "mit", "size": 8198}
### File: ctrtool/tinyxml/tinyxml.cpp /* www.sourceforge.net/projects/tinyxml Original code by Lee Thomason (www.grinninglizard.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tinyxml/tinyxml.cpp", "license": "mit", "size": 37599}
### File: ctrtool/tinyxml/tinyxml.h /* www.sourceforge.net/projects/tinyxml Original code by Lee Thomason (www.grinninglizard.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tinyxml/tinyxml.h", "license": "mit", "size": 64842}
### File: ctrtool/tinyxml/tinyxmlerror.cpp /* www.sourceforge.net/projects/tinyxml Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages aris...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tinyxml/tinyxmlerror.cpp", "license": "mit", "size": 1799}
### File: ctrtool/tinyxml/tinyxmlparser.cpp /* www.sourceforge.net/projects/tinyxml Original code by Lee Thomason (www.grinninglizard.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Pe...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tinyxml/tinyxmlparser.cpp", "license": "mit", "size": 37250}
### File: ctrtool/tmd.c #include <string.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "tmd.h" #include "utils.h" #include <inttypes.h> void tmd_init(tmd_context* ctx) { memset(ctx, 0, sizeof(tmd_context)); } void tmd_set_file(tmd_context* ctx, FILE* file) { ctx->file = file; } void tmd_set...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tmd.c", "license": "mit", "size": 5318}
### File: ctrtool/tmd.h #ifndef _TMD_H_ #define _TMD_H_ #include "types.h" #include "settings.h" #define TMD_MAX_CONTENTS 64 typedef enum { TMD_RSA_2048_SHA256 = 0x00010004, TMD_RSA_4096_SHA256 = 0x00010003, TMD_RSA_2048_SHA1 = 0x00010001, TMD_RSA_4096_SHA1 = 0x00010000 } ctr_tmdtype; typedef struct { uns...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/tmd.h", "license": "mit", "size": 2060}
### File: ctrtool/types.h #ifndef __TYPES_H__ #define __TYPES_H__ #include <stdint.h> #include <inttypes.h> typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; typedef uint64_t u64; typedef int8_t s8; typedef int16_t s16; typedef int32_t s32; typedef int64_t s64; enum flags { ExtractFlag =...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincentJinxin/Project_CTR", "path": "ctrtool/types.h", "license": "mit", "size": 638}