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 |
|---|---|---|---|---|---|---|---|---|
1700 | <NME> RedisCacheManager.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.cache.Cache;
import org.apache.shiro.cache.CacheException;
import org.apache.shiro.cache.CacheManager;
import org.crazycake.shiro.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.RedisSerializer;
import org.crazyc... | 1 | Fix authorization cannot be saved as TTL=-1 bug. Remove DEFAULT_EXPIRE of RedisManager. | 1 | .java | java | mit | alexxiyang/shiro-redis |
1701 | <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/).
## ... | 1 | Update README.md | 1 | .md | md | mit | alexxiyang/shiro-redis |
1702 | <NME> RedisSentinelManager.java
<BEF> package org.crazycake.shiro;
import redis.clients.jedis.JedisPoolConfig;
import redis.clients.jedis.JedisSentinelPool;
import redis.clients.jedis.Protocol;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
public class RedisSentinelManager extends Wor... | 11 | Merge branch 'master' of https://github.com/alexxiyang/shiro-redis | 18 | .java | java | mit | alexxiyang/shiro-redis |
1703 | <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
import hitchdir
import shutil
import sign... | 9 | BUG : Exit signals were not being distributed properly to the process group. This fixes that. | 6 | .py | py | agpl-3.0 | hitchtest/hitch |
1704 | <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 y... | 4 | Use github Page | 2 | .md | md | mit | alexxiyang/shiro-redis |
1705 | <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/).
| ex... | 4 | Update README.md | 4 | .md | md | mit | alexxiyang/shiro-redis |
1706 | <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 pull request #33 from ThePigsy/work-timeout | 2 | .java | java | mit | alexxiyang/shiro-redis |
1707 | <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 | Merge branch 'master' of github.com:hitchtest/hitch | 2 | .py | py | agpl-3.0 | hitchtest/hitch |
1708 | <NME> shiro-standalone.ini
<BEF> ADDFILE
<MSG> Use pillow test to refactor unit tests. Fix defeats
<DFF> @@ -0,0 +1,4 @@
+redisManager.host = 192.168.10.10:6379
+redisSessionDAO.expire = 30
+cacheManager.expire = 30
+cacheManager.principalIdFieldName = userId
\ No newline at end of file
| 4 | Use pillow test to refactor unit tests. Fix defeats | 0 | .ini | ini | mit | alexxiyang/shiro-redis |
1709 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 6 | Add `working with spring-boot-devtools` | 0 | .md | md | mit | alexxiyang/shiro-redis |
1710 | <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... | 1 | Modify RedisCacheTest.testSize() | 1 | .java | java | mit | alexxiyang/shiro-redis |
1711 | <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 | Fix issue caused by Python 3 version including a letter. | 2 | .py | py | agpl-3.0 | hitchtest/hitch |
1712 | <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 | Prepare for 3.0.0 | 1 | .md | md | mit | alexxiyang/shiro-redis |
1713 | <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.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.... | 2 | Merge pull request #37 from xchendeveloper/redis-manager-refactor | 2 | .java | java | mit | alexxiyang/shiro-redis |
1714 | <NME> RedisCache.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.cache.Cache;
import org.apache.shiro.cache.CacheException;
import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.util.CollectionUtils;
import org.crazycake.shiro.exception.CacheManagerPrincipalIdNotAssignedException... | 3 | add check for String | 1 | .java | java | mit | alexxiyang/shiro-redis |
1715 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 6 | Use jdk 1.8 in 3.3.1 | 4 | .md | md | mit | alexxiyang/shiro-redis |
1716 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 1 | Upgrade shiro-spring-boot-starter version | 1 | .md | md | mit | alexxiyang/shiro-redis |
1717 | <NME> RedisSessionDAOTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.InvalidSessionException;
import org.apache.shiro.session.Session;
import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.serializer.ObjectS... | 0 | Move IRedisManager back to root | 1 | .java | java | mit | alexxiyang/shiro-redis |
1718 | <NME> solve_quick.py
<BEF> ADDFILE
<MSG> add examples/cifar10
<DFF> @@ -0,0 +1,19 @@
+# --------------------------------------------------------
+# Cifar-10 for Dragon
+# Copyright(c) 2017 SeetaTech
+# Written by Ting Pan
+# --------------------------------------------------------
+
+""" Train a cifar-10 net """
+
+im... | 19 | add examples/cifar10 | 0 | .py | py | bsd-2-clause | neopenx/Dragon |
1719 | <NME> solve_quick.py
<BEF> ADDFILE
<MSG> add examples/cifar10
<DFF> @@ -0,0 +1,19 @@
+# --------------------------------------------------------
+# Cifar-10 for Dragon
+# Copyright(c) 2017 SeetaTech
+# Written by Ting Pan
+# --------------------------------------------------------
+
+""" Train a cifar-10 net """
+
+im... | 19 | add examples/cifar10 | 0 | .py | py | bsd-2-clause | neopenx/Dragon |
1720 | <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
* directly download jar file
Download shiro-redis.jar in bin folder and add it into your ... | 1 | Update README.md | 0 | .md | md | mit | alexxiyang/shiro-redis |
1721 | <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... | 3 | Fix test case. Release 3.2.0 | 2 | .java | java | mit | alexxiyang/shiro-redis |
1722 | <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 | add redis sentinel support | 20 | .md | md | mit | alexxiyang/shiro-redis |
1723 | <NME> README.rst
<BEF> Hitch
=====
Hitch is a loosely-coupled, isolated by design testing framework built upon python's
unittest that lets you write simple, easy to read and easy to debug tests for *any*
software (not just web apps and not just python apps).
* `Test readability <https://hitchtest.readthedocs.org/en/la... | 4 | Added Gitter badge | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1724 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
2. CUDA [Optional]
3. CUDNN [Optional]
4. OpenMPI [Optional]
-----... | 4 | add NCCL support for synchronous distributed training | 0 | .md | md | bsd-2-clause | neopenx/Dragon |
1725 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
2. CUDA [Optional]
3. CUDNN [Optional]
4. OpenMPI [Optional]
-----... | 4 | add NCCL support for synchronous distributed training | 0 | .md | md | bsd-2-clause | neopenx/Dragon |
1726 | <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/).
</be... | 4 | Add warning which tell people to use the 3 parameter constructor of SimpleAuthenticationInfo | 0 | .md | md | mit | alexxiyang/shiro-redis |
1727 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 1 | Update README.md | 1 | .md | md | mit | alexxiyang/shiro-redis |
1728 | <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 |
1729 | <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 |
1730 | <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... | 1 | Release 2.8.6 - Support multiple authorization realms cache - Remove IRedisManager.set(key, value, expire) | 1 | .java | java | mit | alexxiyang/shiro-redis |
1731 | <NME> RedisSessionDAOTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.UnknownSessionException;
import org.apache.shiro.session.mgt.SimpleSession;
import org.junit.Before;
import org.junit.Test;
import java.util.*;
import static org.hamcrest.CoreMat... | 78 | - Enhance RedisSessionDaoTest | 55 | .java | java | mit | alexxiyang/shiro-redis |
1732 | <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... | 14 | Release 3.1.0 | 17 | .md | md | mit | alexxiyang/shiro-redis |
1733 | <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... | 2 | resolve expire setting not working bug | 5 | .java | java | mit | alexxiyang/shiro-redis |
1734 | <NME> roi_pooling_op.cc
<BEF> #include "operators/vision/roi_pooling_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
#include "utils/op_kernel.h"
namespace dragon {
template <class Context> template <typename T>
void ROIPoolingOp<Context>::RunWithType() {
kernel::ROIPooling<T, Context>(spatial... | 5 | Refactor Norm Module | 12 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1735 | <NME> roi_pooling_op.cc
<BEF> #include "operators/vision/roi_pooling_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
#include "utils/op_kernel.h"
namespace dragon {
template <class Context> template <typename T>
void ROIPoolingOp<Context>::RunWithType() {
kernel::ROIPooling<T, Context>(spatial... | 5 | Refactor Norm Module | 12 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1736 | <NME> gradient_op.cc
<BEF> #include "operators/misc/gradient_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
namespace dragon {
template <class Context> template <typename T>
void GradientGenerateOp<Context>::RunWithType() {
for (int i = 0; i < OutputSize(); i++) {
if (output(i)->name(... | 5 | Remove Avatar on gathering gradients | 3 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1737 | <NME> gradient_op.cc
<BEF> #include "operators/misc/gradient_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
namespace dragon {
template <class Context> template <typename T>
void GradientGenerateOp<Context>::RunWithType() {
for (int i = 0; i < OutputSize(); i++) {
if (output(i)->name(... | 5 | Remove Avatar on gathering gradients | 3 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1738 | <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... | 7 | BUG : Replaced {}'s with {0}'s in strings to make the code work with earlier versions of python. | 5 | .py | py | agpl-3.0 | hitchtest/hitch |
1739 | <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... | 10 | DOCS : Modification to the FAQ comparison | 20 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1740 | <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
... | 30 | DOCS : Tidied up engine API docs. | 28 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1741 | <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... | 15 | BUG : Exits on ctrl-C unless a command is run. | 3 | .py | py | agpl-3.0 | hitchtest/hitch |
1742 | <NME> WorkAloneRedisManager.java
<BEF> package org.crazycake.shiro.common;
import org.crazycake.shiro.IRedisManager;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPoolConfig;
import redis.clients.jedis.ScanParams;
import redis.clients.jedis.ScanResult;
import java.util.HashSet;
import java.util.Li... | 1 | - Check expired sessionInThread in RedisSessionDAO - Add testing sessionInThread in integrationTest | 1 | .java | java | mit | alexxiyang/shiro-redis |
1743 | <NME> contributors.rst
<BEF> Contributors
============
* Jon Hadfield @jonhadfield
* Omer Katz @omerkatz
* Flavio Curella @fcurella
Additional thanks to
====================
* Phoebe Bright @phoebebright
* Rui Pacheco @ruipacheco
* Andy Baker @andybak
* Daniel Greenfeld @pydanny
<MSG> DOCS : Added more thanks.
<DF... | 2 | DOCS : Added more thanks. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1744 | <NME> RedisCacheTest.java
<BEF> package org.crazycake.shiro;
import org.junit.Before;
import org.junit.Test;
import java.util.*;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.assertThat;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
public class RedisCacheTest {
... | 95 | Release 2.8.10 - Enhance RedisCache | 60 | .java | java | mit | alexxiyang/shiro-redis |
1745 | <NME> README.md
<BEF> shiro-redis
=============
## Introduction
How to use it?
===========
Add sonatype release repository into your setting.xml
```xml
<repository>
<id>sonatype.maven.release</id>
<name>Sonatype Release Repository</name>
<url>https://oss.sonatype.org/content/repositories/releases</url>
</reposit... | 1 | change to download | 19 | .md | md | mit | alexxiyang/shiro-redis |
1746 | <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... | 21 | Add checkstyle | 12 | .java | java | mit | alexxiyang/shiro-redis |
1747 | <NME> LICENSE
<BEF> ADDFILE
<MSG> add MIT LICENSE
<DFF> @@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 xi yang
+
+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 restricti... | 21 | add MIT LICENSE | 0 | LICENSE | mit | alexxiyang/shiro-redis | |
1748 | <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... | 1 | Remove `checkstyle` dependency. Make `jedisPool` as a configurable attribute | 1 | .java | java | mit | alexxiyang/shiro-redis |
1749 | <NME> RedisClusterManagerTest.java
<BEF> package org.crazycake.shiro;
import org.junit.Before;
import org.junit.Test;
import redis.clients.jedis.JedisCluster;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import stati... | 7 | Release 3.2.3 | 0 | .java | java | mit | alexxiyang/shiro-redis |
1750 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
f = theano.function(outputs=y) # force the training phase ev... | 13 | add license and citation | 0 | .md | md | bsd-2-clause | neopenx/Dragon |
1751 | <NME> README.md
<BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework

