text
large_stringlengths
384
2.05k
rank_avg
float64
1
4.19k
rank_max
float64
1
8.21k
rank_min
float64
1
5.03k
rank_median
float64
1
4.21k
rank_by_avgsim
float64
1
4.19k
avgsim_to_github
float32
0.77
0.85
dataset
large_stringclasses
1 value
& 0x0F ); res ~= toHexDigit(( c >> 4 ) & 0x0F ); res ~= toHexDigit(( c >> 0 ) & 0x0F ); } else { res ~= toHexDigit(( c >> 28 ) & 0x0F ); res ~= toHexDigit(( c >> 24 ) & 0x0F ); ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\_...
null
null
null
null
null
null
github_plus_top10pct_by_avg
rev [0] * samples [3]) >> 11; } #endif /* SPC_GAUSSIAN_FAST_INTERP */ #ifndef SPC_GAUSSIAN_FAST_AMP #define gaussian_fast_amp apply_amp #endif /* SPC_GAUSSIAN_FAST_AMP */ #ifndef SPC_GAUSSIAN_SLOW_INTERP static inline int gaussian_slow_interp( int16_t const* samples, int32_t...
null
null
null
null
null
null
github_plus_top10pct_by_avg
Dsp* this, uint8_t* const echo_ptr, int* out_0, int* out_1) { int fb_0 = GET_LE16SA( echo_ptr ); int fb_1 = GET_LE16SA( echo_ptr + 2 ); /* Keep last 8 samples */ int (* const fir_ptr) [2] = this->fir.buf + this->fir.pos; this->fir.pos = (this->fir.pos + 1) & (FIR_BUF_HALF - 1); ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
erate final output */ static inline void noecho_output( struct Spc_Dsp* this, int global_muting, int global_vol_0, int global_vol_1, int chans_0, int chans_1, int* out_0, int* out_1 ) { *out_0 = (chans_0 * global_vol_0) >> global_muting; *out_1 = (chans_1 * global_vol_1) >> global_muting; (void)thi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
e": "code", "execution_count": 8, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "'A' 65\n", "'a' 97\n", "'b' 98\n", "'c' 99\n", "' ' 32\n", "'c' - 'a' + 1 = 3\n" ] } ], "source...
null
null
null
null
null
null
github_plus_top10pct_by_avg
"text/plain": [ "[0, 2, 61, 1832, 54961, 1648833, 49464992]" ] }, "execution_count": 18, "metadata": {}, "output_type": "execute_result" } ], "source": [ "compute_hashes(\"babacb\")" ] }, { "cell_type": "code", "execution_count": 19, "metadata": { "col...
null
null
null
null
null
null
github_plus_top10pct_by_avg
h(bab) &=\\ & b*X^2 + a * X^1 + b*X^0&&\\\\\n", "\\text{we WANT }\\ \\ \\ & hash(ac) &=\\ & && a*X^1 + c*X^0\\\\\n", "\\end{align}\n", "\n", "\n", "From above we can clearly see that:\n", "\n", "$$\n", "hash(ac) = hash(babac) - X^2 * hash(bab)\n", "$$\n"...
null
null
null
null
null
null
github_plus_top10pct_by_avg
astructure that allows us to compute hashes of substrings in $O(1)$" ] }, { "cell_type": "code", "execution_count": 77, "metadata": { "collapsed": true }, "outputs": [], "source": [ "class Hasher(object):\n", " def __init__(self, word):\n", " self.h = compute_hashes(wo...
null
null
null
null
null
null
github_plus_top10pct_by_avg
count": 100, "metadata": { "collapsed": false }, "outputs": [], "source": [ "# hasher for text\n", "text_h = Hasher(\"to be or not to be\")" ] }, { "cell_type": "code", "execution_count": 101, "metadata": { "collapsed": false }, "outputs": [ { "data": { "...
null
null
null
null
null
null
github_plus_top10pct_by_avg
] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Rabin-Karp complexity analysis\n", "\n", "Assume that pattern is of length $n$ and text of length $m$\n", "\n", "- pattern hash: $O(n)$\n", "- text preprocessing $O(m)$.\n", "- $n - m$ iterations of main loop wi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
nInt64) // Latest is the latest Time representable. Handy for initializing // a low watermark. Latest = Time(math.MaxInt64) ) // Time is the number of milliseconds since the epoch // (1970-01-01 00:00 UTC) excluding leap seconds. type Time int64 // Interval describes an interval between two timestamps. type Interv...
null
null
null
null
null
null
github_plus_top10pct_by_avg
64) } // MarshalJSON implements the json.Marshaler interface. func (t Time) MarshalJSON() ([]byte, error) { return []byte(t.String()), nil } // UnmarshalJSON implements the json.Unmarshaler interface. func (t *Time) UnmarshalJSON(b []byte) error { p := strings.Split(string(b), ".") switch len(p) { case 1: v, er...
null
null
null
null
null
null
github_plus_top10pct_by_avg
unit := matches[2]; unit { case "y": dur *= 1000 * 60 * 60 * 24 * 365 case "w": dur *= 1000 * 60 * 60 * 24 * 7 case "d": dur *= 1000 * 60 * 60 * 24 case "h": dur *= 1000 * 60 * 60 case "m": dur *= 1000 * 60 case "s": dur *= 1000 case "ms": // Value already correct default: return 0, fmt.Errorf("...
null
null
null
null
null
null
github_plus_top10pct_by_avg
s required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ pa...
null
null
null
null
null
null
github_plus_top10pct_by_avg
non-schema namespace . . .}> * Content: (annotation?, (simpleType?)) * </list> * * <union * id = ID * memberTypes = List of QName * {any attributes with non-schema namespace . . .}> * Content: (annotation?, (simpleType*)) * </union> * * @xerces.internal * * @author Elena Litani, IBM * @author N...
null
null
null
null
null
null
github_plus_top10pct_by_avg
etGlobalTypeDecl(type.getName(), loc); if (type2 == null) { grammar.addGlobalSimpleTypeDecl(type, loc); } // handle duplicates if (fSchemaHandler.fTolerateDuplicates) { if (type2 != null) { if (type2 instanceof XSSimple...
null
null
null
null
null
null
github_plus_top10pct_by_avg
& (node != DOMUtil.getRoot(DOMUtil.getDocument(node)))) { typeName.append(node.getAttribute(SchemaSymbols.ATT_NAME)); node = DOMUtil.getParent(node); } return typeName.toString(); } /** * @param name * @param simpleTypeDecl * @param attrValues * @para...
null
null
null
null
null
null
github_plus_top10pct_by_avg
XSConstants.DERIVATION_RESTRICTION; boolean restriction = false, list = false, union = false; if (varietyProperty.equals(SchemaSymbols.ELT_RESTRICTION)) { refType = XSConstants.DERIVATION_RESTRICTION; restriction = true; } else if (varietyProperty.equals(SchemaSym...
null
null
null
null
null
null
github_plus_top10pct_by_avg
hemaDoc); if (annotation != null ) { if(annotations == null) { annotations = new XSAnnotationImpl [] {annotation}; } else { XSAnnotationImpl [] tempArray = new XSAnnotationImpl[2]; tempArray[0] = anno...
null
null
null
null
null
null
github_plus_top10pct_by_avg
// get the type decl dv = findDTValidator(child, name, memberTypes.get(i), XSConstants.DERIVATION_UNION, schemaDoc); if (dv != null) { // if it's a union, expand it if (dv.getVariety() == XSSimpleType.VARIETY_UNION) { ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
tem(j)); } } else { dTValidators.add(dv); } } // get the next element content = DOMUtil.getNextSiblingElement(content); ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
fAttrChecker.returnAttrArray(contentAttrs, schemaDoc); return errorType(name, schemaDoc.fTargetNamespace, XSConstants.DERIVATION_LIST); } // create the simple type based on the "base" type XSSimpleType newDecl = null; if (restriction) { newDe...
null
null
null
null
null
null
github_plus_top10pct_by_avg
tations, annotations.length)); } } // no element should appear after this point if (content != null) { if (restriction) { reportSchemaError("s4s-elt-must-match.1", new Object[]{SchemaSymbols.ELT_RESTRICTION, "(annotation?, (simpleType?, (minExclusive | min...
null
null
null
null
null
null
github_plus_top10pct_by_avg
st-restricts.1.1", new Object[]{baseTypeStr.rawname, refName}, elm); return null; } // if it's a complex type, or if its restriction of anySimpleType if (baseType == SchemaGrammar.fAnySimpleType && baseRefContext == XSConstants.DERIVATION_RESTRICTION) { // if...
null
null
null
null
null
null
github_plus_top10pct_by_avg
return true; if (validator.getVariety() == XSSimpleType.VARIETY_UNION) { XSObjectList temp = validator.getMemberTypes(); for (int i = 0; i < temp.getLength(); i++) { if (((XSSimpleType)temp.item(i)).getVariety() == XSSimpleType.VARIETY_LIST) { ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
f({'f':uctypes.FLOAT32})) print(uctypes.sizeof({'f':uctypes.FLOAT64})) <?php /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace M...
null
null
null
null
null
null
github_plus_top10pct_by_avg
* @covers Monolog\Formatter\ElasticaFormatter::getIndex * @covers Monolog\Formatter\ElasticaFormatter::getType */ public function testGetters() { $formatter = new ElasticaFormatter('my_index', 'doc_type'); $this->assertEquals('my_index', $formatter->getIndex()); $this->asse...
null
null
null
null
null
null
github_plus_top10pct_by_avg
# #*************************************************************************** ################################################################# # ## Makefile for building libcurl.nlm (NetWare version - gnu make) ## ## Use: make -f Makefile.netware # ################################################################# ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
below to point to your lib architecture. ifndef LIBARCH LIBARCH = LIBC endif # must be equal to NDEBUG or DEBUG, CURLDEBUG ifndef DB DB = NDEBUG endif # Optimization: -O<n> or debugging: -g ifeq ($(DB),NDEBUG) OPT = -O2 OBJDIR = release else OPT = -g OBJDIR = debug endif # The following lines defines your compil...
null
null
null
null
null
null
github_plus_top10pct_by_avg
FLAGS += -m32 CFLAGS += -fno-builtin -fno-strict-aliasing ifeq ($(findstring gcc,$(CC)),gcc) CFLAGS += -fpcc-struct-return endif CFLAGS += -Wall # -pedantic ifeq ($(LIBARCH),LIBC) ifeq ($(POSIXFL),1) PRELUDE = $(NDK_LIBC)/imports/posixpre.gcc.o else PRELUDE = $(NDK_LIBC)/imports/libcpre.gcc.o endif else PRELUDE = $...
null
null
null
null
null
null
github_plus_top10pct_by_avg
LUDES += -I$(LIBRTMP_PATH) LDLIBS += $(LIBRTMP_PATH)/librtmp/librtmp.$(LIBEXT) endif ifdef WITH_SSL INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L) LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT) LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT) IMPORTS += GetProcessSwitchCount Runnin...
null
null
null
null
null
null
github_plus_top10pct_by_avg
h $(OBJDIR)/%.o: %.c # @echo Compiling $< $(CC) $(CFLAGS) -c $< -o $@ $(OBJDIR)/version.inc: $(CURL_INC)/curl/curlver.h $(OBJDIR) @echo Creating $@ @$(AWK) -f ../packages/NetWare/get_ver.awk $< > $@ install: $(INSTDIR) all $(INSTDEP) @$(CP) $(TARGET).nlm $(INSTDIR) @$(CP) $(TARGET).$(LIBEXT) $(INSTDIR) @$(CP) ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
> $@ @echo $(DL)import @$(NDK_CLIB)/imports/nlmlib.imp$(DL) >> $@ @echo $(DL)import @$(NDK_CLIB)/imports/socklib.imp$(DL) >> $@ @echo $(DL)module clib$(DL) >> $@ ifndef DISABLE_LDAP @echo $(DL)import @$(NDK_LDAP)/clib/imports/ldapsdk.imp$(DL) >> $@ @echo $(DL)import @$(NDK_LDAP)/clib/imports/ldapssl.imp$(DL) >> $@...
null
null
null
null
null
null
github_plus_top10pct_by_avg
notdir $@) is created for NetWare platform!$(DL) >> $@ @echo $(DL)#endif$(DL) >> $@ @echo $(DL)#define VERSION "$(LIBCURL_VERSION_STR)"$(DL) >> $@ @echo $(DL)#define PACKAGE_BUGREPORT "a suitable curl mailing list => https://curl.haxx.se/mail/"$(DL) >> $@ ifeq ($(LIBARCH),CLIB) @echo $(DL)#define OS "i586-pc-clib-N...
null
null
null
null
null
null
github_plus_top10pct_by_avg
e HAVE_SYS_PARAM_H 1$(DL) >> $@ @echo $(DL)#define HAVE_SYS_SELECT_H 1$(DL) >> $@ @echo $(DL)#define HAVE_TERMIOS_H 1$(DL) >> $@ @echo $(DL)#define RECV_TYPE_ARG1 int$(DL) >> $@ @echo $(DL)#define RECV_TYPE_ARG2 void *$(DL) >> $@ @echo $(DL)#define RECV_TYPE_ARG3 size_t$(DL) >> $@ @echo $(DL)#define RECV_TYPE_ARG...
null
null
null
null
null
null
github_plus_top10pct_by_avg
(DL)#define HAVE_ERR_H 1$(DL) >> $@ @echo $(DL)#define HAVE_FCNTL_H 1$(DL) >> $@ @echo $(DL)#define HAVE_GETHOSTBYADDR 1$(DL) >> $@ @echo $(DL)#define HAVE_GETHOSTBYNAME 1$(DL) >> $@ @echo $(DL)#define HAVE_GETPROTOBYNAME 1$(DL) >> $@ @echo $(DL)#define HAVE_GMTIME_R 1$(DL) >> $@ @echo $(DL)#define HAVE_INET_ADDR...
null
null
null
null
null
null
github_plus_top10pct_by_avg
EADERS 1$(DL) >> $@ @echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@ ifdef DISABLE_LDAP @echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@ else @echo $(DL)#define CURL_HAS_NOVELL_LDAPSDK 1$(DL) >> $@ ifndef DISABLE_LDAPS @echo $(DL)#define HAVE_LDAP_SSL 1$(DL) >> $@ endif @echo $(DL)#define HAVE_LDAP_SSL_H 1$(DL)...
null
null
null
null
null
null
github_plus_top10pct_by_avg
endif ifdef WITH_NGHTTP2 @echo $(DL)#define USE_NGHTTP2 1$(DL) >> $@ endif @echo $(DL)#ifdef __GNUC__$(DL) >> $@ @echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@ @echo $(DL)#else$(DL) >> $@ @echo $(DL)#define HAVE_VARIADIC_MACROS_C99 1$(DL) >> $@ @echo $(DL)#endif$(DL) >> $@ ifdef CABUNDLE @echo $(DL)#d...
null
null
null
null
null
null
github_plus_top10pct_by_avg
�","အေဒီ"],"era_name":["ခရစ်တော် မပေါ်မီကာလ","ခရစ်တော် ပေါ်ထွန်းပြီးကာလ"],"month_name":["ဇန်နဝါရီ","ဖေဖော်ဝါရီ","မတ်","ဧပြီ","မေ","ဇွန်","ဇူလိုင်","ဩဂုတ်","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"month_short":["ဇန်","ဖေ","မတ်","ဧ","မေ","ဇွန်","ဇူ","ဩ","စက်","အောက်","နို","ဒီ"],"order_full":"MDY","order_long":"MDY...
null
null
null
null
null
null
github_plus_top10pct_by_avg
rmatCode) { var retVal = {}; retVal.format = df[formatCode]; return retVal; }; icu.getDateFormats = function() { return df; }; icu.getDateFormatSymbols = function() { return dfs; }; icu.getDecimalFormat = function(places) { var retVal = {}; retVal.format = function(n) { var ns = n < 0 ? Math.abs(n).toFixed(places) :...
null
null
null
null
null
null
github_plus_top10pct_by_avg
CTURE\SEQQUEUE\DEBUG\MAIN.OBJ C:\WINDOWS\SYSTEM32\TZRES.DLL D:\CPP\VC\LIB\MSVCPRTD.LIB D:\CPP\VC\LIB\MSVCRTD.LIB D:\CPP\VC\LIB\OLDNAMES.LIB /**************************************************************************/ /* */ /* Copyright ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
txm_module_manager_region_size_get Cortex-M7/MPU/IAR */ /* 6.0.1 */ /* AUTHOR */ /* */ /* Scott Larson...
null
null
null
null
null
null
github_plus_top10pct_by_avg
*/ /* RELEASE HISTORY */ /* */ /* DATE NAME DESCRIPTION */ /* ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
es for modules. */ return_value = 0x15; } return(return_value); } /**************************************************************************/ /* */ /* FUNCTION RELEASE *...
null
null
null
null
null
null
github_plus_top10pct_by_avg
*/ /* None */ /* */ /* CALLED BY */ /* ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
srd_bit_index++; } } return(srd_bits); } /**************************************************************************/ /* */ /* FUNCTION RELEASE */ /* ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
mory region */ /* 10 Module shared memory region */ /* 11 Module shared memory region */ /* 12 Unused region */ /* 13 Unused region ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
*/ /* DATE NAME DESCRIPTION */ /* */ /* 06-30-2020 Scott Larson Initial Version 6.0.1 */ /* ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ributed: 1. 1/4 of the largest power of two that is greater than or equal to code size. 2. 1/4 of the largest power of two that is greater than or equal to code size. 3. Largest power of 2 that fits in the remaining space. 4. Smallest power of 2 that exceeds the remaining space, minimum 32. ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
te_size = TXM_MODULE_MPU_CODE_ACCESS_CONTROL | srd_bits | region_size | TXM_ENABLE_REGION; /* Adjust the code address. */ code_address = code_address + block_size; /* Increment MPU table index. */ mpu_table_index++; } /* End of code protection. */ /* Setup d...
null
null
null
null
null
null
github_plus_top10pct_by_avg
o data size. 2. 1/4 of the largest power of two that is greater than or equal to data size. 3. Largest power of 2 that fits in the remaining space. 4. Smallest power of 2 that exceeds the remaining space, minimum 32. */ /* Now loop through to setup MPU protection for the data area. */ ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
E_REGION; /* Adjust the data address. */ data_address = data_address + block_size; /* Increment MPU table index. */ mpu_table_index++; } /* Setup MPU for the remaining regions. */ while (mpu_table_index < TXM_MODULE_MPU_TOTAL_ENTRIES) { /* Build...
null
null
null
null
null
null
github_plus_top10pct_by_avg
Pointer to module instance */ /* obj_ptr Pointer to the object */ /* obj_size Size of the object */ /* */ /* OUTPUT ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ry_mpu_entries = module_instance -> txm_module_instance_shared_memory_count; for (shared_memory_index = 0; shared_memory_index < num_shared_memory_mpu_entries; shared_memory_index++) { shared_memory_address_start = (ALIGN_TYPE) module_instance -> txm_module_instance_shared_memory_address[shared_memory_...
null
null
null
null
null
null
github_plus_top10pct_by_avg
*/ /* module_instance Pointer to module instance */ /* obj_ptr Pointer to the object */ /* obj_size Size of the object */ /* ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
LIGN_TYPE shared_memory_address_end; num_shared_memory_mpu_entries = module_instance -> txm_module_instance_shared_memory_count; for (shared_memory_index = 0; shared_memory_index < num_shared_memory_mpu_entries; shared_memory_index++) { shared_memory_address_start = (ALIGN_TYPE) module_instance ->...
null
null
null
null
null
null
github_plus_top10pct_by_avg
*/ /* */ /* module_instance Pointer to module instance */ /* byte_ptr Pointer to the byte */ /* */ /*...
null
null
null
null
null
null
github_plus_top10pct_by_avg
s_end; num_shared_memory_mpu_entries = module_instance -> txm_module_instance_shared_memory_count; for (shared_memory_index = 0; shared_memory_index < num_shared_memory_mpu_entries; shared_memory_index++) { shared_memory_address_start = (ALIGN_TYPE) module_instance -> txm_module_instance_shared_me...
null
null
null
null
null
null
github_plus_top10pct_by_avg
sNotFound(fmt.Errorf("fake"))) require.False(t, IsNotFound(fmt.Errorf(`"foo" not found`))) } #ifndef AIKIDO_STATESPACE_DART_SE3JOINTSTATESPACE_HPP_ #define AIKIDO_STATESPACE_DART_SE3JOINTSTATESPACE_HPP_ #include "aikido/statespace/SE3.hpp" #include "aikido/statespace/dart/JointStateSpace.hpp" namespace aikido { na...
null
null
null
null
null
null
github_plus_top10pct_by_avg
provides an interface to // kernel data structures. type FS struct { proc fs.FS } // DefaultMountPoint is the common mount point of the proc filesystem. const DefaultMountPoint = fs.DefaultProcMountPoint // NewDefaultFS returns a new proc FS mounted under the default proc mountPoint. // It will error if the mount po...
null
null
null
null
null
null
github_plus_top10pct_by_avg
clarations / typedefs //////////////////////////////////////////////////////////////////////////// namespace Sophus { template<typename _Scalar, int _Options=0> class SO2Group; typedef SO2Group<double> SO2 EIGEN_DEPRECATED; typedef SO2Group<double> SO2d; /**< double precision SO2 */ typedef SO2Group<float> SO2f; /**<...
null
null
null
null
null
null
github_plus_top10pct_by_avg
onstComplexReference; /** \brief degree of freedom of group * (one for in-plane rotation) */ static const int DoF = 1; /** \brief number of internal parameters used * (unit complex number for rotation) */ static const int num_parameters = 2; /** \brief group transformations are NxN matr...
null
null
null
null
null
null
github_plus_top10pct_by_avg
n. It is up to the user to call normalize() once in a while. * * \see operator*=() */ inline void fastMultiply(const SO2Group<Scalar>& other) { Scalar lhs_real = unit_complex().x(); Scalar lhs_imag = unit_complex().y(); const Scalar & rhs_real = other.unit_complex().x(); const Scalar & rhs_...
null
null
null
null
null
null
github_plus_top10pct_by_avg
erator=(const SO2GroupBase<OtherDerived> & other) { unit_complex_nonconst() = other.unit_complex(); return *this; } /** * \brief Group multiplication * \see operator*=() */ inline const SO2Group<Scalar> operator*(const SO2Group<Scalar>& other) const { SO2Group<Scalar> result(*this); re...
null
null
null
null
null
null
github_plus_top10pct_by_avg
urns corresponding element of the group SO2 * * To be more specific, this function computes \f$ \exp(\widehat{\theta}) \f$ * with \f$ \exp(\cdot) \f$ being the matrix exponential * and \f$ \widehat{\cdot} \f$ the hat()-operator of SO2. * * \see hat() * \see log() */ inline static const S...
null
null
null
null
null
null
github_plus_top10pct_by_avg
* * \param other element of the group SO2 * \returns corresponding tangent space element * (=rotation angle \f$ \theta \f$) * * Computes the logarithmic, the inverse of the group exponential. * To be specific, this function computes \f$ \log({\cdot})^\vee \f$ * with \f$ \vee(\c...
null
null
null
null
null
null
github_plus_top10pct_by_avg
nce; /** \brief degree of freedom of group */ static const int DoF = Base::DoF; /** \brief number of internal parameters used */ static const int num_parameters = Base::num_parameters; /** \brief group transformations are NxN matrices */ static const int N = Base::N; /** \brief group transfomation type *...
null
null
null
null
null
null
github_plus_top10pct_by_avg
plex) { Base::normalize(); } /** * \brief Constructor from std::complex * * \pre complex number must not be zero */ inline explicit SO2Group(const std::complex<Scalar> & complex) : unit_complex_(complex.real(), complex.imag()) { Base::normalize(); } /** * \brief Constructor from...
null
null
null
null
null
null
github_plus_top10pct_by_avg
static const int num_parameters = Base::num_parameters; /** \brief group transformations are NxN matrices */ static const int N = Base::N; /** \brief group transfomation type */ typedef typename Base::Transformation Transformation; /** \brief point type */ typedef typename Base::Point Point; /** \brief ta...
null
null
null
null
null
null
github_plus_top10pct_by_avg
int DoF = Base::DoF; /** \brief number of internal parameters used */ static const int num_parameters = Base::num_parameters; /** \brief group transformations are NxN matrices */ static const int N = Base::N; /** \brief group transfomation type */ typedef typename Base::Transformation Transformation; /** ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
wd_state0 state; typedef iter0 iterator; }; }; template<> struct reverse_iter_fold_chunk<1> { template< typename First , typename Last , typename State , typename BackwardOp , typename ForwardOp > struct result_ { typedef First iter0; ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
r1 >::type fwd_state2; typedef typename mpl::next<iter1>::type iter2; typedef typename apply2< ForwardOp,fwd_state2,iter2 >::type fwd_state3; typedef typename mpl::next<iter2>::type iter3; typedef fwd_state3 bkwd_state3; typedef typename apply2< BackwardOp,bkwd_state3,i...
null
null
null
null
null
null
github_plus_top10pct_by_avg
, typename BackwardOp , typename ForwardOp > struct result_ { typedef First iter0; typedef State fwd_state0; typedef typename apply2< ForwardOp,fwd_state0,iter0 >::type fwd_state1; typedef typename mpl::next<iter0>::type iter1; typedef typename apply2< F...
null
null
null
null
null
null
github_plus_top10pct_by_avg
type , reverse_iter_fold_null_step< Last,State > , reverse_iter_fold_step< First,Last,State,BackwardOp,ForwardOp > >::type res_; typedef typename res_::state state; typedef typename res_::iterator iterator; }; }; template< typename First , typename Las...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ver-using-herokugithubdesk-more/ https://0xpatrik.com/subdomain-takeover/ https://medium.com/@ajdumanhug/subdomain-takeover-through-external-services-f0f7ee2b93bd http://yassineaboukir.com/blog/neglected-dns-records-exploited-to-takeover-subdomains/ ## Additional note I claimed the domain on XXX, let me know...
null
null
null
null
null
null
github_plus_top10pct_by_avg
if text * t: "...", -> text data * a: {}, -> text attributes (optional) * }, * ... * ] * } * * @memberOf Model * @member {String} #data */ Object.defineProperty( editor.model, 'data', { get: () => { return liveDocumentData.get(); }, set...
null
null
null
null
null
null
github_plus_top10pct_by_avg
nt.previousSibling.is( '$text' ) && element.nextSibling && element.nextSibling.is( '$text' ); if ( isBetweenTexts ) { tree.refreshTexts( position.parent ); } } break; } case 'remove' : { if ( change.name === '$text' ) { // We have no information about whi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
t containing the model data representation. */ set( data ) { const root = this.root; const model = root.document.model; model.change( writer => { // Replace the document contents. writer.remove( writer.createRangeIn( root ) ); writer.insert( createFragment( data, writer ), root ); // Clean up pre...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ion. */ remove( modelPosition ) { // By default we take the node which matches the position index. let index = modelPosition.index; // If we're inside a text node though, it means that the removed node was actually // after that text node, so we fix the index. To illustrate (e.g.): // // Index: 0 ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
m modelNode {Element|Text} The node to be processed. */ updateDefinition( definition, modelNode ) { if ( modelNode.data ) { definition[ $text ] = modelNode.data; } else { definition[ $element ] = modelNode.name; } // Attributes. { const nodeAttribs = Array.from( modelNode.getAttributes() ); i...
null
null
null
null
null
null
github_plus_top10pct_by_avg
generate test updatedeps { "images" : [ { "idiom" : "iphone", "scale" : "1x" }, { "idiom" : "iphone", "filename" : "GroundBotGoodWalk_5_01_100.png", "scale" : "2x" }, { "idiom" : "iphone", "filename" : "GroundBotGoodWalk_5_01_180.png", "scale" : "...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ymfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Contracts\Cache; use Psr\Cache\CacheItemPoolInterface; use Psr\Cache\InvalidArgumentException; use Psr\Log\LoggerInterface; // Help opcache.preload disco...
null
null
null
null
null
null
github_plus_top10pct_by_avg
on {delta}s before its expiration', [ 'key' => $key, 'delta' => sprintf('%.1f', $expiry - $now), ]); } } if ($recompute) { $save = true; $item->set($callback($item, $save)); if ($save) { ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
�ョンの動作が異なる場合があります。 最初に、ユーザーの小さなサブセットに新しい機能を表示するとします。 条件付き機能フラグを使用すると、一部のユーザーに対しては機能フラグを有効にし、他のユーザーに対しては無効にすることができます。 "_機能フィルター_" では、評価のたびに機能フラグの状態が判断されます。 `Microsoft.FeatureManagement` ライブラリには、次の 2 つの機能フィルターがあります。 - `PercentageFilter` では、パーセンテージに基づいて機能フラグが有効にされます。 - `TimeWindowFilter` では、指定した時間帯に機能フラグが有効にされます。 また、[M...
null
null
null
null
null
null
github_plus_top10pct_by_avg
��、Web アプリに対する要求の 50% について機能フラグを有効にするには、次の手順のようにします。 1. 「[クイックスタート: ASP.NET Core アプリに機能フラグを追加する](./quickstart-feature-flag-aspnet-core.md)」の手順に従って、機能フラグを使用して Web アプリを作成します。 1. Azure portal で、お使いの構成ストアにアクセスし、 **[機能マネージャー]** をクリックします。 1. クイックスタートで作成した *Beta* 機能フラグのコンテキスト メニューをクリックします。 **[編集]** をクリックします。 > [!div c...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ters.png) 1. **[適用]** をクリックして、 **[機能フラグの編集]** 画面に戻ります。 次に、 **[適用]** を再びクリックして、機能フラグの設定を保存します。 1. 機能フラグの **[状態]** が、 *[条件付き]* と表示されるようになります。 この状態は、機能フィルターによって適用される条件に基づいて、機能フラグが要求ごとに有効または無効になることを示します。 > [!div class="mx-imgBorder"] > ![条件付き機能フラグ](./media/feature-flag-filter-enabled.png) ## <a name="feature-fi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.alibaba.jstorm.batch.util; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; i...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ashMap<>(); tmpConf.putAll(conf); tmpConf.put(Config.STORM_ZOOKEEPER_SERVERS, zkServers); tmpConf.put(Config.STORM_ZOOKEEPER_ROOT, root); zkClient = new DistributedClusterState(tmpConf); LOG.info("Successfully connect ZK"); return zkClient; ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
lif user_link_info.provider == 'Weibo' %} <i class="fa fa-weibo" title="Weibo 绑定用户"></i> {% else %} <i class="fa fa-envelope-o" title="邮箱认证用户"></i> {% endif %} {% endif %} ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
</strong> {% else %} <strong title="该用户未认证或没有个人站点">{{ each.author }}</strong> {% endif %} {% if each_user_link_info.is_verified %} {% if each_user_link_info.pro...
null
null
null
null
null
null
github_plus_top10pct_by_avg
his distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Actuate Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.birt.report.designer.internal.ui.editors.schematic.tools...
null
null
null
null
null
null
github_plus_top10pct_by_avg
rsors.CROSS ); setUnloadWhenFinished( false ); } private List calculateNewSelection( ) { List newSelections = new ArrayList( ); List children = getAllChildren( ); // Calculate new selections based on which children fall // inside the marquee selection rectangle. Do not select // children who are not v...
null
null
null
null
null
null
github_plus_top10pct_by_avg
aseTargetFeedback( ) { if ( selectedEditParts == null ) return; ListIterator oldEditParts = selectedEditParts.listIterator( ); while ( oldEditParts.hasNext( ) ) { EditPart editPart = (EditPart) oldEditParts.next( ); editPart.eraseTargetFeedback( getTargetRequest( ) ); } } /** * Returns a list i...
null
null
null
null
null
null
github_plus_top10pct_by_avg
VALID ); handleInvalidInput( ); } if ( stateTransition( STATE_INITIAL, STATE_DRAG_IN_PROGRESS ) ) { if ( getCurrentInput( ).isControlKeyDown( ) ) setSelectionMode( TOGGLE_MODE ); else if ( getCurrentInput( ).isShiftKeyDown( ) ) setSelectionMode( APPEND_MODE ); } return true; } /** * @see...
null
null
null
null
null
null
github_plus_top10pct_by_avg
); IFigure walker = fig.getParent( ); while ( !figBounds.isEmpty( ) && walker != null ) { walker.translateToParent( figBounds ); figBounds.intersect( walker.getBounds( ) ); walker = walker.getParent( ); } return !figBounds.isEmpty( ); } private boolean isGraphicalViewer( ) { return getCurrentVi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
wTargetFeedback( ) { for ( int i = 0; i < selectedEditParts.size( ); i++ ) { EditPart editPart = (EditPart) selectedEditParts.get( i ); editPart.showTargetFeedback( getTargetRequest( ) ); } } private static class MarqueeRectangleFigure extends Figure { private int offset = 0; private boolean sche...
null
null
null
null
null
null
github_plus_top10pct_by_avg
} } @end /* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it und...
null
null
null
null
null
null
github_plus_top10pct_by_avg
clickCount) override; void handleMouseWheel(int x, int y, int direction) override; void appendEntry(const U32String &entry, uint32 tag = (uint32)-1); void appendEntry(const String &entry, uint32 tag = (uint32)-1); void clearEntries(); int numEntries() { return _entries.size(); } /** Select the entry at the give...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ion void handleMouseLeft(int button) override; void handleKeyDown(Common::KeyState state) override; // Scroll through entries with arrow keys etc. void setPosition(int x, int y); void setPadding(int left, int right); void setLineHeight(int lineHeight); void setWidth(uint16 width); void appendEntry(const Common...
null
null
null
null
null
null
github_plus_top10pct_by_avg