max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
3,631
<reponame>kostola/drools /* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
1,943
6,036
<gh_stars>1000+ // Copyright(C) 2021 Intel Corporation // Licensed under the MIT License #include "dnnl_gemm.h" #include "dnnl_subgraph.h" #include "dnnl_subgraph_primitive.h" namespace onnxruntime { namespace ort_dnnl { DnnlGemm::DnnlGemm() {} /* Gemm implementation: Gemm: Inputs: 0) A - Input Tensor 1)...
2,954
1,444
<reponame>amc8391/mage<filename>Mage.Tests/src/test/java/org/mage/test/mulligan/VancouverMulliganTest.java package org.mage.test.mulligan; import mage.game.mulligan.MulliganType; import org.junit.Test; import java.util.HashSet; import java.util.Set; import java.util.UUID; import static org.junit.Assert.assertEquals;...
4,711
416
// // NFCNDEFReaderSession.h // CoreNFC // // Copyright © 2017 Apple. All rights reserved. // #ifndef NFCNDEFReaderSession_h #define NFCNDEFReaderSession_h #ifndef CoreNFC_H #error Please import <CoreNFC/CoreNFC.h> from your source file #endif #import <Foundation/Foundation.h> @class NFCReaderSession; @class NFC...
2,263
678
<reponame>bzxy/cydia /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary */ #import <PhotoLibrary/PhotoLibrary-Structs.h> #import <PhotoLibrary/XXUnknownSuperclass.h> @interface PLReorientingButton : XXUnknownSuperclass { BOOL _a...
828
2,267
// SPDX-License-Identifier: MPL-2.0 // Copyright (c) <NAME> <<EMAIL>> #pragma once #include <stdbool.h> // Older version of glx.h defines function prototypes for these extensions... // Rename them to avoid conflicts #define glXSwapIntervalMESA glXSwapIntervalMESA_ #define glXBindTexImageEXT glXBindTexImageEXT_ #define ...
900
679
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
1,912
2,801
<gh_stars>1000+ from __future__ import print_function, unicode_literals import mock from zope.interface import alsoProvides from ..._interfaces import IDilationManager, IWormhole def mock_manager(): m = mock.Mock() alsoProvides(m, IDilationManager) return m def mock_wormhole(): m = mock.Mock() a...
170
416
<reponame>Zi0P4tch0/sdks // // HKQuantityAggregationStyle.h // HealthKit // // Copyright (c) 2013-2018 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> /*! @enum HKQuantityAggregationStyle @discussion Describes how quantities can be aggregated over time. @constant HKQuanti...
525
3,428
{"id":"00483","group":"spam-2","checksum":{"type":"MD5","value":"e583ffb0efd3958cdef2e9f3b043ef0d"},"text":"From <EMAIL> Mon Jun 24 17:06:50 2002\nReturn-Path: ga4tabi8l67@hotmail.com\nDelivery-Date: Mon May 27 18:16:38 2002\nReceived: from mandark.labs.netnoteinc.com ([213.105.180.140]) by\n dogma.slashnull.org (8...
1,090
918
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
722
852
#ifndef GlobalGridWrapper_h #define GlobalGridWrapper_h /** \class GlobalGridWrapper * * Generic interpolator that is a wrapper of MagneticFieldGrid, i.e. * non-specialized/optimized for each kind of grid. * * \author <NAME> */ #include "FWCore/Utilities/interface/Visibility.h" #include "MagneticField/Interp...
322
1,092
<gh_stars>1000+ /* * Copyright 2014-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unle...
724
327
/* <NAME> `gentilkiwi` https://blog.gentilkiwi.com <EMAIL> Licence : https://creativecommons.org/licenses/by/4.0/ */ #pragma once #include "globals.h" #define MIMILOVE L"mimilove" #define MIMILOVE_VERSION L"1.0" #define MIMILOVE_CODENAME L"Love edition <3" #define MIMILOVE_FULL MIMILOVE L" " MIMILOVE_VERSIO...
2,126
5,964
<gh_stars>1000+ // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8ErrorEventInit.h" ...
2,687
2,329
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
736
821
<filename>packages/arb-avm-cpp/fuzz_target/manualtest.cpp<gh_stars>100-1000 /* * Copyright 2019, Offchain Labs, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
917
643
# coding=utf-8 # Copyright 2021 The Meta-Dataset Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
3,615
1,262
<gh_stars>1000+ /* * Copyright 2013 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This ...
678
4,879
#import "MWMAlert.h" @interface MWMEditorViralAlert : MWMAlert + (nonnull instancetype)alert; @end
41
4,071
<filename>xdl/xdl/python/training/hash_filter.py # Copyright 2018 Alibaba Group. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
607
410
<filename>defibus-client/src/main/java/com/webank/defibus/client/impl/producer/RRResponseFuture.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. *...
737
3,428
{"id":"02136","group":"easy-ham-1","checksum":{"type":"MD5","value":"e5c8edd8057c6d595eb368cde9a8aa41"},"text":"From <EMAIL> Tue Oct 1 10:37:15 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>ass<EMAIL>int.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 2C51016F17\n\t...
470
2,792
// Copyright 2017,2018,2019,2020,2021 Sony Corporation. // Copyright 2021 Sony Group Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/...
1,694
632
<reponame>wgzhao/bahir-flink<filename>flink-connector-pinot/src/test/java/org/apache/flink/streaming/connectors/pinot/LocalFileSystemAdapter.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional ...
950
2,151
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.history; import android.os.Bundle; import org.chromium.base.VisibleForTesting; import org.chromium.chrome.browser.In...
428
375
from .ClassA import ClassA from .OtherClassA import OtherClassA class mod_a(ClassA, OtherClassA): def __init__(self): pass
51
574
/* * Copyright (C) 2012 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
2,317
435
<filename>pydata-paris-2015/videos/industrial-uses-of-scikit-learn-business-roundta.json { "alias": "video/3527/industrial-uses-of-scikit-learn-business-roundta", "category": "PyData Paris 2015", "copyright_text": "youtube", "description": "Industrial uses of scikit-learn (business roundtable)\n\n::\n\n Bio:...
672
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/WebCore.framework/WebCore */ #import <WebCore/DOMObject.h> __attribute__((visibility("hidden"))) @interface DOMXPathExpression : DOMObject { } - (void)dealloc; // 0x357981 - (void)finalize; // 0x357ce5 - (id)evalua...
173
14,668
<filename>chrome/android/features/start_surface/public/java/src/org/chromium/chrome/features/start_surface/StartSurfaceUserData.java // Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium....
2,277
776
/* * Copyright 2019-present HiveMQ GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
5,017
543
<reponame>CoenRijsdijk/Bytecoder /* * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 o...
1,558
1,484
<gh_stars>1000+ import copy import datetime from anchore_engine.db import ImagePackageVulnerability from anchore_engine.subsys import logger def test_cmp(): c1 = ImagePackageVulnerability() c1.pkg_name = "testpkg1" c1.pkg_version = "1.0" c1.pkg_arch = "x86" c1.pkg_type = "rpm" c1.pkg_image_id...
400
831
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
3,772
629
#!/usr/bin/env python import getopt import os import pysvg.parser import shutil from subprocess import Popen, PIPE import sys from subprocess import call # Converts the svglibrary assets to png. # This script depends on the rsvg-convert to perform the conversion. def main(argv): rsvgConvert = "/usr/bin/rsvg-con...
1,426
713
package org.infinispan.util.function; import java.io.Serializable; import java.util.function.DoubleFunction; /** * This is a functional interface that is the same as a {@link DoubleFunction} except that it must also be * {@link java.io.Serializable} * * @author wburns * @since 9.0 */ public interface Serializab...
113
957
<filename>Dev/Cpp/EffekseerRendererVulkan/EffekseerRenderer/ShaderHeader/sprite_lit_vs.h<gh_stars>100-1000 // 7.13.3381 #pragma once const uint32_t sprite_lit_vs[] = { 0x07230203,0x00010000,0x00080007,0x000000b9,0x00000000,0x00020011,0x00000001,0x0006000b, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0...
8,384
575
import torch.nn as nn import transformers import config class NLUModel(nn.Module): def __init__(self,num_entity, num_intent, num_scenario): super(NLUModel,self).__init__() self.num_entity = num_entity self.num_intent = num_intent self.num_scenario = num_scenario self.bert =...
679
1,253
<gh_stars>1000+ """ What is Anagram? An anagram of a string is another string that contains same characters, only the order of characters can be different. For example, “abcd” and “dabc” are anagram of each other. Method #Bit Manipulation: If we start at a value of 0 and XOR all the characters of both strin...
368
14,668
<reponame>zealoussnow/chromium // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/notifications/scheduler/internal/impression_types.h" namespace notifications { Impression::Impre...
890
1,068
<reponame>kriegfrj/assertj-android package org.assertj.android.api.view; import android.support.annotation.IntDef; import android.view.View; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.SOURCE; @IntDef({ View.LAYOUT_DIRECTION_RTL, View.LAYOUT_DIRECTION_LTR, Vi...
172
9,225
<filename>src/_pytest/__init__.py<gh_stars>1000+ __all__ = ["__version__", "version_tuple"] try: from ._version import version as __version__, version_tuple except ImportError: # pragma: no cover # broken installation, we don't even try # unknown only works because we do poor mans version compare __ve...
136
6,278
<gh_stars>1000+ import unittest from tests.recipes.recipe_lib_test import BaseTestForMakeRecipe class TestLibx264Recipe(BaseTestForMakeRecipe, unittest.TestCase): """ An unittest for recipe :mod:`~pythonforandroid.recipes.libx264` """ recipe_name = "libx264" sh_command_calls = ["./configure"]
120
1,439
/******************************************************************************* * Copyright 2018 <NAME> http://galenframework.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
828
2,113
<reponame>vbillet/Torque3D //----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 ...
9,544
3,428
{"id":"00044","group":"easy-ham-2","checksum":{"type":"MD5","value":"1ed173a136e8d0494533ebbf203d8722"},"text":"From <EMAIL> Tue Aug 6 11:07:14 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP...
1,300
375
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft and ilovepose # Licensed under the MIT License. # Written by <NAME> (<EMAIL>) # Written by <NAME> & <NAME> # ------------------------------------------------------------------------------ from __future__ import a...
4,759
849
<filename>Sources/MultiProgressView.h<gh_stars>100-1000 // // MultiProgressView.h // MultiProgressView // // Created by <NAME> on 3/26/19. // Copyright © 2019 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for MultiProgressView. FOUNDATION_EXPORT double MultiProgressViewVersion...
168
392
<gh_stars>100-1000 package com.baseflow.geolocator.location; import java.util.Map; public class AndroidIconResource { private final String name; private final String defType; public static AndroidIconResource parseArguments(Map<String, Object> arguments) { if (arguments == null) { ret...
329
366
<reponame>AStarySky/manim_sandbox # from @鹤翔万里 # manim教程第四期 - SVG、图片与文字 from manimlib.imports import * from manim_sandbox.utils.imports import * from manim_projects.tony_useful.imports import * class CodeLine(Text): CONFIG = { 't2c': { 'RIGHT': ORANGE, 'LEFT': ORANGE, '...
26,776
435
{ "copyright_text": "Standard YouTube License", "description": "This talk discusses ongoing work to build streaming data processing systems for Python with Dask, a Pythonic library for parallel computing. This talk will discuss streaming primitives, dataframes, and integration with the Jupyter notebook and use exam...
361
5,169
<filename>Specs/e/6/9/SYRFTime/0.0.7/SYRFTime.podspec.json<gh_stars>1000+ { "name": "SYRFTime", "version": "0.0.7", "summary": "SYRFTime library for synchronized time.", "description": "SYRFTime library for synchronized time.\nThe library utilizes NTP servers for time precision.", "homepage": "https://github....
394
1,615
<reponame>mmdongxin/MLN /* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, t...
1,580
2,151
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
3,884
1,444
package mage.cards.r; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.mana.GenericManaCost; import mage.abilities.effects.common.combat.CanAttackAsThoughItDidntHaveDefenderSourceEffect; import mage.abilities.effects.common.continuous....
755
4,537
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
1,123
21,684
<reponame>zadcha/rethinkdb // Copyright 2010-2013 RethinkDB, all rights reserved. #ifndef _WIN32 #include <sys/wait.h> #include <sys/time.h> #include <sys/socket.h> #else // _WIN32 #include <atomic> #endif // _WIN32 #include <sys/types.h> #include <signal.h> #include <unistd.h> #include "arch/process.hpp" #include ...
5,419
3,655
from http.server import BaseHTTPRequestHandler class Handler(BaseHTTPRequestHandler): def do_GET(self): self.send_response(200) self.send_header('Content-type', 'text/plain') self.end_headers() self.wfile.write('hello:RANDOMNESS_PLACEHOLDER'.encode()) return
124
679
<reponame>Grosskopf/openoffice /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The...
901
764
<reponame>641589523/token-profile<gh_stars>100-1000 {"symbol": "XBL","address": "0x49AeC0752E68D0282Db544C677f6BA407BA17ED7","overview":{"en": ""},"email": "<EMAIL>","website": "https://billionairetoken.com/","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/BillionaireTkn","telegram": "","github":...
136
764
{"symbol": "RUT","address": "0xf050E54d2b50c055C9919a4B856A195221D3DB71","overview":{"en": "Fee-less decentralized application platform."},"email": "<EMAIL>","website": "https://rutile.io/","state": "NORMAL","links": {"blog": "","twitter": "","telegram": "https://t.me/joinchat/LW4kzhaNZ3ZrK0gDOjqnzg","github": "https:/...
139
1,091
// // RMTableViewController.h // HeapInspectorExample // // Created by <NAME> on 01.09.14. // Copyright (c) 2014 tapwork. All rights reserved. // #import <UIKit/UIKit.h> #import "HINSPTableViewCell.h" @interface HINSPTableViewController : UITableViewController @property (nonatomic, strong) NSArray *dataSource; @...
292
825
#pragma once #pragma once #include "HexControl.h" class MemoryBuffer : public IBufferManager { public: MemoryBuffer(uint32_t initialSize = 0); MemoryBuffer(const uint8_t* data, uint32_t size); void Init(const uint8_t* data, uint32_t size); // Inherited via IBufferManager uint32_t GetData(int64_t offset, uint8...
276
401
<filename>liteflow-core/src/main/java/com/yomahub/liteflow/exception/ExecutableItemNotFoundException.java /** * <p>Title: liteflow</p> * <p>Description: 轻量级的组件式流程框架</p> * @author Bryan.Zhang * @email <EMAIL> * @Date 2020/4/1 */ package com.yomahub.liteflow.exception; public class ExecutableItemNotFoundException ...
259
423
<gh_stars>100-1000 import json, csv sites = {} sites = [] with open("sites.csv", "r") as csvfile: filereader = csv.DictReader(csvfile) for row in filereader: try: sites.append([row['domain'], float(row['lat']), float(row['lng'])]) except ValueError: # for sites that dont have locat...
182
1,426
<reponame>ovidiuiuonas/robospice package com.octo.android.robospice.request.listener; /** * Listens to a SpiceRequest that may be pending, or not. It will be notified of * request's result if such a request is pending, otherwise it will notified * that such a request is not currently pending. */ public interface ...
119
2,494
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
563
14,668
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/components/local_search_service/test_utils.h" #include <cmath> #include <map> #include <string> #include <utility> #include <vector> ...
1,189
1,062
<gh_stars>1000+ // // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @class NSMutableArray, NSMutableIndexSet, NSPredicate; @protocol ManagedListSortInfo; @interface ManagedList : NSObject { NSMutableAr...
995
371
<reponame>pambros/StereoKit #include "model.h" #include "../libraries/array.h" #include "../sk_math.h" #define MICRO_PLY_IMPL #include "../libraries/micro_ply.h" #include <stdio.h> namespace sk { /////////////////////////////////////////// bool modelfmt_ply(model_t model, const char *filename, void *file_data, siz...
1,283
764
<reponame>641589523/token-profile { "symbol": "PAYC", "address": "0xab3eF3eCB6cFaFEbdb11ed919151503dE17A5831", "overview":{ "en": "PAYC is committed to creating a variety of open tools for blockchain payment scenarios, providing them to merchants and enterprises, and ultimately creating an open ec...
407
1,615
import sys sys.path.append('..') from helpers import render_frames from graphs.FLIPPass import FLIPPass as g from falcor import * m.addGraph(g) # default render_frames(m, 'default') # useMagma for useMagma in [False, True]: g.updatePass('FLIP', {'useMagma': useMagma}) render_frames(m, 'useMagma.' + str(useMa...
285
3,428
{"id":"01146","group":"easy-ham-1","checksum":{"type":"MD5","value":"fe05a7a131928bf0997793278e203448"},"text":"From <EMAIL> Wed Oct 2 11:43:17 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy@localhost.spamassassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 11...
1,773
482
<gh_stars>100-1000 package io.cattle.platform.resource.pool; import io.cattle.platform.util.type.Named; public interface PooledResource extends Named { }
51
997
<reponame>mkannwischer/PQClean #include "vec128.h" vec128 PQCLEAN_MCELIECE460896F_AVX_vec128_set1_16b(uint16_t a) { return _mm_set1_epi16(a); } vec128 PQCLEAN_MCELIECE460896F_AVX_vec128_setzero(void) { return _mm_setzero_si128(); } vec128 PQCLEAN_MCELIECE460896F_AVX_vec128_and(vec128 a, vec128 b) { retur...
1,077
1,253
//Finding power of x to the n, where n can be a positive or negative integer. //As we already we know that negative exponent is equal to 1 by power(x,n) //And this is a iterative approach //Problem link: https://leetcode.com/problems/powx-n/ /********************************** * Dry Run of Program: * power(2.0,10)=...
488
1,199
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
658
746
<reponame>Keendata/impala // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (...
670
1,337
<filename>modules/web-widgets/src/com/haulmont/cuba/web/widgets/client/addons/aceeditor/SetDiff.java /* * Copyright 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://...
1,856
743
<reponame>althink/hermes package pl.allegro.tech.hermes.consumers.consumer.oauth.client; public class OAuthTokenRequestException extends RuntimeException { public OAuthTokenRequestException(String message, Throwable cause) { super(message, cause); } public OAuthTokenRequestException(String messag...
119
1,858
<reponame>aarogyaswamy/100daysofpython import uplink from requests import Response class FormatError(Exception): pass @uplink.response_handler def raise_for_status(response: Response): response.raise_for_status() return response @uplink.response_handler def response_to_data(response: Response): tr...
197
1,391
<reponame>BezMan/CompieTest<gh_stars>1000+ /* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
1,372
2,406
<reponame>monroid/openvino // Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <ngraph/function.hpp> #include <ngraph/opsets/opset5.hpp> #include <cpp/ie_cnn_network.h> TEST(SmartReshapeTests, SS_Squeeze) { std::shared_ptr<ngraph::Function> f(...
4,201
488
<filename>Sources/ParallaxView tvOS.h<gh_stars>100-1000 // // ParallaxView tvOS.h // ParallaxView tvOS // // Created by <NAME> on 06/05/16. // // #import <UIKit/UIKit.h> //! Project version number for ParallaxView. FOUNDATION_EXPORT double ParallaxViewVersionNumber; //! Project version string for ParallaxView. FO...
174
1,056
<reponame>arusinha/incubator-netbeans /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License...
809
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
12,951
392
<reponame>rcpacheco/ojAlgo<gh_stars>100-1000 /* * Copyright 1997-2021 Optimatika * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the r...
1,231
5,823
<reponame>onix39/engine // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef LIB_TONIC_TYPED_DATA_TYPED_LIST_H_ #define LIB_TONIC_TYPED_DATA_TYPED_LIST_H_ #include "third_party/dart/runtime/include/d...
1,298
584
<gh_stars>100-1000 """Constants for the resoulution manager.""" from enum import Enum from pathlib import Path from ..const import SUPERVISOR_DATA FILE_CONFIG_RESOLUTION = Path(SUPERVISOR_DATA, "resolution.json") SCHEDULED_HEALTHCHECK = 3600 MINIMUM_FREE_SPACE_THRESHOLD = 1 MINIMUM_FULL_BACKUPS = 2 class ContextT...
892
634
<filename>modules/desktop-awt/desktop-ui-impl/src/main/java/consulo/ui/desktop/internal/image/DesktopIconLibraryManagerImpl.java /* * Copyright 2013-2020 consulo.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
456
4,879
<filename>iphone/Maps/Core/Location/MWMLocationPredictor.h #import "MWMMyPositionMode.h" #include "platform/location.hpp" using TPredictionBlock = void (^)(CLLocation *); @interface MWMLocationPredictor : NSObject - (instancetype)initWithOnPredictionBlock:(TPredictionBlock)onPredictBlock; - (void)reset:(CLLocation ...
136
788
package org.apache.usergrid.persistence.collection.serialization.impl; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.UUID; import org.apache.usergrid.persistence.collection.MvccLogEntry; import org.apache.usergrid.persistence.collection.serialization.Mvcc...
1,440
2,142
package com.liaoinstan.springview.duheader; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import androidx.annotation.Nullable; import java.util.Ar...
4,423
9,701
import abc import logging import re from typing import Text, List, Dict, Any, Optional from rasa.engine.graph import ExecutionContext, GraphComponent from rasa.engine.storage.resource import Resource from rasa.engine.storage.storage import ModelStorage from rasa.shared.nlu.training_data.training_data import TrainingD...
3,572
4,526
<reponame>EricWang1hitsz/osrm-backend<filename>include/guidance/turn_discovery.hpp<gh_stars>1000+ #ifndef OSRM_GUIDANCE_TURN_DISCOVERY_HPP_ #define OSRM_GUIDANCE_TURN_DISCOVERY_HPP_ #include "extractor/node_restriction_map.hpp" #include "guidance/intersection.hpp" #include "guidance/turn_lane_data.hpp" #include "util/...
553
691
/*============================================================================= Copyright (c) 2011-2019 <NAME> https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =====...
521
1,403
/* * CsCommandQueue.cpp * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by <NAME>) * See "LICENSE.txt" for license information. */ #include "CsCommandQueue.h" namespace SharpLLGL { CommandQueue::CommandQueue(LLGL::CommandQueue* native) : native_ { native } { } LLGL::CommandQueue* Co...
313
1,185
<filename>src/main/java/com/github/lianjiatech/retrofit/spring/boot/core/AutoConfiguredRetrofitScannerRegistrar.java package com.github.lianjiatech.retrofit.spring.boot.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.beans.fact...
1,028
348
{"nom":"<NAME>","circ":"2ème circonscription","dpt":"Orne","inscrits":65,"abs":31,"votants":34,"blancs":2,"nuls":0,"exp":32,"res":[{"nuance":"REM","nom":"<NAME>","voix":16},{"nuance":"LR","nom":"<NAME>","voix":16}]}
88