-----
## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon).
f = theano.function(outputs=y) # force the training phase ev... | 13 | add license and citation | 0 | .md | md | bsd-2-clause | neopenx/Dragon |
1752 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 3 | Update README.md | 3 | .md | md | mit | alexxiyang/shiro-redis |
1753 | <NME> RedisSentinelManager.java
<BEF> package org.crazycake.shiro;
import redis.clients.jedis.JedisPoolConfig;
import redis.clients.jedis.JedisSentinelPool;
import redis.clients.jedis.Protocol;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
public class RedisSentinelManager extends Wor... | 11 | Merge pull request #38 from xchendeveloper/master-fork | 18 | .java | java | mit | alexxiyang/shiro-redis |
1754 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 7 | Add Jedis Version Comparison Charts | 0 | .md | md | mit | alexxiyang/shiro-redis |
1755 | <NME> test_driven_development.rst
<BEF> ADDFILE
<MSG> DOCS : General updates to the documentation
<DFF> @@ -0,0 +1,15 @@
+Test Driven Development
+=======================
+
+Test driven development is a development style where the developer
+writes a test *before* implementing a feature.
+
+While it is commonly used t... | 15 | DOCS : General updates to the documentation | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1756 | <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 | - Change dbSize implements into using scan | 2 | .java | java | mit | alexxiyang/shiro-redis |
1757 | <NME> languagestrings.py
<BEF>
SPECIFY_PYTHON_TO_CREATE_VIRTUALENV_WITH = """\
Create hitch virtualenv using specific python version
(e.g. /usr/bin/python3). Defaults to using python3 on the system path."""
SPECIFY_VIRTUALENV_TO_CREATE_HITCH_WITH = """\
Create hitch virtualenv using specific virtualenv
(e.g. /usr/bi... | 8 | FEATURE : Added more clarification to error strings. | 0 | .py | py | agpl-3.0 | hitchtest/hitch |
1758 | <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... | 1 | Merge pull request #7 from alexxiyang/master | 1 | .java | java | mit | alexxiyang/shiro-redis |
1759 | <NME> RedisSessionDAOTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.UnknownSessionException;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.model.FakeSession;
import org.crazycake.shiro.serializer.StringSeri... | 118 | - Upgrade packages version - Add integration-test - Update unit tests - Correct double checked locking | 100 | .java | java | mit | alexxiyang/shiro-redis |
1760 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 40 | Update README.md | 32 | .md | md | mit | alexxiyang/shiro-redis |
1761 | <NME> README.rst
<BEF> Hitch
=====
Hitch is a loosely-coupled, isolated by design testing framework built upon python's
unittest that lets you write simple, easy to read and easy to debug tests for *any*
software (not just web apps and not just python apps).
* `Test readability <https://hitchtest.readthedocs.org/en/la... | 4 | Merge branch 'master' of github.com:hitchtest/hitch | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1762 | <NME> RedisClusterManager.java
<BEF> ADDFILE
<MSG> Merge branch 'master' of https://github.com/alexxiyang/shiro-redis
<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 imp... | 211 | Merge branch 'master' of https://github.com/alexxiyang/shiro-redis | 0 | .java | java | mit | alexxiyang/shiro-redis |
1763 | <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... | 2 | BUG : Upgrade setuptools in the hitch virtualenv to prevent bugs caused by old versions. | 1 | .py | py | agpl-3.0 | hitchtest/hitch |
1764 | <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
... | 12 | DOCS : Tidied up engine API docs. | 2 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1765 | <NME> why_is_hitch_so_fast.rst
<BEF> 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 triggers.
Automatic Parallelization
-------------------------
When hitch services are started they are sta... | 3 | DOCS : Fixed line endings on latest FAQ. | 9 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1766 | <NME> what_does_the_init_script_do.rst
<BEF> What does the init script do?
=============================
The init script is a one step method of setting up a hitch environment and running
all the tests in a directory. It is intended to be a low friction way of getting a
development and testing environment up and runni... | 55 | DOCS : Updated the FAQ about the init script. | 35 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1767 | <NME> LICENSE
<BEF> ADDFILE
<MSG> Merge branch 'HEAD' of https://github.com/alexxiyang/shiro-redis.git
<DFF> @@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 xi yang
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "S... | 21 | Merge branch 'HEAD' of https://github.com/alexxiyang/shiro-redis.git | 0 | LICENSE | mit | alexxiyang/shiro-redis | |
1768 | <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... | 1 | Merge pull request #107 from qixiaobo/fix-typo | 1 | .java | java | mit | alexxiyang/shiro-redis |
1769 | <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
* directly download jar file
Download shiro-redis.jar in bin folder and add it into your ... | 3 | Update README.md | 3 | .md | md | mit | alexxiyang/shiro-redis |
1770 | <NME> README.md
<BEF> shiro-redis
=============
view [Documentation](http://alexxiyang.github.io/shiro-redis/)
Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/).
<MSG> Use github Page
<DFF> @@ -1,4 +1,9 @@
shiro-redis
=============
+[ 2017 SeetaTech
+# Source Code by Evan Shelhamer
+# Re-Written by Ting Pan
+# --------------------------------------------------------
+... | 239 | add examples/Seg-FCN | 0 | .py | py | bsd-2-clause | neopenx/Dragon |
1778 | <NME> voc_layers.py
<BEF> ADDFILE
<MSG> add examples/Seg-FCN
<DFF> @@ -0,0 +1,239 @@
+# --------------------------------------------------------
+# Seg-FCN for Dragon
+# Copyright (c) 2017 SeetaTech
+# Source Code by Evan Shelhamer
+# Re-Written by Ting Pan
+# --------------------------------------------------------
+... | 239 | add examples/Seg-FCN | 0 | .py | py | bsd-2-clause | neopenx/Dragon |
1779 | <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/).
# Cr... | 3 | Update README.md | 1 | .md | md | mit | alexxiyang/shiro-redis |
1780 | <NME> fused_batch_norm.cc
<BEF> #include "operators/norm/batch_norm_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
#include "utils/filler.h"
namespace dragon {
template <class Context> template <typename T>
void FusedBatchNormOp<Context>::TrainingRunWithType() {
INIT_MULTIPLIER(multiplier, NS... | 37 | Add Contrib ops | 13 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1781 | <NME> fused_batch_norm.cc
<BEF> #include "operators/norm/batch_norm_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
#include "utils/filler.h"
namespace dragon {
template <class Context> template <typename T>
void FusedBatchNormOp<Context>::TrainingRunWithType() {
INIT_MULTIPLIER(multiplier, NS... | 37 | Add Contrib ops | 13 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1782 | <NME> l2_norm_op.cc
<BEF> #include "operators/norm/l2_norm_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
namespace dragon {
template <class Context> template <typename T>
void L2NormOp<Context>::RunWithType() {
INIT_MULTIPLIER(multiplier, dim);
// normalize by outer dim independently
... | 2 | Fix the disorder while compiling ops | 1 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1783 | <NME> l2_norm_op.cc
<BEF> #include "operators/norm/l2_norm_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
namespace dragon {
template <class Context> template <typename T>
void L2NormOp<Context>::RunWithType() {
INIT_MULTIPLIER(multiplier, dim);
// normalize by outer dim independently
... | 2 | Fix the disorder while compiling ops | 1 | .cc | cc | bsd-2-clause | neopenx/Dragon |
1784 | <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 | Merge pull request #11 from jonhadfield/master | 2 | .py | py | agpl-3.0 | hitchtest/hitch |
1785 | <NME> languagestrings.py
<BEF>
SPECIFY_PYTHON_TO_CREATE_VIRTUALENV_WITH = """\
Create hitch virtualenv using specific python version
(e.g. /usr/bin/python3). Defaults to using python3 on the system path."""
SPECIFY_VIRTUALENV_TO_CREATE_HITCH_WITH = """\
Create hitch virtualenv using specific virtualenv
(e.g. /usr/bi... | 3 | FEATURE : Change when update_requirements is run -- now on installation and upgrade, not on test runs. | 5 | .py | py | agpl-3.0 | hitchtest/hitch |
1786 | <NME> README.md
<BEF> shiro-redis
=============
[](https://travis-ci.org/alexxiyang/shiro-redis)
[](https://maven-badges.herokuapp.com/mav... | 2 | Update README.md | 2 | .md | md | mit | alexxiyang/shiro-redis |
1787 | <NME> what_does_hitch_init_do.rst
<BEF> ADDFILE
<MSG> DOCS : What does hitch init do?
<DFF> @@ -0,0 +1,16 @@
+What does hitch init do?
+========================
+
+The "hitch init" command creates a .hitch directory in the current directory
+if one does not already exist. Inside this directory it installs a python
+vi... | 16 | DOCS : What does hitch init do? | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1788 | <NME> index.rst
<BEF> Hitch Plugin Documentation
==========================
Documentation for :doc:`/glossary/hitch_plugin`s.
Contents:
.. toctree::
:glob:
:maxdepth: 1
*
<MSG> DOCS : Updated docs
<DFF> @@ -1,7 +1,7 @@
Hitch Plugin Documentation
==========================
-Documentation for :doc:`/gl... | 1 | DOCS : Updated docs | 1 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1789 | <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... | 18 | FEATURE : Run hitchsystem installpackages before and after initializing .hitch | 13 | .py | py | agpl-3.0 | hitchtest/hitch |
1790 | <NME> RedisSentinelManager.java
<BEF> ADDFILE
<MSG> add sentinel support
<DFF> @@ -0,0 +1,229 @@
+package org.crazycake.shiro;
+
+import redis.clients.jedis.*;
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * support jedis sentinel
+ * @create 2018-02-26 11:16
+ **/
+
+public class RedisSentinelManager ... | 229 | add sentinel support | 0 | .java | java | mit | alexxiyang/shiro-redis |
1791 | <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<... | 375 | Refer the RoIAlign@Caffe2 | 280 | .cu | cu | bsd-2-clause | neopenx/Dragon |
1792 | <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<... | 375 | Refer the RoIAlign@Caffe2 | 280 | .cu | cu | bsd-2-clause | neopenx/Dragon |
1793 | <NME> refactor_your_tests.rst
<BEF> How to refactor your tests
==========================
A good, although uncommon development practice when building features or
fixing bugs is refactoring.
Refactoring means making small, incremental changes that improve the
quality of code.
This usually means:
* De-duplicating co... | 36 | DOCS : Docs updates | 5 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1794 | <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 | Release 2.8.8 1. Fix RedisCache keyprefix cannot be changed defect 2. Set separate expire time of Session and Cache instead of only one expire time of RedisManager | 1 | .md | md | mit | alexxiyang/shiro-redis |
1795 | <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... | 2 | Merge pull request #12 from thedrow/patch-1 | 4 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1796 | <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... | 0 | Change 2.4.8 README.md, remove NOTE. Salt is available now. | 4 | .md | md | mit | alexxiyang/shiro-redis |
1797 | <NME> fail_fast.rst
<BEF> ADDFILE
<MSG> DOCS : Updates to API documentation and glossary.
<DFF> @@ -0,0 +1,7 @@
+Fail Fast
+=========
+
+Fail fast is a testing principle.
+
+See: `Fail Fast Wikipedia Page <https://en.wikipedia.org/wiki/Fail_fast>`_
+
| 7 | DOCS : Updates to API documentation and glossary. | 0 | .rst | rst | agpl-3.0 | hitchtest/hitch |
1798 | <NME> RedisSessionDAOTest.java
<BEF> package org.crazycake.shiro;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.UnknownSessionException;
import org.crazycake.shiro.exception.SerializationException;
import org.junit.Before;
import org.junit.Test;
import java.io.Serializable;
import java.util... | 2 | - create serializer package - refactor cluster | 0 | .java | java | mit | alexxiyang/shiro-redis |
1799 | <NME> FakePrincipalWithDefaultId2.java
<BEF> ADDFILE
<MSG> - Add principalIdFieldName. Using reflection to get id of redis object instead of using AuthCachePrincipal
<DFF> @@ -0,0 +1,14 @@
+package org.crazycake.shiro.model;
+
+public class FakePrincipalWithDefaultId2 {
+
+ private Integer id;
+
+ public Integer... | 14 | - Add principalIdFieldName. Using reflection to get id of redis object instead of using AuthCachePrincipal | 0 | .java | java | mit | alexxiyang/shiro-redis |