max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
584
package com.example.processor; import com.example.annotation.cls.BindView; import com.google.auto.service.AutoService; import java.io.File; import java.util.LinkedHashSet; import java.util.Set; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.Messager; import javax.annotation....
590
539
<filename>cpp/test/core/basic_tests.h #pragma once class BasicTest { public: static void Initialize(); };
42
2,860
<filename>components/arena/docker/utils.py import argparse import datetime import json import os import sys import logging import requests import subprocess import six import time import yaml from subprocess import Popen,PIPE from shlex import split def setup_custom_logging(): logging.basicConfig(format='%(asctime)s...
1,732
536
<reponame>al1020119/BABaseProject<gh_stars>100-1000 // // BAUserModel.h // test // // Created by 博爱 on 2016/11/25. // Copyright © 2016年 博爱. All rights reserved. // #import "BABaseModel.h" #define BAUSERSHARE [BAUserModel sharedBAUserModel] @interface BAUserModel : BABaseModel /*!电话号码 */ @property (nonatomic, co...
301
611
// DejaLu // Copyright (c) 2015 <NAME>. All rights reserved. #include "HMMailDBMarkAsFetchedOperation.h" #include "HMMailDB.h" #include "HMMailDBChanges.h" using namespace hermes; using namespace mailcore; MailDBMarkAsFetchedOperation::MailDBMarkAsFetchedOperation() { mMessageRowID = -1; } MailDBMarkAsFetchedO...
273
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.logging; import com.yahoo.container.core.AccessLogConfig; /** * @author <NAME> */ class AccessLogHandler { private final LogFileHandler<RequestLogEntry> logFileHandler; Acce...
537
563
<reponame>kdima001/mesh package com.gentics.mesh.parameter; import java.time.ZonedDateTime; import java.util.Optional; import com.gentics.mesh.util.DateUtils; /** * Interface for project purge query parameters. */ public interface ProjectPurgeParameters extends ParameterProvider { public static final String BEFO...
394
455
/* Copyright 2019 Stanford * * 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 wri...
1,434
319
<reponame>Kobting/ModTheSpire<filename>src/main/java/com/evacipated/cardcrawl/modthespire/patcher/LocatorInfo.java package com.evacipated.cardcrawl.modthespire.patcher; import com.evacipated.cardcrawl.modthespire.lib.SpireInsertLocator; import javassist.CtBehavior; import java.lang.reflect.Constructor; public class ...
331
1,262
<gh_stars>1000+ { "component": "output/svg/fonts/tex", "targets": ["output/svg/fonts/tex.ts", "output/svg/fonts/tex", "output/common/fonts/tex"] }
69
1,056
<gh_stars>1000+ /* * 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 * ...
1,954
637
from nose2.tools import such with such.A("test scenario with errors") as it: @it.has_teardown def teardown_fail(): raise RuntimeError("Bad Error in such tearDown!") @it.should("check that value == 1") def test_passes(case): pass it.createTests(globals())
114
400
#pragma once class CGlobalVarsBase { public: float realtime; // 0x0000 int framecount; // 0x0004 float absoluteframetime; // 0x0008 float absoluteframestarttimestddev; // 0x000C float curtime; // 0x0010 ...
679
789
<filename>helpdesk/migrations/0029_kbcategory_public.py # Generated by Django 2.2.9 on 2020-01-27 16:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('helpdesk', '0028_kbitem_team'), ] operations = [ migrations.AddField( mo...
209
12,560
/* * 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,463
977
/************************************************************************* * * Copyright 2016 Realm 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/lice...
3,001
1,848
<reponame>pcwalton/rust-bindgen // bindgen-flags: --allowlist-type bool_constant -- -std=c++11 // NB: The --allowlist-type is done to trigger the traversal of the types on // codegen in order to trigger #67. template<typename T, T Val> struct integral_constant {}; template<bool B> using bool_constant = integral_cons...
114
347
package org.ovirt.engine.ui.common.view.popup; import org.gwtbootstrap3.client.ui.Column; import org.ovirt.engine.ui.common.CommonApplicationConstants; import org.ovirt.engine.ui.common.editor.UiCommonEditorDriver; import org.ovirt.engine.ui.common.gin.AssetProvider; import org.ovirt.engine.ui.common.idhandler.Element...
2,325
1,144
<reponame>dram/metasfresh<filename>backend/de.metas.swat/de.metas.swat.base/src/main/java/de/metas/adempiere/addon/standard/StandardServices.java package de.metas.adempiere.addon.standard; import org.adempiere.inout.replenish.service.IReplenishForFutureQty; import org.adempiere.inout.replenish.service.ReplenishForFutu...
951
310
/* !@ MIT License Copyright (c) 2019 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 restriction, including without limitation the rights to use, copy, modify...
1,423
679
<reponame>Grosskopf/openoffice<filename>main/embeddedobj/source/commonembedding/persistence.cxx /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work ...
25,909
647
<filename>trick_source/sim_services/DataTypes/src/CompositeValue.cpp #include "CompositeValue.hh" #include <sstream> // DESTRUCTOR CompositeValue::~CompositeValue() { int n = member_list.size(); for (int ii= 0 ; ii < n; ii++) { delete( member_list[ii] ); } } // MEMBER FUNCTION void CompositeValue:...
529
3,212
/* * 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 ...
4,111
1,504
/*++ Copyright (c) <NAME>. All rights reserved. Module Name: shvos.c Abstract: This module implements the OS-facing UEFI stubs for SimpleVisor. Author: <NAME> (@aionescu) 29-Aug-2016 - Initial version Environment: Kernel mode only. --*/ // // Basic UEFI Libraries // #include <Uefi.h> #includ...
3,542
563
// // This file generated by rdl 1.5.2. Do not modify! // package com.yahoo.athenz.msd; import com.yahoo.rdl.*; // // StaticWorkloadType - Enum representing defined types of static workloads. // public enum StaticWorkloadType { VIP, ENTERPRISE_APPLIANCE, CLOUD_LB, CLOUD_NAT, EXTERNAL_APPLIANCE; ...
265
831
/* * Copyright (C) 2013 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...
2,932
410
<gh_stars>100-1000 try: from setuptools import setup except ImportError: from distutils.core import setup setup( name = 'PttWebCrawler', packages = ['PttWebCrawler'], version = '1.4', description = 'ptt web crawler', author = '', author_email = '', url = 'https://github.com/jwlin/pt...
325
1,059
/* SPDX-License-Identifier: BSD-2-Clause */ static struct ramfs_block *ramfs_new_block(offt page) { struct ramfs_block *b; /* Allocate memory for the block object */ if (!(b = kalloc_obj(struct ramfs_block))) return NULL; /* Allocate block's data */ if (!(b->vaddr = kzmalloc(PAGE_SIZE))) { ...
653
495
<gh_stars>100-1000 from __future__ import absolute_import import os import numpy as np from .otb import ExperimentOTB from ..datasets import UAV123 from ..utils.metrics import rect_iou, center_error class ExperimentUAV123(ExperimentOTB): r"""Experiment pipeline and evaluation toolkit for UAV123 dataset. ...
656
411
// // Copyright © 2015 <NAME>. All rights reserved. #import <GLKit/GLKit.h> #ifndef __RevertCubeGLConstants #define __RevertCubeGLConstants typedef struct { float Position[3]; float TexCoord[2]; } Vertex; Vertex Vertices[] = { // Front {{1, -1, 1}, {1, 0}}, {{1, 1, 1}, {1, 1}}, {{-1, 1, 1}, {0, 1}}, ...
646
1,800
package com.limpoxe.fairy.core.android; import android.content.ContentProvider; import com.limpoxe.fairy.util.RefInvoker; public class HackContentProvider { private static final String Field_mAuthority = "mAuthority"; private Object instance; public HackContentProvider(ContentProvider instance) { ...
162
2,095
package io.rsocket.core; import static org.openjdk.jcstress.annotations.Expect.ACCEPTABLE; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; import io.rsocket.Payload; import io.rsocket.frame.FrameHeaderCodec; import io.rsocket.frame.LeaseFrameCodec; import io.rsocket.frame.PayloadFrameCodec; import...
8,301
965
#include "joinerwidget.h" #include "ui_joinerwidget.h" #include <QTreeWidgetItem> #include <QDebug> #include "addsplittedfiledialog.h" #include "joinercore.h" #include "partprocessor.h" #include "easylogging++.h" JoinerWidget::JoinerWidget(QWidget *parent) : QWidget(parent), ui(new Ui::JoinerWidget) { ui->...
462
454
<filename>vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/tables/records/FBookRecord.java /* * This file is generated by jOOQ. */ package cn.vertxup.fm.domain.tables.records; import cn.vertxup.fm.domain.tables.FBook; import cn.vertxup.fm.domain.tables.interfaces.IFBook; import io.github.jklingsporn.vertx.jooq...
8,202
816
<filename>Source/JxADF/JxPlatform/src/main/java/com/jxtech/action/JsonAction.java<gh_stars>100-1000 package com.jxtech.action; import com.jxtech.common.JxActionSupport; import com.jxtech.jbo.JboSetIFace; import com.jxtech.jbo.util.DataQueryInfo; import com.jxtech.jbo.util.JboUtil; import com.jxtech.jbo.util.JxExceptio...
1,081
2,151
<reponame>zipated/src<filename>components/update_client/ping_manager_unittest.cc // Copyright 2013 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 "components/update_client/ping_manager.h" #include <memory> #in...
4,641
14,668
// Copyright (c) 2012 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 REMOTING_HOST_CURTAIN_MODE_H_ #define REMOTING_HOST_CURTAIN_MODE_H_ #include <memory> #include "base/compiler_specific.h" #include "base/mem...
446
554
<reponame>fxxf1111/X-APM package github.tornaco.xposedmoduletest.ui; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.StringRes; /** * Created by guohao4 on 2017/9/21. * Email: <EMAIL> */ public int...
624
554
package github.tornaco.xposedmoduletest.ui.activity.app; import android.Manifest; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.SwitchCompat; import android.view.Menu; import android.view.MenuItem; import android.view...
2,271
339
<filename>recordcache/src/main/java/com/indeed/lsmtree/recordcache/IRecordLogAppender.java /* * Copyright (C) 2014 Indeed 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://w...
365
335
<reponame>Safal08/Hacktoberfest-1<gh_stars>100-1000 { "word": "Frighten", "definitions": [ "Make (someone) afraid or anxious.", "Deter someone or something from involvement or action by making them afraid.", "(of a person) become afraid or anxious." ], "parts-of-speech": "Verb" }
127
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...
630
1,467
<gh_stars>1000+ { "version": "2.14.7", "date": "2020-08-28", "entries": [ { "type": "feature", "category": "AWS Cost and Usage Report Service", "description": "This release add MONTHLY as the new supported TimeUnit for ReportDefinition." }, { ...
516
25,360
package org.jeecg.common.system.api; import com.alibaba.fastjson.JSONObject; import org.jeecg.common.api.CommonAPI; import org.jeecg.common.api.dto.OnlineAuthDTO; import org.jeecg.common.api.dto.message.*; import org.jeecg.common.system.vo.*; import java.util.List; import java.util.Map; import java.util.Set; /** * ...
4,174
372
/* * 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 writing, software distributed under t...
1,099
386
package org.aoju.bus.starter.mapper; import org.aoju.bus.core.lang.exception.InstrumentException; import org.aoju.bus.core.toolkit.StringKit; import org.aoju.bus.logger.Logger; import org.aoju.bus.mapper.builder.MapperBuilder; import org.aoju.bus.mapper.entity.Config; import org.aoju.bus.starter.BusXExtend; import org...
5,307
393
#pragma once #include "TopicModel.hpp" namespace tomoto { enum class TermWeight { one, idf, pmi, size }; template<typename _Scalar, Eigen::Index _rows, Eigen::Index _cols> struct ShareableMatrix : Eigen::Map<Eigen::Matrix<_Scalar, _rows, _cols>> { using BaseType = Eigen::Map<Eigen::Matrix<_Scalar, _rows, _co...
2,346
2,059
/* * Copyright (c) 2016 Spotify AB. * * 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 Li...
800
3,102
<gh_stars>1000+ //===--- FormatToken.h - Format C++ code ------------------------*- C++ -*-===// // // 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 // //===-----------...
15,735
8,428
""" Initial Alembic migration with all syft tables Revision ID: 0cda31d54345 Revises: Create Date: 2021-08-29 20:11:00.622963 """ # third party from alembic import op # type: ignore import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "0cda31d54345" down_revision = None branch_labels = None ...
3,839
8,865
package com.taobao.android.builder.tasks.transform; import com.android.SdkConstants; import com.android.annotations.NonNull; import com.android.annotations.Nullable; import com.android.build.api.transform.*; import com.android.build.gradle.internal.LoggerWrapper; import com.android.build.gradle.internal.api.AppVariant...
6,373
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-mv65-448j-c255", "modified": "2022-05-01T23:46:41Z", "published": "2022-05-01T23:46:41Z", "aliases": [ "CVE-2008-2105" ], "details": "email_in.pl in Bugzilla 2.23.4, 3.0.x before 3.0.4, and 3.1.x before 3.1.4 all...
902
778
// // Project Name: KratosFluidDynamicsApplication $ // Last modified by: $Author: AFranci $ // Date: $Date: January 2016 $ // Revision: $Revision: 0.0 $ // // Implementation of the Gauss-Seidel two step Updated Lagrangian Velocity-P...
9,305
12,278
// Copyright (C) 2016-2018 <NAME> // // 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) #include <boost/yap/expression.hpp> #include <boost/yap/print.hpp> #include <boost/test/minimal.hpp> #include <sstream> #incl...
25,039
1,144
package de.metas.vertical.creditscore.creditpass.process; /* * #%L * de.metas.vertical.creditscore.creditpass.process * %% * Copyright (C) 2018 metas GmbH * %% * 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 Fr...
1,450
14,668
// 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. #ifndef IOS_CHROME_BROWSER_UI_UTIL_TRANSPARENT_LINK_BUTTON_H_ #define IOS_CHROME_BROWSER_UI_UTIL_TRANSPARENT_LINK_BUTTON_H_ #import <UIKit/UIKit.h> clas...
713
2,151
// Copyright 2018 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 CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCOUNT_MANAGER_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_ACCOUNT_MANAGER_HANDLER_H_ ...
609
892
<filename>advisories/unreviewed/2022/05/GHSA-mjh7-5rg5-q2qx/GHSA-mjh7-5rg5-q2qx.json { "schema_version": "1.2.0", "id": "GHSA-mjh7-5rg5-q2qx", "modified": "2022-05-01T18:27:01Z", "published": "2022-05-01T18:27:01Z", "aliases": [ "CVE-2007-4781" ], "details": "administrator/index.php in the installer c...
573
2,023
<reponame>tdiprima/code import weakref import exceptions import threading # for lock class RecursionError(exceptions.RuntimeError): pass class _subscription(object): """A subscription is returned as a result of subscribing to an observable. When the subscription object is finalized, the subs...
2,506
349
package com.ray3k.skincomposer.dialog.scenecomposer.undoables; import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposer; import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposerModel; public class SliderMaximumUndoable implements SceneComposerUndoable { private DialogSceneComposerModel...
655
322
import torch import torch.nn as nn import numpy as np import matplotlib.colors as col import matplotlib.pyplot as plt from linformer_pytorch import Linformer, MHAttention class Visualizer(): """ A way to visualize the attention heads for each layer """ def __init__(self, net): assert isinstan...
1,198
61,676
from . import site content = 'Another Good Module' site._registry.update({ 'lorem': 'ipsum', })
37
1,745
//********************************* bs::framework - Copyright 2018-2019 <NAME> ************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "Wrappers/BsScriptOrder.h" namespace bs { MonoField* ScriptOrder::...
145
652
#include "decode_previous.h" #include "previous/v0/decode_v0.h" #include "previous/v1/decode_v1.h" #include "previous/v2/decode_v2.h" #include "previous/v3/decode_v3.h" void *Decode_PreviousTensor(RedisModuleIO *rdb, int encver) { switch (encver) { case 0: return RAI_RDBLoadTensor_v0(rdb); case 1: ...
658
435
<gh_stars>100-1000 package datawave.metrics.iterators; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import datawave.metrics.keys.AnalyticEntryKey; import datawave.metrics.keys.InvalidKeyException; public class AnalyticIngestTypeFilter extends IngestTypeFilter { private An...
402
1,555
<reponame>LightSun/mir int puts (const char *); #define FOO(s) s##_f##u##nc #define STR(s) #s #define CAT(a, b) STR (a##b) int foo_func (void) { return puts (CAT (foo, 5)); } #define glue(a, b) a##b #define cat(a, b) glue (a, b) #define HELLOWORLD "hello" #define WORLD WORLD ", world" int test (void) { return puts ...
232
1,444
package mage.cards.p; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.common.DiscardCardCost; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilit...
857
945
#include <vnl/algo/vnl_symmetric_eigensystem.hxx> VNL_SYMMETRIC_EIGENSYSTEM_INSTANTIATE(double);
47
3,294
<filename>samples/snippets/cpp/VS_Snippets_Remoting/NCLWebClientUserAgent/CPP/useragent.cpp //<Snippet1> #using <System.dll> using namespace System; using namespace System::Net; using namespace System::IO; int main() { array<String^>^args = Environment::GetCommandLineArgs(); if ( args == nullptr || args->Lengt...
318
412
/* Copyright 2015 Google Inc. 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 Unless required by applicable law or agreed to in wri...
1,219
599
<filename>bcs-ui/backend/web_console/__main__.py # -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 TH<NAME>, a Tencent company. All rights reserved. Licensed under the MIT License (the "License...
962
529
<reponame>PervasiveDigital/netmf-interpreter<gh_stars>100-1000 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights res...
793
2,346
/* * Copyright 2018 <NAME> (<EMAIL>) * Copyright 2018 <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 ...
560
1,668
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import re import ralph.lib.mixins.fields import django.core.validators class Migration(migrations.Migration): dependencies = [ ('assets', '0018_disk'), ] operations = [ migrations.Al...
308
1,217
#include <iostream> #include <math.h> #include <random> #include <eigen3/Eigen/Dense> #include <ros/ros.h> #include <nav_msgs/Odometry.h> #include "quadrotor_msgs/PositionCommand.h" ros::Subscriber _cmd_sub; ros::Publisher _odom_pub; quadrotor_msgs::PositionCommand _cmd; double _init_x, _init_y, _init_z; bool rcv_c...
1,445
1,208
// // UIBarButtonItem+Back.h // TLChat // // Created by 李伯坤 on 2017/9/13. // Copyright © 2017年 李伯坤. All rights reserved. // #import <UIKit/UIKit.h> @interface UIBarButtonItem (Back) - (id)initWithBackTitle:(NSString *)title target:(id)target action:(SEL)action; @end
120
6,989
#pragma once #include <library/cpp/containers/flat_hash/lib/map.h> #include <library/cpp/containers/flat_hash/lib/containers.h> #include <library/cpp/containers/flat_hash/lib/probings.h> #include <library/cpp/containers/flat_hash/lib/set.h> #include <library/cpp/containers/flat_hash/lib/size_fitters.h> #include <libra...
2,046
568
package com.pascalwelsch.compositeandroid; import com.pascalwelsch.compositeandroid.activity.ActivityPlugin; import android.util.Log; public class ActivityTracking extends ActivityPlugin { private static final String TAG = ActivityTracking.class.getSimpleName(); @Override public void onResume() { ...
135
348
{"nom":"Rumersheim-le-Haut","circ":"4ème circonscription","dpt":"Haut-Rhin","inscrits":862,"abs":548,"votants":314,"blancs":14,"nuls":5,"exp":295,"res":[{"nuance":"LR","nom":"<NAME>","voix":150},{"nuance":"REM","nom":"<NAME>","voix":145}]}
97
310
// Copyright 2016-2018 The RamFuzz contributors. 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 // // Unless req...
285
4,289
<reponame>Librarian2000/lbry-android package io.lbry.browser.tasks.lbryinc; import android.content.Context; import android.os.AsyncTask; import android.view.View; import com.google.gson.FieldNamingPolicy; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; impor...
875
307
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Scrape Ex...
417
473
<reponame>zheli-1/crete-dev<filename>front-end/qemu-2.3/tests/tcg/cris/check_addcm.c #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include "sys.h" #include "crisutils.h" /* need to avoid acr as source here. */ static inline int cris_addc_m(int a, const int *b) { asm volatile ("addc [%1], %0\n" : "+r" (...
1,151
388
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import asyncio from uuid import UUID, uuid4 from botframework.streaming.payloads import ( PayloadAssemblerManager, RequestManager, SendOperations, StreamManager, ) from botframework.streaming.payloads.assemble...
1,184
348
{"nom":"Céaux-d'Allègre","circ":"2ème circonscription","dpt":"Haute-Loire","inscrits":426,"abs":207,"votants":219,"blancs":18,"nuls":8,"exp":193,"res":[{"nuance":"LR","nom":"<NAME>","voix":113},{"nuance":"REM","nom":"<NAME>","voix":80}]}
97
348
{"nom":"Siévoz","circ":"4ème circonscription","dpt":"Isère","inscrits":112,"abs":46,"votants":66,"blancs":1,"nuls":2,"exp":63,"res":[{"nuance":"SOC","nom":"<NAME>","voix":50},{"nuance":"REM","nom":"<NAME>","voix":13}]}
90
1,144
package de.metas.material.planning.pporder; import com.google.common.collect.ImmutableList; import de.metas.bpartner.BPartnerId; import de.metas.logging.LogManager; import de.metas.material.event.ModelProductDescriptorExtractor; import de.metas.material.event.commons.AttributesKey; import de.metas.material.event.commo...
4,093
794
<gh_stars>100-1000 /* * 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 ...
1,376
12,278
<filename>boost/libs/mpl/test/stable_partition.cpp // Copyright <NAME> 2004 // Copyright <NAME> 2003 // // 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) // // See http://www.boost.org/libs/mpl for documentation...
528
971
package com.ucar.datalink.extend.service; import com.ucar.datalink.biz.service.LoginService; import com.ucar.datalink.domain.user.UserInfo; import org.springframework.stereotype.Service; /** * Created by lubiao on 2018/3/1. */ @Service public class UCarLoginServiceImpl implements LoginService { @Override ...
178
3,387
@class WebView; @interface WebViewZoomController : NSObject - (instancetype)initWithWebView:(WebView *)webView userDefaults:(NSUserDefaults *)userDefaults; - (void)restoreSavedZoomLevels; @property (nonatomic) NSInteger textSizeLevel; @property (nonatomic) NSInteger zoomLevel; #pragma mark - WebView Proxy API - ...
288
363
<filename>datasets/build_cars196.py #!/usr/bin/env python # coding=utf8 from __future__ import absolute_import from __future__ import division from __future__ import print_function """CAR196 를 생성한다. example: CUDA_VISIBLE_DEVICES="" python build_cars196.py \ --data_dir=cars196 \ --output_dir=cars196/tfrecord_cls \ --us...
4,802
335
{ "word": "Oddsmaker", "definitions": [ "A person who works for a bookmaker by predicting a future event, such as the outcome of a race, and setting the odds for betting on it." ], "parts-of-speech": "Noun" }
85
2,691
<filename>intellij-plugin/gen/com/dropbox/djinni/ideaplugin/psi/YamlEntry.java // This is a generated file. Not intended for manual editing. package com.dropbox.djinni.ideaplugin.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface YamlEntry extends PsiE...
161
32,544
<filename>guava-modules/guava-collections-map/src/test/java/com/baeldung/guava/maps/GuavaMapsUnitTest.java package com.baeldung.guava.maps; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import java.util.List; import java...
1,561
1,091
<reponame>meodaiduoi/onos /* * Copyright 2018-present Open Networking Foundation * * 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 * ...
2,540
3,680
// // Copyright 2019 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
6,524
777
<filename>third_party/WebKit/Source/bindings/core/v8/WindowProxy.h /* * Copyright (C) 2009 Google 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: * * * Redistributions of source co...
1,219
11,775
/* * Copyright 2018 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
743
904
// // SwiftBox.h // SwiftBox // // Created by <NAME> on 2/1/15. // Copyright (c) 2015 <NAME>. All rights reserved. // @import Foundation; //! Project version number for SwiftBox. FOUNDATION_EXPORT double SwiftBoxVersionNumber; //! Project version string for SwiftBox. FOUNDATION_EXPORT const unsigned char SwiftBo...
131