Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
1900 | <NME> what_does_the_init_script_do.rst
<BEF> What does the init script do?
=============================
.. note::
This script tries to respect your existing environment as much as possible and
avoids the use of sudo except where necessary to install packages via your
system's package manager.
The init s... | 0 | DOCS : Added more explanation about what the hitch bootstrap script does. | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1901 | <NME> commandline.py
<BEF> """High level command line interface to hitch."""
from subprocess import call, PIPE, STDOUT, Popen
from hitch.click import command, group, argument, option
from os import path, makedirs, listdir, kill, remove
from sys import stderr, stdout, exit, modules, argv
from functools import partial, r... | 16 | FEATURE : Run system package installer after hitch install/hitch upgrade/hitch init. | 8 | .py | py | agpl-3.0 | hitchtest/hitch |
1902 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 1 | RELEASE : Bumped version. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1903 | <NME> generic_service_api.rst
<BEF> Generic Service API
===================
All of the services listed are created using the generic service API. This API lets
you start, monitor and stop any kind of process during a test.
Defining a Service Bundle
-------------------------
To run one or more services together durin... | 90 | DOCS : Updated API docs for plugins. | 5 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1904 | <NME> how_does_hitch_compare_to_other_technologies.rst
<BEF> How does Hitch compare to other technologies?
=============================================
Cucumber/Behave/RSpec/Behat/Behave
----------------------------------
Cucumber, RSpec, Behat and Behave and are all keyword driven test automation
frameworks that ru... | 1 | DOCS : typo | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1905 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
[*Win64-VS2015*](https://pan.baidu.com/s/1c2eX6lq) (OpenBLAS /... | 3 | fix the potential crash of DragonBoard | 3 | .md | md | bsd-2-clause | neopenx/Dragon |
1906 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
[*Win64-VS2015*](https://pan.baidu.com/s/1c2eX6lq) (OpenBLAS /... | 3 | fix the potential crash of DragonBoard | 3 | .md | md | bsd-2-clause | neopenx/Dragon |
1907 | <NME> index.rst
<BEF> Hitch
=====
Hitch is a framework for :doc:`/glossary/integration_testing`.
Features
--------
* Runs reliably without modification on Mac OS X, Ubuntu/Debian, Fedora, CentOS and Arch and in Docker.
* Automates its own deployment and does not interfere with your system other than to install packa... | 0 | DOCS : Removed tutorials contents entry. | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1908 | <NME> RedisCacheTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.subject.PrincipalCollection;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.StringSerializer;
import org.junit.jupiter.api.Ass... | 2 | rename class name , modify test case | 2 | .java | java | mit | alexxiyang/shiro-redis |
1909 | <NME> RedisCacheTest.java
<BEF> package org.crazycake.shiro;
import org.apache.commons.lang3.math.NumberUtils;
import org.apache.shiro.subject.PrincipalCollection;
import org.crazycake.shiro.exception.CacheManagerPrincipalIdNotAssignedException;
import org.crazycake.shiro.exception.PrincipalInstanceException;
import o... | 23 | Add support for strings being in Principal | 6 | .java | java | mit | alexxiyang/shiro-redis |
1910 | <NME> cudnn_device.cc
<BEF> #ifdef WITH_CUDNN
#include "core/types.h"
#include "core/tensor.h"
#include "utils/cudnn_device.h"
namespace dragon {
float CUDNNType<float>::oneval = 1.0;
float CUDNNType<float>::zeroval = 0.0;
const void* CUDNNType<float>::one =
static_cast<void *>(&CUDNNType<float>::oneval);
const void... | 34 | Fix/Refactor the GroupConvolution on cuDNN | 3 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1911 | <NME> cudnn_device.cc
<BEF> #ifdef WITH_CUDNN
#include "core/types.h"
#include "core/tensor.h"
#include "utils/cudnn_device.h"
namespace dragon {
float CUDNNType<float>::oneval = 1.0;
float CUDNNType<float>::zeroval = 0.0;
const void* CUDNNType<float>::one =
static_cast<void *>(&CUDNNType<float>::oneval);
const void... | 34 | Fix/Refactor the GroupConvolution on cuDNN | 3 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1912 | <NME> commandline.py
<BEF> """High level command line interface to hitch."""
from subprocess import call, check_output, PIPE, CalledProcessError
from click import command, group, argument, option
from sys import stderr, exit, modules, argv
from os import path, makedirs, listdir, getpgrp, killpg
import hitchdir
import s... | 11 | BUG : Instead of distributing process signal to everything in the process group (including the process running this process), just send it to the child process. | 10 | .py | py | agpl-3.0 | hitchtest/hitch |
1913 | <NME> commandline.py
<BEF> """High level command line interface to hitch."""
from subprocess import call, PIPE, STDOUT, Popen
from hitch.click import command, group, argument, option
from os import path, makedirs, listdir, kill, remove
from sys import stderr, stdout, exit, modules, argv
from functools import partial, r... | 28 | FEATURE : Added upgrade command to upgrade all requirements in hitchreqs.txt. | 6 | .py | py | agpl-3.0 | hitchtest/hitch |
1914 | <NME> index.rst
<BEF> Quickstart
==========
Contents:
.. toctree::
:glob:
:maxdepth: 2
*
chose postgres, the latest version of postgres will have been installed in the ~/.hitchpkg
directory and it will be running and accessible.
To exit, simply hit ctrl-D.
This will shut everything down and then quit.
Yo... | 119 | DOCS : Improvements to the documentation. | 7 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1915 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
cach... | 1 | Merge pull request #5 from alex-sherwin/patch-1 | 1 | .md | md | mit | alexxiyang/shiro-redis |
1916 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 1 | RELEASE : Bumped version. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1917 | <NME> RedisClusterManager.java
<BEF> ADDFILE
<MSG> add Redis cluster manager
<DFF> @@ -0,0 +1,211 @@
+package org.crazycake.shiro;
+
+import redis.clients.jedis.*;
+
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+public class RedisClusterManager implements IRedisManager {
+
+ protected ... | 211 | add Redis cluster manager | 0 | .java | java | mit | alexxiyang/shiro-redis |
1918 | <NME> hitchpostgres.rst
<BEF> HitchPostgres
=============
.. note::
This documentation applies to the latest version of hitchpostgres.
HitchPostgres is a :doc:`/glossary/hitch_plugin` created to make testing applications that use Postgresql easier.
It contains:
* A :doc:`/glossary/hitch_package` to download an... | 3 | DOCS : Substantion documentation update | 3 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1919 | <NME> vicious_cycle.rst
<BEF> ADDFILE
<MSG> DOCS : Added some terms to the glossary.
<DFF> @@ -0,0 +1,12 @@
+Vicious Cycle
+=============
+
+The terms vicious cycle refer to complex chains of events which reinforce themselves
+through a feedback loop with ultimately detrimental results.
+
+There are two common vicious... | 12 | DOCS : Added some terms to the glossary. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1920 | <NME> shiro-standalone.ini
<BEF> ADDFILE
<MSG> Merge branch 'master' of https://github.com/gjhuai/shiro-redis
<DFF> @@ -0,0 +1,4 @@
+redisManager.host = 127.0.0.1:6379
+redisSessionDAO.expire = 3000
+cacheManager.expire = 3000
+cacheManager.principalIdFieldName = userId
\ No newline at end of file
| 4 | Merge branch 'master' of https://github.com/gjhuai/shiro-redis | 0 | .ini | ini | mit | alexxiyang/shiro-redis |
1921 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 1 | RELEASE : Bumped release. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1922 | <NME> web_applications.rst
<BEF> How to test web applications
============================
Tutorial coming soon.
- Wait to appear: first friend-link
- Wait to appear: 2nd friend-link
- Wait to appear: Last friend-link
- Wait to appear: First calendar day-31
This is the recommended approach for items ... | 67 | DOCS : Fleshed out some how-to's | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1923 | <NME> commandline.py
<BEF> """High level command line interface to hitch."""
from subprocess import call, PIPE, STDOUT, Popen
from hitch.click import command, group, argument, option
from os import path, makedirs, listdir, kill, remove
from sys import stderr, stdout, exit, modules, argv
from functools import partial, r... | 4 | FEATURE : Hooked up cleanpkg command. | 2 | .py | py | agpl-3.0 | hitchtest/hitch |
1924 | <NME> commandline.py
<BEF> """High level command line interface to hitch."""
from subprocess import call, PIPE, STDOUT, Popen
from hitch.click import command, group, argument, option
from os import path, makedirs, listdir, kill, remove
from sys import stderr, stdout, exit, modules, argv
from functools import partial, r... | 6 | FEATURE : Run hitchquickstart if no existing project detected in directory. | 0 | .py | py | agpl-3.0 | hitchtest/hitch |
1925 | <NME> vagrant.rst
<BEF> ADDFILE
<MSG> DOCS : Added hitchvagrant plugin. Cleaned up part 3 of quickstart.
<DFF> @@ -0,0 +1,39 @@
+Vagrant
+=======
+
+.. note::
+
+ This documentation applies to the latest version of hitchvagrant: version 0.1
+
+Prerequisites
+-------------
+
+First, if it is not already installed, i... | 39 | DOCS : Added hitchvagrant plugin. Cleaned up part 3 of quickstart. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1926 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework
Code will be available soon.
<MSG> try it
<DFF> @@ -1,4 +1,179 @@
# Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework
-Code will be available soon.
+### Compile Requirements for C++
+
+0. Goo... | 176 | try it | 1 | .md | md | bsd-2-clause | neopenx/Dragon |
1927 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework
Code will be available soon.
<MSG> try it
<DFF> @@ -1,4 +1,179 @@
# Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework
-Code will be available soon.
+### Compile Requirements for C++
+
+0. Goo... | 176 | try it | 1 | .md | md | bsd-2-clause | neopenx/Dragon |
1928 | <NME> engine_api.rst
<BEF> Hitch Engine API
================
The Hitch Engine is a python class which is tasked with executing your tests
and responding to successes and failures.
For a test like this, written in YAML:
.. code-block:: yaml
- name: Example scenario
scenario:
- Do something
... | 9 | DOCS : Update to engine API settings. | 5 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1929 | <NME> index.rst
<BEF> ADDFILE
<MSG> DOCS : Added index for API folder.
<DFF> @@ -0,0 +1,12 @@
+Hitch API
+=========
+
+Documentation for Hitch core APIs.
+
+Contents:
+
+.. toctree::
+ :glob:
+ :maxdepth: 1
+
+ *
| 12 | DOCS : Added index for API folder. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1930 | <NME> isolation.rst
<BEF> Isolation
=========
Isolation is a property of tests that prevents system state from
'contaminating' the environment which a test runs under. It is a
particular problem when integration testing.
Non-isolated integration tests are often referred to as :doc:`/glossary/brittle_tests`.
Common ex... | 1 | DOCS : Continued overhaul of docs. | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1931 | <NME> setup.py
<BEF> from distutils.core import setup
import os.path, sys
import shutil
packages = []
def find_packages(root_dir):
filenames = os.listdir(root_dir)
for filename in filenames:
filepath = os.path.join(root_dir, filename)
if os.path.isdir(filepath):
find_packages(filep... | 1 | Add ClearWorkspace interface | 1 | .py | py | bsd-2-clause | neopenx/Dragon |
1932 | <NME> setup.py
<BEF> from distutils.core import setup
import os.path, sys
import shutil
packages = []
def find_packages(root_dir):
filenames = os.listdir(root_dir)
for filename in filenames:
filepath = os.path.join(root_dir, filename)
if os.path.isdir(filepath):
find_packages(filep... | 1 | Add ClearWorkspace interface | 1 | .py | py | bsd-2-clause | neopenx/Dragon |
1933 | <NME> RedisSentinelManager.java
<BEF> package org.crazycake.shiro;
import org.crazycake.shiro.common.WorkAloneRedisManager;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisSentinelPool;
import redis.clients.jedis.Protocol;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;... | 1 | Update RedisSentinelManager.java | 1 | .java | java | mit | alexxiyang/shiro-redis |
1934 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
#req... | 5 | Update README.md | 0 | .md | md | mit | alexxiyang/shiro-redis |
1935 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
===========
You can chose these 2 ways to include shiro-redis into your project
1. directly download jar fi... | 2 | Update README.md | 2 | .md | md | mit | alexxiyang/shiro-redis |
1936 | <NME> clarifying_documentation.rst
<BEF> Clarifying documentation
========================
Was there something you were confused about? Does a part of the documentation
not make sense? Is there something you think is missing but should be there?
Is there something you think should be made obvious but you had to dig ar... | 13 | DOCS : Improvement to docs. | 6 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1937 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 2 | Use jdk 1.8 in 3.3.1 | 2 | .md | md | mit | alexxiyang/shiro-redis |
1938 | <NME> ProcessAgent.py
<BEF> # --------------------------------------------------------
# GA3C for Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
from datetime import datetime
from multiprocessing import Process, Queue, Value
import numpy as np
imp... | 2 | Mix Static/Dynamic Arguments | 0 | .py | py | bsd-2-clause | neopenx/Dragon |
1939 | <NME> ProcessAgent.py
<BEF> # --------------------------------------------------------
# GA3C for Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
from datetime import datetime
from multiprocessing import Process, Queue, Value
import numpy as np
imp... | 2 | Mix Static/Dynamic Arguments | 0 | .py | py | bsd-2-clause | neopenx/Dragon |
1940 | <NME> commandline.py
<BEF> """High level command line interface to hitch."""
from subprocess import call, PIPE, STDOUT, Popen
from hitch.click import command, group, argument, option
from os import path, makedirs, listdir, kill, remove
from sys import stderr, stdout, exit, modules, argv
from functools import partial, r... | 1 | FEATURE : Changed exit code to zero when running hitch init in a folder where .hitch directory already exists. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1941 | <NME> RedisManagerTest.java
<BEF> ADDFILE
<MSG> add RedisManager test case
<DFF> @@ -0,0 +1,33 @@
+package org.crazycake.shiro;
+
+import static org.junit.Assert.*;
+
+import org.junit.Before;
+import org.junit.Test;
+
+public class RedisManagerTest {
+
+
+ @Test
+ public void testSet(){
+ RedisManager redisManager... | 33 | add RedisManager test case | 0 | .java | java | mit | alexxiyang/shiro-redis |
1942 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
===========
You can chose these 2 ways to include shiro-redis into your project
* directly download jar fil... | 1 | Update README.md | 2 | .md | md | mit | alexxiyang/shiro-redis |
1943 | <NME> op_kernel.cu <BEF> #ifdef WITH_CUDA #include <cmath> #include "core/context_cuda.h" #include "core/tensor.h" #include "utils/cuda_device.h" #include "utils/op_kernel.h" #include "utils/math_functions.h" namespace dragon { namespace kernel { template <typename T> __global__ void _Empty() { } template<> void Empty<... | 84 | Refactor Shape Module | 50 | .cu | cu | bsd-2-clause | neopenx/Dragon |
1944 | <NME> op_kernel.cu <BEF> #ifdef WITH_CUDA #include <cmath> #include "core/context_cuda.h" #include "core/tensor.h" #include "utils/cuda_device.h" #include "utils/op_kernel.h" #include "utils/math_functions.h" namespace dragon { namespace kernel { template <typename T> __global__ void _Empty() { } template<> void Empty<... | 84 | Refactor Shape Module | 50 | .cu | cu | bsd-2-clause | neopenx/Dragon |
1945 | <NME> RedisCacheManagerTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.cache.Cache;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.CoreMatchers.is;
... | 2 | 1、 在org.crazycake.shiro.RedisCache#put(key,value)时, 允许设置超时时间。 2、 在org.crazycake.shiro.RedisCacheManager#getCache(name)时, 将name扩展至key的前缀keyPrefix, 防止在获取不同name的Cache 时冲突。 | 2 | .java | java | mit | alexxiyang/shiro-redis |
1946 | <NME> engine_api.rst
<BEF> Hitch Engine API
================
The Hitch Engine is a python class which is tasked with executing your tests
and responding to successes and failures.
The basic Hitch Engine looks something like this:
.. code-block:: python
import hitchtest
class ExecutionEngine(hitchtest.Execu... | 11 | DOCS : Tweaked the engine API docs. | 10 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1947 | <NME> RedisSessionDAO.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.UnknownSessionException;
import org.apache.shiro.session.mgt.eis.AbstractSessionDAO;
import org.crazycake.shiro.common.SessionInMemory;
import org.crazycake.shiro.exception.Serializati... | 8 | 2.4.8 Major changes: 1. Use Threadlocal to cache session in one thread, so that it won't call redis several times when login. 2. Update RedisCache.clear(). Use prefix to clear redis cache, so that it won't clear all data in redis database 3. Fix the problem which auth object cannot be clear after logout. | 0 | .java | java | mit | alexxiyang/shiro-redis |
1948 | <NME> ROADMAP.rst
<BEF> ADDFILE
<MSG> DOCS : Added roadmap.
<DFF> @@ -0,0 +1,16 @@
+Roadmap
+=======
+
+This is a list of features which are planned for the future, in no particular order:
+
+* Service plugins for lots more popular databases, web frameworks, task queues and more - even in PHP, Java, Ruby, etc. and tut... | 16 | DOCS : Added roadmap. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1949 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
===========
You can chose these 2 ways to include shiro-redis into your project
```xml
<dependency>
... | 4 | Update README.md | 2 | .md | md | mit | alexxiyang/shiro-redis |
1950 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
===========
You can choose these 2 ways to include shiro-redis into your project
* compiler jar with source... | 1 | Merge remote-tracking branch 'origin/master' | 2 | .md | md | mit | alexxiyang/shiro-redis |
1951 | <NME> gradient_maker.py
<BEF> # --------------------------------------------------------------------------------------------------
# Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
from __future__ import absolute_import
from __future__ import divisi... | 0 | fix bugs of https://github.com/neopenx/Dragon/issues/6 | 1 | .py | py | bsd-2-clause | neopenx/Dragon |
1952 | <NME> gradient_maker.py
<BEF> # --------------------------------------------------------------------------------------------------
# Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
from __future__ import absolute_import
from __future__ import divisi... | 0 | fix bugs of https://github.com/neopenx/Dragon/issues/6 | 1 | .py | py | bsd-2-clause | neopenx/Dragon |
1953 | <NME> README.rst
<BEF> Hitch
=====
.. image:: https://badges.gitter.im/Join%20Chat.svg
:alt: Join the chat at https://gitter.im/hitchtest/hitch
:target: https://gitter.im/hitchtest/hitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
Hitch is a UNIX-based testing framework for writing... | 1 | DOCS : Missed a link from README. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1954 | <NME> RedisSessionDAOTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.UnknownSessionException;
import org.crazycake.shiro.model.FakeSession;
import org.crazycake.shiro.serializer.StringSerializer;
import org.junit.Before;
import org.junit.Test;
impor... | 19 | Remove expired sessionInMap when there is new session in sessionInMap | 3 | .java | java | mit | alexxiyang/shiro-redis |
1955 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
secu... | 0 | try to remember | 1 | .md | md | mit | alexxiyang/shiro-redis |
1956 | <NME> README.md
<BEF> shiro-redis
===========
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
<MSG> Update README.md
<DFF> @@ -2,3 +2,19 @@ shiro-redis
===========
shiro only provide the support of ehcache and concur... | 16 | Update README.md | 0 | .md | md | mit | alexxiyang/shiro-redis |
1957 | <NME> RedisCacheManager.java
<BEF> package org.yqr.shiro;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.apache.shiro.cache.CacheManager;
import org.crazycake.shiro.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.RedisSerializer;
import org.crazy... | 1 | chang group id | 1 | .java | java | mit | alexxiyang/shiro-redis |
1958 | <NME> shiro.ini
<BEF> ADDFILE
<MSG> Merge pull request #1 from theChefArchitect/master
Jedis upgrade & custom Redis key prefixes
<DFF> @@ -0,0 +1,46 @@
+# =============================================================================
+# Tutorial INI configuration
+#
+# Usernames/passwords are based on the classic Mel B... | 46 | Merge pull request #1 from theChefArchitect/master | 0 | .ini | ini | mit | alexxiyang/shiro-redis |
1959 | <NME> commandline.py
<BEF> """Command line interface to hitch."""
from click import command, group, argument, option
from subprocess import call, check_output, PIPE
from os import path, makedirs
from sys import stderr, exit
import hitchdir
import shutil
import signal
@group()
def cli():
"""Re-implemented CalledPro... | 59 | FEATURE : Decoupled CLI for hitch test (and other hitch apps) from this app, meaning it should need less frequent updates | 35 | .py | py | agpl-3.0 | hitchtest/hitch |
1960 | <NME> contributors.rst
<BEF> Contributors
============
* Jon Hadfield @jonhadfield
* Omer Katz @omerkatz
Additional thanks to
====================
* Phoebe Bright @phoebebright
* Rui Pacheco @ruipacheco
* Andy Baker @andybak
* Audrey Roy Greenfeld @audreyr
* Daniel Greenfeld @pydanny
<MSG> Added new contributor
<... | 1 | Added new contributor | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1961 | <NME> unit_overtesting.rst
<BEF> ADDFILE
<MSG> DOCS : More glossary
<DFF> @@ -0,0 +1,9 @@
+Unit Overtesting
+================
+
+Unit overtesting is a :doc:`testing_antipattern` where unit tests are
+overused to test :doc:`integration_code`.
+
+Unit tests used to test integration code do provide protection from
+:doc:... | 9 | DOCS : More glossary | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1962 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 1 | RELEASE : Bumped version. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1963 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
import subprocess
import codecs
import sys
import os
def read(*parts):
# intentionally *not* adding an encoding option to open
# see here: https://github.... | 11 | BUG : Fixed bootstrap so that it works under python 2.6 and added switch to let you pick a virtualenv. | 2 | .py | py | agpl-3.0 | hitchtest/hitch |
1964 | <NME> AppTest.java
<BEF> ADDFILE
<MSG> initailcommit
<DFF> @@ -0,0 +1,38 @@
+package org.yqr.shiro_redis;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Creat... | 38 | initailcommit | 0 | .java | java | mit | alexxiyang/shiro-redis |
1965 | <NME> hitchselenium.rst
<BEF> HitchSelenium
=============
.. note::
This documentation applies to the latest version of hitchselenium.
HitchSelenium is a :doc:`/glossary/hitch_plugin` specifically to make testing web applications easier.
It contains:
* A :doc:`/glossary/service` to run firefox and provide acc... | 1 | DOCS : Added more explanations to the documentation. | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1966 | <NME> gen_lmdb.py
<BEF> # --------------------------------------------------------
# Cifar-10 for Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
""" Generate database """
import os
import sys
import time
import shutil
import tarfile
from six.moves... | 8 | io refactoring | 1 | .py | py | bsd-2-clause | neopenx/Dragon |
1967 | <NME> gen_lmdb.py
<BEF> # --------------------------------------------------------
# Cifar-10 for Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
""" Generate database """
import os
import sys
import time
import shutil
import tarfile
from six.moves... | 8 | io refactoring | 1 | .py | py | bsd-2-clause | neopenx/Dragon |
1968 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 1 | RELEASE : Bumped version | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1969 | <NME> index.rst
<BEF> ADDFILE
<MSG> DOCS : Updated documentation.
<DFF> @@ -0,0 +1,12 @@
+Hitch Services Documentation
+============================
+
+Documentation for Hitch service plugins.
+
+Contents:
+
+.. toctree::
+ :glob:
+ :maxdepth: 1
+
+ *
| 12 | DOCS : Updated documentation. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1970 | <NME> README.md
<BEF> shiro-redis
[](https://travis-ci.org/alexxiyang/shiro-redis)
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Docum... | 1 | Update README.md | 1 | .md | md | mit | alexxiyang/shiro-redis |
1971 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
| Ti... | 9 | README.md 中 redis-manager 写成 redis-anager | 9 | .md | md | mit | alexxiyang/shiro-redis |
1972 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
#===... | 93 | Update README.md. Add configurable options section. Move most of attributes in example into configurable options. | 153 | .md | md | mit | alexxiyang/shiro-redis |
1973 | <NME> step_library.rst
<BEF> ADDFILE
<MSG> DOCS : Added more definitions to the glossary.
<DFF> @@ -0,0 +1,5 @@
+Step Library
+============
+
+A step library is a class that contains a group of predefined steps that
+can be used in an engine.
| 5 | DOCS : Added more definitions to the glossary. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1974 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
# re... | 19 | Merge pull request #2 from alexxiyang/master | 20 | .md | md | mit | alexxiyang/shiro-redis |
1975 | <NME> why_is_hitch_so_fast.rst
<BEF> Why is Hitch so fast?
=====================
<MSG> DOCS : Updated docs.
<DFF> @@ -1,3 +1,59 @@
Why is Hitch so fast?
=====================
+There are two main reasons why Hitch is generally faster than other testing
+frameworks: parallelization and built in epoll/kqueue trigge... | 56 | DOCS : Updated docs. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1976 | <NME> commandline.py
<BEF> """High level command line interface to hitch."""
from subprocess import call, PIPE, STDOUT, Popen
from hitch.click import command, group, argument, option
from os import path, makedirs, listdir, kill, remove
from sys import stderr, stdout, exit, modules, argv
from functools import partial, r... | 4 | FEATURE : Print the jinja2 generated YAML using the hitch test command. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1977 | <NME> automated_overtesting.rst
<BEF> Automated Overtesting
=====================
Automated overtesting is a :doc:`testing_antipattern` where
new automated test cases are written and committed to source control,
for scenarios where:
* No bug was found, either by users or by :doc:`exploratory_testing`.
* Where there w... | 3 | DOCS : Updated glossary | 3 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1978 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if version_info[0] == 2:
if version_info[1] < 6:
stderr.write("Hitch wil... | 2 | COPY : Clarified wording for errors when being installed in the wrong versions of python. | 2 | .py | py | agpl-3.0 | hitchtest/hitch |
1979 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 1 | RELEASE : Bumped version. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1980 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 1 | Merge remote-tracking branch 'origin/master' | 1 | .md | md | mit | alexxiyang/shiro-redis |
1981 | <NME> RedisCacheManagerTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.cache.Cache;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.CoreMatchers.is;
... | 2 | Merge branch 'master' of https://github.com/alexxiyang/shiro-redis | 2 | .java | java | mit | alexxiyang/shiro-redis |
1982 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
# re... | 36 | add Redis cluster manager readme | 0 | .md | md | mit | alexxiyang/shiro-redis |
1983 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
| ma... | 1 | Update README.md. Update jedisPoolConfig section | 1 | .md | md | mit | alexxiyang/shiro-redis |
1984 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> add travis
<DFF> @@ -0,0 +1,1 @@
+language: java
\ No newline at end of file
| 1 | add travis | 0 | .yml | travis | mit | alexxiyang/shiro-redis |
1985 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 5 | DOCS : Added explanation in the README, setup.py and made some tweaks to the django tutorial. | 3 | .py | py | agpl-3.0 | hitchtest/hitch |
1986 | <NME> index.rst
<BEF> Hitch
=====
Hitch is a framework for :doc:`/glossary/integration_testing`.
Features
--------
* Runs reliably without modification on Mac OS X, Ubuntu/Debian, Fedora, CentOS and Arch and in Docker.
* Automates its own deployment and does not interfere with your system other than to install packa... | 1 | DOCS : Added more on BDD and ATDD. | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1987 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
# Se... | 4 | Update README.md | 7 | .md | md | mit | alexxiyang/shiro-redis |
1988 | <NME> RedisManager.java
<BEF> package org.crazycake.shiro;
import org.crazycake.shiro.common.WorkAloneRedisManager;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.Protocol;
public class RedisManager extends BaseRedisManager implements IRedisManager{
private String host = "127.0.0.1";
private int po... | 4 | Update README.md | 2 | .java | java | mit | alexxiyang/shiro-redis |
1989 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help ... | 1 | Use github Page | 432 | .md | md | mit | alexxiyang/shiro-redis |
1990 | <NME> RedisSessionDAO.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.UnknownSessionException;
import org.apache.shiro.session.mgt.eis.AbstractSessionDAO;
import org.crazycake.shiro.common.SessionInMemory;
import org.crazycake.shiro.exception.Serializati... | 4 | Add sentinel support | 4 | .java | java | mit | alexxiyang/shiro-redis |
1991 | <NME> RedisSessionDAOTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.InvalidSessionException;
import org.apache.shiro.session.Session;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.model.FakeSession;
import org.crazycake.shiro.serializer.StringSeri... | 6 | Add tearDown to testCase | 0 | .java | java | mit | alexxiyang/shiro-redis |
1992 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
7. Setup MPI [Optional]
#### Linux:
- We use OpenMPI which suppo... | 1 | soft-target support for softmax crossentropy | 1 | .md | md | bsd-2-clause | neopenx/Dragon |
1993 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
7. Setup MPI [Optional]
#### Linux:
- We use OpenMPI which suppo... | 1 | soft-target support for softmax crossentropy | 1 | .md | md | bsd-2-clause | neopenx/Dragon |
1994 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
... | 0 | Update README.md | 33 | .md | md | mit | alexxiyang/shiro-redis |
1995 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
## Documentation
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
<dep... | 1 | Merge remote-tracking branch 'origin/master' | 1 | .md | md | mit | alexxiyang/shiro-redis |
1996 | <NME> ObjectSerializer.java
<BEF> package org.crazycake.shiro.serializer;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import org.crazycake.shiro.exception.Serial... | 1 | Fix https://github.com/alexxiyang/shiro-redis/issues/84. Load class from multiple levels | 4 | .java | java | mit | alexxiyang/shiro-redis |
1997 | <NME> MultiClassLoaderObjectInputStream.java
<BEF> package org.crazycake.shiro.serializer;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectStreamClass;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* For fixing https://github.com/alexxiya... | 3 | format code | 6 | .java | java | mit | alexxiyang/shiro-redis |
1998 | <NME> setup.py
<BEF> # -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
from sys import version_info, stderr, exit
import codecs
import sys
import os
if sys.platform == "win32" or sys.platform == "cygwin":
stderr.write("Hitch wil... | 1 | BUG : hitch clean command was broken and -r switch should not have been present (yet). | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1999 | <NME> RedisSentinelManager.java
<BEF> package org.crazycake.shiro;
import org.crazycake.shiro.common.WorkAloneRedisManager;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisSentinelPool;
import redis.clients.jedis.Protocol;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;... | 1 | refactor | 3 | .java | java | mit | alexxiyang/shiro-redis |