max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
451
// File Automatically generated by eLiSe #include "StdAfx.h" #include "cREgDistDxDy_DCBrown.h" cREgDistDxDy_DCBrown::cREgDistDxDy_DCBrown(): cElCompiledFonc(2) { AddIntRef (cIncIntervale("Intr",0,17)); Close(false); } void cREgDistDxDy_DCBrown::ComputeVal() { double tmp0_ = mLocRegDistxy1_y * mLocRegD...
5,434
3,102
<gh_stars>1000+ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -triple x86_64-linux-gnu %s int n; constexpr int *p = 0; // expected-error@+1 {{must be initialized by a constant expression}} constexpr int *k = (int *) __builtin_assume_aligned(p, 16, n = 5); constexpr void *l = __builtin_assume_aligned(p, 16); //...
922
435
<reponame>amaajemyfren/data { "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "In the last ten years scientists working on computational problems\ninvolving proteins and other small molecules have largely moved to using\npython when developing simulation and data analysis to...
584
6,140
<reponame>memeyankm/training-data-analyst from setuptools import setup import databricks setup( name='kfp-azure-databricks', version=databricks.__version__, description='Python package to manage Azure Databricks on Kubeflow Pipelines using Azure Databricks operator for Kubernetes', url='https://github....
155
5,169
<reponame>morizotter/Specs { "name": "Flash2Cocos2D", "version": "0.6", "summary": "Library to import animations made in Flash to Cocos2D.", "description": "A modified grapefrukt-export creates xml descriptions of timeline animations. Flash2Cocos2D imports that xml and recreates what were timeline animations."...
333
2,003
<filename>src/access/helpers/permission_builder.h // Copyright (c) 2015-2018, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #include "proto/access_control.pb.h" #include <string> namespace tera { namespace auth...
360
777
<reponame>google-ar/chromium<filename>third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp /* * Copyright (c) 2012 Google Inc. All rights reserved. * Copyright (C) 2013 BlackBerry Limited. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are pe...
6,216
3,012
/** @file Include file for Var Check Hii handler and bin. Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef _VAR_CHECK_HII_H_ #define _VAR_CHECK_HII_H_ #include <Library/VarCheckLib.h> #include <Library/BaseLib.h> #include ...
616
607
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013,2014 <NAME> <www.andybrown.me.uk> * Please see website for licensing terms. */ #pragma once namespace stm32plus { namespace display { /** * Panel traits for a Type B Sony U5 Vivaz * * This is the ...
630
6,989
#pragma once #include <catboost/cuda/cuda_lib/cuda_base.h> #include <catboost/cuda/cuda_lib/mpi/mpi_manager.h> #include <catboost/cuda/cuda_lib/cuda_events_provider.h> #include <catboost/cuda/cuda_lib/kernel.h> #include <catboost/cuda/cuda_lib/task.h> #include <catboost/cuda/cuda_lib/serialization/task_factory.h> #inc...
5,449
653
//==---------------- exception_list.hpp - SYCL exception_list --------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
495
3,269
<gh_stars>1000+ # Time: O(m + n) # Space: O(1) import collections class Solution(object): def minCharacters(self, a, b): """ :type a: str :type b: str :rtype: int """ count1 = collections.Counter(ord(c)-ord('a') for c in a) count2 = collections.Counter(ord...
381
311
<gh_stars>100-1000 /** * Copyright 2019 The JoyQueue 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 b...
14,829
511
<reponame>SenthilKumarGS/TizenRT /****************************************************************** * * Copyright 2018 Samsung Electronics 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...
8,031
2,308
/** * Copyright 2016 vip.com. * <p> * 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 agreed to in w...
809
568
<reponame>jgtaylor123/novoda_spikes<filename>MagicMirror/app/src/main/java/com/novoda/magicmirror/facerecognition/FaceReactionSource.java package com.novoda.magicmirror.facerecognition; public interface FaceReactionSource { void start(); void release(); boolean onKeyDown(int keyCode); boolean onKeyU...
116
696
/* * Copyright (C) 2019 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.collect.concurrent; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.time.Duration; import java.util.concur...
388
3,459
#ifndef CHEATS_H #define CHEATS_H struct CheatsData { int code; int size; int status; bool enabled; u32 rawaddress; u32 address; u32 value; u32 oldValue; char codestring[20]; char desc[32]; }; void cheatsAdd(const char *codeStr, const char *desc, u32 rawaddress, u32 address, u32 value, int code, i...
409
4,054
/******************************************************************************* * Copyright (c) 2019 BestSolution.at and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
3,617
521
/** * @file include/retdec/utils/byte_value_storage.h * @brief Declaration of @c ByteValueStorage. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #ifndef RETDEC_UTILS_BYTE_VALUE_STORAGE_H #define RETDEC_UTILS_BYTE_VALUE_STORAGE_H #include <cstdint> #include <functional> #include <string> #...
2,077
5,169
{ "name": "PageLoadSDK", "version": "0.4.14", "summary": "A really cool SDK that tracks stuff.", "homepage": "http://impact.com/", "authors": { "Name": "<EMAIL>" }, "license": { "type": "Apache-2.0", "file": "LICENSE" }, "platforms": { "ios": "11.0" }, "source": { "git": "/User...
217
1,088
<gh_stars>1000+ # Copyright 2020 Alibaba Group Holding Limited. 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/LICENSE-2.0 # # Unl...
720
1,021
/* $Id: $ */ /* Project : miniupnp * Author : <NAME> * copyright (c) 2016 <NAME> * This software is subjet to the conditions detailed in the * provided LICENCE file. */ #ifndef PRINTRESPONSE_H_INCLUDED #define PRINTRESPONSE_H_INCLUDED void printresponse(const unsigned char * resp, int n); #endif /* PRINTRESPONSE_...
120
5,823
<filename>third_party/accessibility/base/color_utils.h // 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 BASE_COLOR_UTILS_H_ #define BASE_COLOR_UTILS_H_ /** Returns alpha byte from color value. *...
245
19,438
/* * Copyright (c) 2020, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "AutocompleteProvider.h" namespace GUI { class GMLAutocompleteProvider final : public virtual GUI::AutocompleteProvider { public: GMLAutocompleteProvider() { } virtual ~GMLAutocompleteProvider() ...
208
416
<reponame>HumbleHunger/xbook2<filename>src/arch/x86/mach-i386/interrupt/pic.c #include <arch/pic.h> #include <arch/io.h> #include <arch/interrupt.h> #include <xbook/hardirq.h> void pic_init(void) { /* mask all interrupts */ ioport_out8(PIC_MASTER_CTLMASK, 0xff); ioport_out8(PIC_SLAVE_CTLMASK, 0xff); ioport_...
1,198
891
/* * Copyright (C) 2008-2010 <NAME> * * This file is part of the JNR 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 * * ...
462
348
{"nom":"<NAME>","circ":"3ème circonscription","dpt":"Dordogne","inscrits":2129,"abs":1137,"votants":992,"blancs":33,"nuls":14,"exp":945,"res":[{"nuance":"MDM","nom":"<NAME>","voix":272},{"nuance":"FN","nom":"<NAME>","voix":214},{"nuance":"SOC","nom":"Mme <NAME>","voix":174},{"nuance":"FI","nom":"M. <NAME>","voix":123},...
223
1,006
<filename>libs/libc/builtin/lib_builtin_forindex.c /**************************************************************************** * libs/libc/builtin/lib_builtin_forindex.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with ...
515
1,405
<reponame>jarekankowski/pegasus_spyware<gh_stars>1000+ package com.lenovo.lps.sus.d; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.widget.Toast; import com.lenovo.lps.sus.c.a; import com.lenovo.safebox.PrivateSpaceHelper; /* JADX INFO: Acc...
1,174
518
// Copyright 2019, <NAME>. // //Author: <NAME> // // #include "EchoServer.h" #include <iostream> #include <functional> EchoServer::EchoServer(EventLoop* loop, const int port, const int threadnum) : tcpserver_(loop, port, threadnum) { tcpserver_.SetNewConnCallback(std::bind(&EchoServer::HandleNewCon...
668
376
<reponame>cjsmeele/Kvasir<filename>Lib/Chip/Unknown/Atmel/AT91SAM9M11/AES.hpp #pragma once #include <Register/Utility.hpp> namespace Kvasir { //Advanced Encryption Standard namespace AesCr{ ///<Control Register using Addr = Register::Address<0xfffc0000,0xfffefefe,0x00000000,unsigned>; ///Start P...
7,692
549
#include "egcd.cpp" pair<ll,ll> linear_congruence(ll a, ll b, ll n) { ll x, y, d = egcd(smod(a,n), n, x, y); if ((b = smod(b,n)) % d != 0) return ii(0,0); return make_pair(smod(b / d * x, n),n/d); } // vim: cc=60 ts=2 sts=2 sw=2:
122
526
<reponame>pppls/coderedcms """ Creatable pages used in CodeRed CMS. """ from modelcluster.fields import ParentalKey from coderedcms.forms import CoderedFormField from coderedcms.models import ( CoderedArticlePage, CoderedArticleIndexPage, CoderedEmail, CoderedFormPage, CoderedWebPage ) class Artic...
699
2,460
/** * Copyright (C) 2015 Red Hat, 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...
1,270
348
{"nom":"Spicheren","circ":"6ème circonscription","dpt":"Moselle","inscrits":1878,"abs":1000,"votants":878,"blancs":44,"nuls":3,"exp":831,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":555},{"nuance":"FN","nom":"M. <NAME>","voix":276}]}
97
2,338
<gh_stars>1000+ #include <iostream> using namespace std; int next() { static int i = 0; cout << "incrementing " << i << endl; return ++i; } int main() { int i = 0; while (i < 5) i = next(); return 0; }
96
1,144
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: v2ray.com/core/transport/internet/http/config.proto package com.v2ray.core.transport.internet.http; public interface ConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:v2ray.core.transport.internet.http.Config) com.googl...
345
778
<filename>applications/FemToDemApplication/custom_processes/compute_sand_production.h // | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ \. // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics FemDem Application // // License: BSD License // ...
505
422
/* * Copyright (c) <NAME>, <EMAIL> * * 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 agreed to in w...
1,752
14,668
def main(request, response): response.add_required_headers = False if b"content_type" in request.GET: response.writer.write_header(b"Content-Type", request.GET.first(b"content_type")) if b"nosniff" in request.GET: response.writer.write_header(b"x-content-type-options", b"nosniff") response.writer.write_c...
124
1,673
<gh_stars>1000+ /*****************************************************************************/ /* */ /* reginfo.h */ /* ...
4,289
675
<filename>engine/modules/box2d/box2d_joint_rope.h #pragma once #include "box2d_joint.h" namespace Echo { class Box2DJointRope : public Box2DJoint { ECHO_CLASS(Box2DJointRope, Box2DJoint) public: Box2DJointRope(); ~Box2DJointRope(); }; }
150
554
package github.tornaco.xposedmoduletest.xposed.submodules; import android.app.AndroidAppHelper; import android.content.res.Configuration; import android.util.Log; import java.util.Set; import de.robv.android.xposed.XC_MethodHook; import de.robv.android.xposed.XposedBridge; import de.robv.android.xposed.Xpo...
897
532
package ai.yue.library.base.util; /** * 线程信息获取工具类 * * @author ylyue * @since 2017年10月24日 */ public class CurrentLineInfo { private static int originStackIndex = 2; public static String getFileName() { return Thread.currentThread().getStackTrace()[originStackIndex].getFileName(); ...
500
351
<reponame>Aimware0/botty from char import IChar from town.i_act import IAct from screen import grab from npc_manager import Npc, open_npc_menu, press_npc_btn from pather import Pather, Location from typing import Union import template_finder from utils.misc import wait from ui_manager import ScreenObjects, is_visible ...
1,275
1,062
def count_vowels(x): return sum([1 if i in "aeiou" else 0 for i in x.lower()]) print count_vowels("Supercalifragilisticexpialidocious!")
58
1,104
{ "character-u": "Personagem", "character_name": "Nome", "nature-u": "Natureza", "advantage-u": "Vantagem", "disadvantage-u": "Desvantagem", "jokers-titre-u": "Jokers", "russian-roulette-u": "Roleta Russa", "roll_roulette-title": "Roleta Russa", "fbp-u": "F.B.P.", "fbp-title": "F*ck*n' b*st*rd points", "fbp-...
1,004
3,181
<gh_stars>1000+ /* * SPDX-FileCopyrightText: 2020, microG Project Team * SPDX-License-Identifier: Apache-2.0 */ package com.google.android.gms.nearby.exposurenotification.internal; import org.microg.safeparcel.AutoSafeParcelable; public class GetTemporaryExposureKeyHistoryParams extends AutoSafeParcelable { @...
228
977
<filename>Example/Pods/Realm/include/core/realm/parser/keypath_mapping.hpp //////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License...
1,135
4,538
<gh_stars>1000+ /* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ /****************************************************************************** * @file drv_dmac.h * @brief header file for dmac driver * @version V1.0 * @date 02. June 2017 * @model dmac ******************************...
2,924
340
<filename>chempy/tests/test_solution.py # -*- coding: utf-8 -*- import pytest from .._solution import Solution, QuantityDict from ..util.testing import requires from ..units import magnitude, units_library, to_unitless, default_units as u @requires(units_library) def test_QuantityDict(): # QuantityDict * scalar...
1,009
3,508
package com.fishercoder; import com.fishercoder.solutions._29; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.assertEquals; public class _29Test { private static _29.Solution1 solution1; private static _29.Solution2 solution2; @BeforeClass public static void setu...
299
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...
2,061
1,444
<filename>Mage.Sets/src/mage/cards/c/Crypsis.java package mage.cards.c; import mage.abilities.effects.Effect; import mage.abilities.effects.common.UntapTargetEffect; import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; import mage.abilities.keyword.ProtectionAbility; import mage.cards.CardImpl; imp...
552
839
<filename>rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/EffectivePolicyImplTest.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. The ASF l...
6,594
60,067
#pragma once #include "c10/util/Flags.h" #include "caffe2/core/common.h"
34
310
<filename>Projects/Editor/Source/GUI/Controls/CProgressBar.cpp /* !@ MIT License Copyright (c) 2021 Skylicht Technology CO., LTD 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 restrictio...
1,075
319
<filename>core/core-math/src/main/java/org/openimaj/math/matrix/algorithm/pca/CovarPrincipalComponentAnalysis.java<gh_stars>100-1000 /** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
1,155
704
package org.jgroups.util; import java.io.DataOutput; import java.io.IOException; /** * Decorates an output stream ({@link java.io.DataOutput}) and writes only a subset [start..end] (both indices * inclusive) of the original data to the underlying output stream.<br/> * Example: <pre>start=5, length=5: range=[5..9],...
1,225
619
<reponame>moredu/upm<filename>include/interfaces/interfaces.cxx #include "iAcceleration.hpp" #include "iAngle.hpp" #include "iButton.hpp" #include "iClock.hpp" #include "iCollision.hpp" #include "iDistance.hpp" #include "iDistanceInterrupter.hpp" #include "iEC.hpp" #include "iElectromagnet.hpp" #include "iEmg.hpp" #inc...
332
628
<filename>External/FEXCore/Source/Interface/Core/Interpreter/F80Ops.h #pragma once #include "Common/SoftFloat.h" #include "Common/SoftFloat-3e/softfloat.h" #include <FEXCore/IR/IR.h> namespace FEXCore::CPU { template<IR::IROps Op> struct OpHandlers { }; template<> struct OpHandlers<IR::OP_F80CVTTO> { static X80So...
3,316
2,329
<gh_stars>1000+ package com.demo; public class Foo { public static void main(String[] args) { Bar bar = new Bar(); System.out.println(bar.increment()); System.out.println(bar.increment()); System.out.println(bar.increment()); System.out.println(bar.increment()); System.out.println(bar.increment()); } }
117
1,024
<gh_stars>1000+ #pragma once #include <cstdint> #include <memory> #include <utility> // for forward #include <vector> #include <gtsam/base/Matrix.h> #include <gtsam/geometry/Point2.h> #include <gtsam/geometry/Point3.h> #include <glog/logging.h> #include <opencv2/core.hpp> namespace VIO { using Timestamp = std::in...
1,883
678
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "WXPBGeneratedMessage.h" @class NSMutableArray, NSString; @interface Production : WXPBGeneratedMessage { } + (void)initialize; // Remaining properties @property(nonatomic) uns...
456
486
<filename>cup-maven-plugin/src/main/java/jflex/maven/plugin/cup/GenerateMojo.java<gh_stars>100-1000 package jflex.maven.plugin.cup; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Optional; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java....
2,675
427
<filename>SymbolExtractorAndRenamer/llvm/lib/TableGen/Record.cpp //===- Record.cpp - Record implementation ---------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details...
24,389
956
<reponame>timgates42/trex-core<filename>scripts/automation/trex_control_plane/interactive/trex/wireless/services/client/client_service_association_and_dhcp.py import threading from .client_service import * from ...trex_wireless_client_state import ClientState from scapy.contrib.capwap import * from .client_service_a...
1,009
348
{"nom":"Larochemillay","circ":"2ème circonscription","dpt":"Nièvre","inscrits":199,"abs":95,"votants":104,"blancs":11,"nuls":3,"exp":90,"res":[{"nuance":"REM","nom":"<NAME>","voix":47},{"nuance":"SOC","nom":"<NAME>","voix":43}]}
92
412
<filename>jbmc/regression/jbmc-strings/ConstantEvaluationStringBuilderDeleteCharAt/Test.java<gh_stars>100-1000 public class Test { public void testSuccess() { StringBuilder sb = new StringBuilder("abc"); sb.deleteCharAt(1); assert sb.toString().equals("ac"); } public void testNoPropagation(int inde...
291
668
/** * 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 m...
2,441
678
<reponame>bzxy/cydia /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iAdCore.framework/iAdCore */ #import <iAdCore/iAdCore-Structs.h> #import <iAdCore/XXUnknownSuperclass.h> // iOSOpenDev: wrapped with define check (since occurs in other dumped files) #ifndef __X...
564
841
/* * Copyright 2017 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 * * Unless required by app...
2,966
2,133
<reponame>BishmoyPaul/lama<filename>saicinpainting/training/data/datasets.py import glob import logging import os import random import albumentations as A import cv2 import numpy as np import torch import torch.nn.functional as F import webdataset from omegaconf import open_dict, OmegaConf from skimage.feature import ...
6,686
1,755
<gh_stars>1000+ /*========================================================================= Program: Visualization Toolkit Module: TestOSPRayImplicits.cxx Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software...
3,823
476
<filename>release/src-rt-6.x.4708/router/iptables-1.4.x/extensions/libxt_iprange.c #include <stdint.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <xtables.h> #include <linux/netfilter.h> #include <linux/netfilter/xt_iprange.h> struct ipt_iprange { /* Inclusive: network order. */ __be32 min_i...
4,484
1,163
// Copyright 2020 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/compiler/Dialect/VM/IR/VMOps.h" #include "iree/compiler/Dialect/VM/Transforms/Pass...
1,255
1,705
{ "AWS": { "Profile": "myProfile", "ProfilesLocation": "myProfileLocation", "Region": "us-west-2" } }
56
577
<gh_stars>100-1000 /** * Copyright 2009, Google Inc. All rights reserved. * Licensed to PSF under a Contributor Agreement. */ package org.python.indexer.ast; import org.python.indexer.Scope; import org.python.indexer.types.NType; /** * Represents a keyword argument (name=value) in a function call. */ public cla...
434
2,568
<reponame>rkelly/twofactorauth { "UpdraftPlus": { "domain": "updraftplus.com", "tfa": [ "totp" ], "documentation": "https://updraftplus.com/my-account/two-factor-login-security-settings/", "keywords": [ "backup" ] } }
124
521
/** @file * VBox Remote Desktop Extension (VRDE) - Video Input interface. */ /* * Copyright (C) 2012-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under ...
20,305
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...
2,320
1,739
package test; public class AbstractClass_SampleImpl2 extends AbstractClass { public AbstractClass_SampleImpl2() { System.out.println("SampleImpl2 constructed"); } public void Method1() throws Exception { throw new Exception(); } public void Method2() throws Exception { throw n...
111
2,111
// // Created by gishr on 19-4-19. // #ifndef SCENE_RETRIEVING_IMAGE_PROCESS_H #define SCENE_RETRIEVING_IMAGE_PROCESS_H #include <iostream> #include <Eigen/Core> #include <opencv2/core/eigen.hpp> #include <opencv2/core.hpp> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> class image_process{ i...
187
393
/******************************************************************************* * Copyright 2011 <NAME> * <p> * 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 * <p> * http://www.apache.o...
1,331
1,490
<filename>Sources/libcoverage/include/libcoverage.h // Copyright 2019 Google LLC // // 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 // // Un...
882
347
<filename>backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/interfaces/SPMTask.java package org.ovirt.engine.core.bll.tasks.interfaces; import java.util.Map; import org.ovirt.engine.core.bll.tasks.AsyncTaskState; import org.ovirt.engine.core.common.VdcObjectType; import org.ovirt.engine.core.c...
599
313
<filename>models/cnn.py import theano import theano.tensor as T from theano.sandbox.rng_mrg import MRG_RandomStreams from theano.tensor.nnet.conv import conv2d from theano.tensor.signal.downsample import max_pool_2d from theano.tensor.shared_randomstreams import RandomStreams import numpy as np import scipy.io import ...
1,208
911
<filename>lib.JBE/src/ee/ioc/cs/jbe/browser/detail/attributes/LineNumberTableAttributeDetailPane.java /* This library 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...
1,604
325
///////////////////////////////////////////////////////////////////////////////////////////////// // // IL2C - A translator for ECMA-335 CIL/MSIL to C language. // Copyright (c) 2016-2019 <NAME> (@kozy_kekyo, @kekyo2) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exc...
1,008
2,151
// Copyright 2017 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. #ifndef IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_OBSERVER_H_ #define IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_OBSERVER_H_ #import <Foundation/Found...
263
335
{ "word": "Symbol", "definitions": [ "A mark or character used as a conventional representation of an object, function, or process, e.g. the letter or letters standing for a chemical element or a character in musical notation.", "A shape or sign used to represent something such as an organizatio...
152
316
<filename>src/cards/Bookmarks/manifest.json { "settings": { "maxRecents": 7 }, "more": { "chrome": "chrome://bookmarks/", "firefox": "chrome://browser/content/places/places.xul" }, "permissions": ["bookmarks"] }
93
1,696
""" Test the use of LazyString to populate a template at runtime. """ from flask import Flask, jsonify, request from flasgger import Swagger, LazyString, LazyJSONEncoder app = Flask(__name__) # Set the LAzyString JSON Encoder app.json_encoder = LazyJSONEncoder app.config['SWAGGER'] = { 'uiversion': 2 } templa...
1,184
777
<filename>net/proxy/proxy_resolver_factory_mojo_unittest.cc // Copyright 2015 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 "net/proxy/proxy_resolver_factory_mojo.h" #include <list> #include <map> #include <m...
11,371
348
{"nom":"Liernais","circ":"5ème circonscription","dpt":"Côte-d'Or","inscrits":426,"abs":231,"votants":195,"blancs":19,"nuls":8,"exp":168,"res":[{"nuance":"REM","nom":"<NAME>","voix":111},{"nuance":"LR","nom":"<NAME>","voix":57}]}
94
520
''' Created on July 25, 2018 @author: taowei.sha ''' import tensorflow as tf import pandas as pd import numpy as np import sys import os from numpy.random import RandomState def make_data(): data = pd.read_csv('/Users/slade/Documents/Personalcode/machine-learning/data/tiny_train_input.csv', heade...
3,203
410
<reponame>InstantWebP2P/node-android<gh_stars>100-1000 // Copyright (c) 2014 <NAME><<EMAIL>> package com.iwebpp.node.js.rhino; import org.mozilla.javascript.Context; import org.mozilla.javascript.Scriptable; import org.mozilla.javascript.ScriptableObject; import com.iwebpp.SimpleDebug; import com.iwebpp.node.NodeCo...
5,368
375
#include "altivecbase64.h" #include <altivec.h> #include <stdbool.h> typedef __attribute__((__aligned__(16), __may_alias__)) vector unsigned char uint8x16; typedef __vector unsigned short uint16x8; typedef __vector unsigned int uint32x4; static inline uint8x16 set1_uint8x16(unsigned char a) { return (uint8x16){a, ...
2,715
645
// Copyright 2013-2016 Stanford University // // 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...
1,797