text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```groovy package easymvp.gradle.plugin import org.gradle.api.Plugin import org.gradle.api.Project import static easymvp.gradle.plugin.Version.GROUP import static easymvp.gradle.plugin.Version.VERSION /** * @author Saeed Masoumi (saeed@6thsolution.com) */ class EasyMVPRx2Plugin implements Plugin<Project> { @...
/content/code_sandbox/easymvp-plugin/src/main/groovy/easymvp/gradle/plugin/EasyMVPRx2Plugin.groovy
groovy
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
110
```groovy package easymvp.gradle.plugin import org.gradle.api.Plugin import org.gradle.api.Project import static easymvp.gradle.plugin.Version.GROUP import static easymvp.gradle.plugin.Version.VERSION /** * @author Saeed Masoumi (saeed@6thsolution.com) */ class EasyMVPRxPlugin implements Plugin<Project> { @O...
/content/code_sandbox/easymvp-plugin/src/main/groovy/easymvp/gradle/plugin/EasyMVPRxPlugin.groovy
groovy
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
108
```java package easymvp.gradle.plugin; public class Version { public static final String GROUP = "com.sixthsolution.easymvp"; public static final String VERSION = "@version@"; } ```
/content/code_sandbox/easymvp-plugin/src/main/templates/Version.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
42
```groovy /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.gradle.plugin import com.neenbedankt.gradle.androidapt.AndroidAptPlugin import org.gradle.api.Plugin import ...
/content/code_sandbox/easymvp-plugin/src/main/groovy/easymvp/gradle/plugin/EasyMVPPlugin.groovy
groovy
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
541
```gradle ext.ver = [sourceCompatibilityVersion: JavaVersion.VERSION_1_7, targetCompatibilityVersion: JavaVersion.VERSION_1_7] ext.deps = [//plugins androidPlugin : "com.android.tools.build:gradle:3.0.0-alpha7", weaverPlugin : "io.saeid.weaver:weaver-plugin:1.0.0...
/content/code_sandbox/buildsystem/dependencies.gradle
gradle
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
448
```gradle import java.text.SimpleDateFormat apply plugin: 'com.jfrog.bintray' apply plugin: "com.jfrog.artifactory" apply plugin: 'maven-publish' apply plugin: 'net.nemerosa.versioning' Date buildTimeAndDate = new Date() def buildDate = new SimpleDateFormat('yyyy-MM-dd').format(buildTimeAndDate) def buildTime = new S...
/content/code_sandbox/buildsystem/jfrog-uploader.gradle
gradle
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
1,061
```java package easymvp.compiler; /** * @author Saeed Masoumi (saeed@6thsolution.com) */ public enum ViewType { ACTIVITY, SUPPORT_ACTIVITY, FRAGMENT, SUPPORT_FRAGMENT, CUSTOM_VIEW, CONDUCTOR_CONTROLLER } ```
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/ViewType.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
60
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.compiler; import java.util.Set; import javax.annotation.processing.ProcessingEnvironment; import javax.lang.m...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/Validator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
350
```java package easymvp.compiler.generator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.JavaFile; /** * @author Saeed Masoumi (saeed@6thsolution.com) */ public abstract class ClassGenerator { private String packageName; private String name; private ClassName className; publi...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/ClassGenerator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
151
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.compiler; import com.google.auto.common.SuperficialValidation; import com.google.auto.service.AutoService; imp...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/EasyMVPProcessor.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
3,425
```java package easymvp.compiler.generator; import com.squareup.javapoet.ClassName; import easymvp.compiler.ViewType; import static easymvp.compiler.util.ClassNames.*; /** * @author Saeed Masoumi (saeed@6thsolution.com) */ public class AndroidLoaderUtils { static ClassName getLoader(boolean supportLibrary) {...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/AndroidLoaderUtils.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
464
```java package easymvp.compiler.generator; import com.squareup.javapoet.FieldSpec; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.ParameterSpec; import com.squareup.javapoet.ParameterizedTypeName; import com.squareup.javapoet.TypeName; import com.squareup....
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/PresenterLoaderGenerator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
1,001
```java package easymvp.compiler.generator.decorator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.MethodSpec; import easymvp.compiler.generator.DelegateClassGenerator; import static easymvp.compiler.generator.AndroidLoaderUtils.getSupportLoader; import static easymvp.compiler.generator.Andro...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/decorator/SupportActivityDecorator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
262
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.compiler.generator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.JavaFile; import com....
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/DelegateClassGenerator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
921
```java package easymvp.compiler.generator.decorator; import com.squareup.javapoet.AnnotationSpec; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.MethodSpec; import easymvp.compiler.generator.DelegateClassGenerator; import static easymvp.compiler.generator.AndroidLoaderUtils.getLoader; import s...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/decorator/ActivityDecorator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
385
```java package easymvp.compiler.generator.decorator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.MethodSpec; import easymvp.compiler.generator.DelegateClassGenerator; import static easymvp.compiler.generator.AndroidLoaderUtils.getLoader; import static easymvp.compiler.generator.AndroidLoade...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/decorator/FragmentDecorator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
305
```java package easymvp.compiler.generator.decorator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.MethodSpec; import easymvp.compiler.generator.DelegateClassGenerator; import static easymvp.compiler.generator.AndroidLoaderUtils.getSupportLoader; import static easymvp.compiler.generator.Andro...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/decorator/SupportFragmentDecorator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
315
```java package easymvp.compiler.generator.decorator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.ParameterizedTypeName; import com.squareup.javapoet.TypeName; import com.squareup.javapoet.TypeSpec; import javax.lang.model.element.Modifier; import eas...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/decorator/CustomViewDecorator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
641
```java package easymvp.compiler.generator.decorator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.MethodSpec; import easymvp.compiler.generator.DelegateClassGenerator; import static easymvp.compiler.generator.AndroidLoaderUtils.getLoader; import static easymvp.compiler.generator.AndroidLoader...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/decorator/ConductorControllerDecorator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
356
```java package easymvp.compiler.util; import com.squareup.javapoet.ClassName; /** * @author Saeed Masoumi (saeed@6thsolution.com) */ public final class ClassNames { public static final ClassName CONTEXT = ClassName.get("android.content", "Context"); public static final ClassName BUNDLE = ClassName.get("and...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/util/ClassNames.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
375
```java package easymvp; import java.lang.ref.WeakReference; import javax.annotation.Nullable; /** * The base class for implementing a {@link Presenter}. * * @author Saeed Masoumi (saeed@6thsolution.com) */ public abstract class AbstractPresenter<V> implements Presenter<V> { private WeakReference<V> view; ...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/AbstractPresenter.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
193
```java package easymvp; import javax.annotation.Nullable; /** * Base interface for all presenters in Model-View-Presenter pattern. * <p> * The {@code Presenter} is responsible for orchestrating all the application's use cases, * So it acts as a middle man that retrieves model from data-layer and shows it in the ...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/Presenter.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
467
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.annotation; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lan...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/annotation/FragmentView.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
239
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.annotation; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lan...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/annotation/ActivityView.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
320
```java package easymvp.compiler.generator.decorator; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.FieldSpec; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.ParameterSpec; import com.squareup.javapoet.ParameterizedTypeName; import com.squareup.javapoet.TypeName; import co...
/content/code_sandbox/easymvp-compiler/src/main/java/easymvp/compiler/generator/decorator/BaseDecorator.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
2,596
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.annotation; import android.os.Bundle; import android.view.View; import java.lang.annotation.Retention; import...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/annotation/Presenter.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
563
```java package easymvp.annotation; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * If you want to use multiple in...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/annotation/PresenterId.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
200
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.annotation; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lan...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/annotation/CustomView.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
228
```java package easymvp.annotation.conductor; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Annotates a {@code com.bluelinelabs.conductor.ConductorController} class to ...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/annotation/conductor/ConductorController.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
141
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * */ package easymvp.internal; /** * Internal usage! * <p> * It's a delegate between the Presenter and the View. * The annotati...
/content/code_sandbox/easymvp-api/src/main/java/easymvp/internal/ViewDelegate.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
145
```java package easymvp; import io.reactivex.disposables.CompositeDisposable; import io.reactivex.disposables.Disposable; /** * Created by megrez on 2017/3/12. */ public class RxPresenter<V> extends AbstractPresenter<V> { private CompositeDisposable subscriptions = new CompositeDisposable(); @Override ...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/RxPresenter.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
121
```java package easymvp.usecase; import easymvp.executer.PostExecutionThread; import easymvp.executer.UseCaseExecutor; import io.reactivex.Single; import io.reactivex.SingleTransformer; import io.reactivex.annotations.Nullable; /** * @author Saeed Masoumi (s-masoumi@live.com) */ public abstract class SingleUseCase...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/usecase/SingleUseCase.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
261
```java package easymvp.usecase; import easymvp.executer.PostExecutionThread; import easymvp.executer.UseCaseExecutor; import io.reactivex.Completable; import io.reactivex.CompletableTransformer; import javax.annotation.Nullable; /** * Created by megrez on 2017/3/12. */ public abstract class CompletableUseCase<Q> ...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/usecase/CompletableUseCase.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
228
```java package easymvp.usecase; import javax.annotation.Nullable; import easymvp.executer.PostExecutionThread; import easymvp.executer.UseCaseExecutor; import io.reactivex.Flowable; import io.reactivex.FlowableTransformer; /** * @author Saeed Masoumi (s-masoumi@live.com) */ public abstract class FlowableUseCase<...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/usecase/FlowableUseCase.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
274
```java package easymvp.usecase; import javax.annotation.Nullable; import easymvp.executer.PostExecutionThread; import easymvp.executer.UseCaseExecutor; import io.reactivex.Maybe; import io.reactivex.MaybeTransformer; /** * @author Saeed Masoumi (s-masoumi@live.com) */ public abstract class MaybeUseCase<R, Q> exte...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/usecase/MaybeUseCase.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
260
```java package easymvp.usecase; import easymvp.executer.PostExecutionThread; import easymvp.executer.UseCaseExecutor; import io.reactivex.Observable; import io.reactivex.ObservableTransformer; import javax.annotation.Nullable; /** * Created by megrez on 2017/3/12. */ public abstract class ObservableUseCase<R, Q> ...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/usecase/ObservableUseCase.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
258
```java package easymvp.usecase; import easymvp.executer.PostExecutionThread; import easymvp.executer.UseCaseExecutor; import io.reactivex.Scheduler; import javax.annotation.Nullable; /** * Each {@code UseCase} of the system orchestrate the flow of data to and from the entities. * <p> * Outer layers of system can...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/usecase/UseCase.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
398
```java package easymvp.executer; import io.reactivex.Scheduler; /** * Created by megrez on 2017/3/12. */ public interface PostExecutionThread { Scheduler getScheduler(); } ```
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/executer/PostExecutionThread.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
43
```java package easymvp.executer; import io.reactivex.Scheduler; /** * Created by megrez on 2017/3/12. */ public interface UseCaseExecutor { Scheduler getScheduler(); } ```
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/executer/UseCaseExecutor.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
43
```java package easymvp.boundary; import io.reactivex.functions.Function; /** * {@code DataMapper} transforms entities from the format most convenient for the use cases, to the * format most convenient for the presentation layer. * * @author Saeed Masoumi (saeed@6thsolution.com) */ public abstract class DataMapp...
/content/code_sandbox/easymvp-rx2-api/src/main/java/easymvp/boundary/DataMapper.java
java
2016-04-18T07:36:33
2024-07-24T13:57:59
EasyMVP
6thsolution/EasyMVP
1,296
83
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/llvm-win32-arm.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
243
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/flags-gcc.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
483
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/flags-gcc-aarch64.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
171
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/llvm-win32-i686.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
245
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/flags-gcc-i686.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
199
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/arch_detect.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
218
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/ddma.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,539
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/flags-gcc-x86_64.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
203
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/llvm-win32-x86_64.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
254
```shell #!/bin/sh # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 8...
/content/code_sandbox/bumpversion.sh
shell
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
698
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/llvm-macos-aarch64.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
188
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/llvm-win32-aarch64.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
248
```cmake # # 86Box A hypervisor and IBM PC system emulator that specializes in # running old operating systems and software designed for IBM # PC systems and compatibles from 1981 through fairly recent # system designs based on the PCI bus. # # This file is part of the 86Box distr...
/content/code_sandbox/cmake/flags-gcc-armv7.cmake
cmake
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
185
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/pic.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
6,943
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/log.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
932
```c see COPYING for more details */ /*IBM 5150 cassette nonsense Calls F979 twice Expects CX to be nonzero, BX >$410 and <$540 CX is loops between bit 4 of $62 changing BX is timer difference between calls */ #include <stdio.h> #include <stdint.h> #include <string.h> #include <wchar.h> #include <86box...
/content/code_sandbox/src/ppi.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
141
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/vnc_keymap.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
8,844
```c see COPYING for more details */ #include <stdio.h> #include <stdint.h> #include <string.h> #include <wchar.h> #include <86box/86box.h> #include <86box/io.h> #include <86box/lpt.h> #include <86box/pic.h> #include <86box/sound.h> #include <86box/prt_devs.h> #include <86box/thread.h> #include <86box/timer.h> #incl...
/content/code_sandbox/src/lpt.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,928
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/ioapic.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
993
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/discord.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,250
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
5,580
```c /* * VARCem Virtual ARchaeological Computer EMulator. * An emulator of (mostly) x86-based PC systems and devices, * using the ISA,EISA,VLB,MCA and PCI system buses, roughly * spanning the era between 1981 and 1995. * * Implement a generic NVRAM/CMOS/RTC device. * * *...
/content/code_sandbox/src/nvr.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,749
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/nvr_at.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
13,770
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/port_92.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,217
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/pit_fast.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
6,638
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/dma.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
15,016
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/pit.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
9,938
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/usb.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
4,330
```c /* * Generic FIFO component, implemented as a circular buffer. * * * This program is free software; you can redistribute it and/or * as published by the Free Software Foundation; either version * * with this program; if not, see <path_to_url */ #include <stdlib.h> #include <stdio.h> #include <stdint.h> #i...
/content/code_sandbox/src/fifo8.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,053
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/random.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
614
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/upi42.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
15,385
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/nvr_ps2.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,339
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/config.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
26,508
```c /* This can also serve as a sample PCI device. */ #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <wchar.h> #include <86box/86box.h> #include <86box/device.h> #include <86box/io.h> #include <86box/pci.h> #include <86box/pci_dummy.h> #include <86box/plat_fallthrough.h> #inclu...
/content/code_sandbox/src/pci_dummy.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,171
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/apm.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,022
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/io.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
7,260
```c #include <stdio.h> #include <stdint.h> #include <string.h> #include <wchar.h> #include <86box/io.h> #include <86box/mca.h> void (*mca_card_write[8])(int addr, uint8_t val, void *priv); uint8_t (*mca_card_read[8])(int addr, void *priv); uint8_t (*mca_card_feedb[8])(void *priv); void (*mca_card_reset[8])(void *priv...
/content/code_sandbox/src/mca.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
708
```c #include <inttypes.h> #include <stdlib.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include <86box/86box.h> #include <86box/plat.h> #include <86box/ui.h> #include <86box/timer.h> #include <86box/device.h> #include <86box/fdd.h> #include <86box/hdc.h> #include <86box/scsi.h> #include <86box/scsi...
/content/code_sandbox/src/machine_status.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
503
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/gdbstub.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
16,296
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/pci.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
7,520
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/vnc.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,269
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/port_6x.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,081
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/fifo.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
4,136
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/ini.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
5,480
```c #include <stdio.h> #include <stdint.h> #include <string.h> #include <wchar.h> #include <86box/86box.h> #include <86box/timer.h> uint64_t TIMER_USEC; uint32_t timer_target; /*Enabled timers are stored in a linked list, with the first timer to expire at the head.*/ pc_timer_t *timer_head = NULL; /* Are we initi...
/content/code_sandbox/src/timer.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,792
```c /* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or se...
/content/code_sandbox/src/cJSON.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
18,802
```c++ #include <mutex> #include <thread> #include <condition_variable> #include <86box/plat.h> #include <86box/thread.h> struct event_cpp11_t { std::condition_variable cond; std::mutex mutex; bool state = false; }; extern "C" { thread_t * thread_create_named(void (*threa...
/content/code_sandbox/src/thread.cpp
c++
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
700
```c see COPYING for more details */ #include <stdio.h> #include <stdint.h> #include <string.h> #include <wchar.h> #include <86box/io.h> #include <86box/nmi.h> #include <86box/plat_unused.h> int nmi_mask; void nmi_write(UNUSED(uint16_t port), uint8_t val, UNUSED(void *priv)) { nmi_mask = val & 0x80; } void nm...
/content/code_sandbox/src/nmi.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
145
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/86box.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
12,554
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/smbus_piix4.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
3,562
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/hwm_lm78.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
9,409
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/cartridge.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,354
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/acpi.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
24,688
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/pci_bridge.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
5,905
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/smbus_sis5595.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,954
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/hwm_vt82c686.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
1,955
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/smbus_ali7101.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
2,586
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/mouse_ps2.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
3,328
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/isapnp.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
12,091
```c /* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box di...
/content/code_sandbox/src/device/mouse_serial.c
c
2016-06-25T22:29:10
2024-08-16T19:09:21
86Box
86Box/86Box
2,616
8,916