max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
32,544
<reponame>DBatOWL/tutorials package com.baeldung.spring.data.reactive.redis.model; import java.io.Serializable; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.ToString; @Data @ToString @AllArgsConstructor @NoArgsConstructor @Equal...
180
1,204
<gh_stars>1000+ /* * Copyright 2015 <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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
4,589
1,767
<reponame>aNNiMON/Lightweight-Stream-API package com.annimon.stream.streamtests; import com.annimon.stream.Functions; import com.annimon.stream.Stream; import com.annimon.stream.function.Predicate; import com.annimon.stream.function.UnaryOperator; import com.annimon.stream.test.hamcrest.StreamMatcher; import java.util...
1,651
1,327
/******************************************************************************* * Copyright 2020-2021 Arm Ltd. and 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://w...
1,762
5,450
<reponame>infosia/VRM.h { "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "glTFid.schema.json", "title": "glTF Id", "type": "integer", "minimum": 0 }
92
679
<filename>main/filter/source/xsltfilter/uof2merge.cxx /************************************************************** * * 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 co...
8,388
387
""" ################################################################################################## # Copyright Info : Copyright (c) Davar Lab @ Hikvision Research Institute. All rights reserved. # Filename : spatial_temporal_east_det.py # Abstract : YORO detection model # Current Version: 1...
2,065
4,283
<reponame>software-is-art/hazelcast /* * Copyright 2021 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless...
700
1,590
<gh_stars>1000+ { "parameters": { "scanId": "latest", "workspaceId": "55555555-6666-7777-8888-999999999999", "api-version": "2020-07-01-preview", "resourceId": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/...
642
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...
2,263
515
<reponame>paulo-e/caelum-stella package br.com.caelum.stella.gateway.pagseguro; import java.math.BigDecimal; import br.com.caelum.stella.gateway.core.BigDecimalFormatter; /** * Representa um item do carrinho que deve ser enviado ao UOL. * @author <NAME> * */ public class PagSeguroItem { private St...
1,408
611
<reponame>theredled/idea-php-symfony2-plugin package fr.adrienbrault.idea.symfony2plugin.profiler.factory; import com.intellij.openapi.project.Project; import fr.adrienbrault.idea.symfony2plugin.Settings; import fr.adrienbrault.idea.symfony2plugin.profiler.HttpProfilerIndex; import fr.adrienbrault.idea.symfony2plugin....
400
456
<reponame>alexingcool/presto /* * 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...
4,353
2,542
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once namespace Reliab...
800
428
<gh_stars>100-1000 from pytest_factoryboy import register import pytest from rest_framework.test import APIClient from accounts.factories import AccountFactory from events.factories import CategoryFactory, EventFactory from comments.factories import CommentFactory register(AccountFactory, 'account') register(Category...
655
777
<gh_stars>100-1000 // 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. #include "ash/wm/power_button_controller.h" #include "ash/common/accelerators/accelerator_controller.h" #include "ash/common/ash_s...
2,707
14,668
// 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. #ifndef CONTENT_BROWSER_BUCKETS_BUCKET_HOST_H_ #define CONTENT_BROWSER_BUCKETS_BUCKET_HOST_H_ #include "base/memory/raw_ptr.h" #include "components/servi...
772
3,269
// Time: O(nlogn) // Space: O(1) class Solution { public: int minimumEffort(vector<vector<int>>& tasks) { sort(begin(tasks), end(tasks), [](const auto& a, const auto& b) { return a[1] - a[0] < b[1] - b[0]; // sort by waste in asc }); int result = 0; ...
608
1,402
<reponame>h-rover/gtsam<filename>gtsam/nonlinear/DoglegOptimizer.h /* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: <NAME>, et al. (see THANKS for the full author...
1,199
1,338
/* * Copyright 2005-2008, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT license. * * Author: * <NAME> <<EMAIL>> */ #ifndef OFFSCREEN_WINDOW_H #define OFFSCREEN_WINDOW_H #include "Window.h" #include <AutoDeleter.h> class BitmapHWInterface; class ServerBitmap; class OffscreenWindo...
264
2,151
// 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. #ifndef CC_TREES_LATENCY_INFO_SWAP_PROMISE_H_ #define CC_TREES_LATENCY_INFO_SWAP_PROMISE_H_ #include <stdint.h> #include "base/compiler_specific.h" #inc...
374
14,668
// 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 IOS_CHROME_BROWSER_UI_DOWNLOAD_DOWNLOAD_MANAGER_CONSUMER_H_ #define IOS_CHROME_BROWSER_UI_DOWNLOAD_DOWNLOAD_MANAGER_CONSUMER_H_ #import <Foundati...
405
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 ...
3,470
419
<gh_stars>100-1000 /* Cock's Identity Based Encryption Encryption phase Generates a random AES session key, and uses it to encrypt a file. Outputs ciphertext <filename>.ipk The session key is ID_PKC encrypted, and written to <filename>.key Requires : big.cpp */ #include <iostream> #include ...
1,804
1,109
<filename>modules/functional-test/src/main/java/com/intuit/wasabi/tests/service/PrioritiesTest.java /******************************************************************************* * Copyright 2016 Intuit * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
3,311
335
{ "word": "Refractometer", "definitions": [ "An instrument for measuring a refractive index." ], "parts-of-speech": "Noun" }
62
543
<reponame>fredells/riiablo package com.riiablo.widget; import com.badlogic.gdx.utils.Disposable; public class TextArea extends com.badlogic.gdx.scenes.scene2d.ui.TextArea implements Disposable { public TextArea(TextFieldStyle style) { this("", style); } public TextArea(String text, TextFieldStyle style) {...
191
593
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2022 Ruhr University Bochum, Paderborn University, Hackmanit GmbH * * Licensed under Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0.txt */ package de.rub.nds.tlsattacker.core.protocol.serializer.ext...
857
362
<reponame>hsiangawang/whois<gh_stars>100-1000 package net.ripe.db.whois.update.autokey.dao; import net.ripe.db.whois.update.domain.X509KeycertId; public interface X509Repository extends AutoKeyRepository<X509KeycertId> { }
88
478
<filename>paper-code/pytorch_src/logME.py import torch import numpy as np from numba import njit @njit def each_evidence(y_, f, fh, v, s, vh, N, D): """ compute the maximum evidence for each class """ alpha = 1.0 beta = 1.0 lam = alpha / beta tmp = (vh @ (f @ y_)) for _ in range(11): ...
1,275
764
{ "symbol": "UINFO", "address": "0xfd7aa5e3005dabf3a30a8b5f22b46a0ae446ce80", "overview": { "en": "UINFO capitalization is a high-quality information platform, based on block chain technology achieving personal quality approval and pricing information and decentralized trading, apply its information...
755
347
"""extended_groups Revision ID: <KEY> Revises: a90076b18837 Create Date: 2017-05-19 17:08:34.780367 """ # revision identifiers, used by Alembic. revision = '<KEY>' down_revision = 'a90076b18837' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa def upgrade(): ### commands a...
2,275
5,937
<reponame>txlos/wpf // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //+--------------------------------------------------------------------------- // // // Descr...
1,634
749
#!/usr/bin/env python3 import pkg_resources extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx_autodoc_typehints' ] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = 'AnyIO' author = '<NAME>' copyright = '2018, ' + author v = pkg_resources.get_distr...
300
5,169
{ "name": "RoomKit", "version": "0.1.3", "swift_version": "4.0", "summary": "RoomKit is a framework that allows for you to train and then use a model of bluetooth signals in the rooms of a space.", "description": "RoomKit is a framework that allows for you to train and then use a model of bluetooth signals in...
316
460
/* * 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 code must retain the above copyright * notice, this list of ...
2,390
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 ...
939
5,169
{ "name": "AgoraRtcEngine_iOS_temp", "version": "1.4.4.1", "summary": "Agora iOS Rtm SDK", "description": "iOS library for agora real-time message communication and broadcasting service.", "homepage": "https://www.agora.io/en/blog/download/", "license": { "type": "Copyright", "text": "Copyright 2019...
302
2,322
/* * browseui - Internet Explorer / Windows Explorer standard UI * * Copyright 2001 <NAME> (for CodeWeavers) * Copyright 2004 <NAME> (for CodeWeavers) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free...
2,903
27,066
package com.xkcoding.websocket.socketio.config; /** * <p> * 事件常量 * </p> * * @author yangkai.shen * @date Created in 2018-12-18 19:36 */ public interface Event { /** * 聊天事件 */ String CHAT = "chat"; /** * 广播消息 */ String BROADCAST = "broadcast"; /** * 群聊 */ S...
228
852
<reponame>ckamtsikis/cmssw import argparse import subprocess import signal, fcntl import sys, os, time # dup and close stdin/stdout stdin_ = os.dup(sys.stdin.fileno()) stdout_ = os.dup(sys.stdout.fileno()) sys.stdin.close() sys.stdout.close() class Timeout(IOError): pass def alarm_handler(signum, frame): if...
1,119
14,668
<filename>chrome/credential_provider/gaiacp/gaia_credential_provider_module.h<gh_stars>1000+ // 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_CREDENTIAL_PROVIDER_GAIACP_GAIA_CREDENTIAL_PRO...
826
7,482
<reponame>Davidfind/rt-thread /*""FILE COMMENT""******************************************************* * System Name : Voltage detection circuit API for RX62Nxx * File Name : r_pdl_lvd.h * Version : 1.02 * Contents : LVD API header * Customer : * Model : * Order : * CPU : RX * Compiler : RXC * OS : Not...
474
348
{"nom":"Saunières","circ":"3ème circonscription","dpt":"Saône-et-Loire","inscrits":72,"abs":35,"votants":37,"blancs":6,"nuls":0,"exp":31,"res":[{"nuance":"REM","nom":"<NAME>","voix":21},{"nuance":"LR","nom":"M. <NAME>","voix":10}]}
98
1,408
/* * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PMU_H #define PMU_H /* Allocate sp reginon in pmusram */ #define PSRAM_SP_SIZE 0x80 #define PSRAM_SP_BOTTOM (PSRAM_SP_TOP - PSRAM_SP_SIZE) /******************************************...
2,280
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 ...
2,329
892
<filename>advisories/unreviewed/2022/05/GHSA-w7r2-35m5-84qx/GHSA-w7r2-35m5-84qx.json { "schema_version": "1.2.0", "id": "GHSA-w7r2-35m5-84qx", "modified": "2022-05-02T03:50:02Z", "published": "2022-05-02T03:50:02Z", "aliases": [ "CVE-2009-3945" ], "details": "Unspecified vulnerability in the Front-End...
551
747
// // mgsort.c // Algorithms - Merge sort // // Created by YourtionGuo on 11/05/2017. // Copyright © 2017 Yourtion. All rights reserved. // #include <stdlib.h> #include <string.h> #include "sort.h" #pragma mark - Private /** 将两个有序集合并成一个有序集 @param data 数据数组 @param esize 每个元素的大小 @param i 元素分区起点 @param j 元素...
1,461
1,762
/* * Copyright (C) 2007-2008 ARM Limited * * 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,908
506
// https://cses.fi/problemset/task/1196/ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef tuple<ll,ll>ii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<vii> vvii; typedef priority_queue<ii,vii,greater<ii>> pq; int main() { ios::sync_with_stdio(0); cin.tie(0); int n,m...
471
2,151
<filename>device/fido/device_response_converter.h // 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 DEVICE_FIDO_DEVICE_RESPONSE_CONVERTER_H_ #define DEVICE_FIDO_DEVICE_RESPONSE_CONVERTER_H_ #incl...
689
311
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://appsec-schema.datadoghq.com/jsonschema/raw/contexts/_definitions/service/service_0.1.0.json", "type": "object", "properties": { "name": { "type": "string" }, "environment": { "type": ["string", "null"] }, ...
189
526
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.conformance.beans; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; ...
1,002
5,939
/* Copyright 2015 Twitter, Inc. */ package com.twitter.finagle.thrift.service; import scala.PartialFunction; import org.junit.Test; import com.twitter.finagle.service.ReqRep; import com.twitter.finagle.service.ResponseClass; public class ThriftResponseClassifierCompilationTest { @Test public void testThriftExc...
149
575
// 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 "third_party/blink/renderer/platform/scheduler/worker/non_main_thread_scheduler_impl.h" #include <utility> #include "base/bind.h" #include "thi...
1,517
342
package me.zq.youjoin.fragment; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.tex...
4,464
10,225
package io.quarkus.logging.gelf.graal; import com.oracle.svm.core.annotate.Substitute; import com.oracle.svm.core.annotate.TargetClass; import biz.paluch.logging.gelf.intern.GelfSender; import biz.paluch.logging.gelf.intern.GelfSenderConfiguration; @TargetClass(className = "biz.paluch.logging.gelf.intern.sender.Kafk...
194
2,151
// Copyright (c) 2011 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 <sstream> #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/range/range.h" #include "ui/gfx/range/range_f.h" namespace { tem...
3,186
403
package com.camunda.consulting.demo.incident; import org.camunda.bpm.BpmPlatform; import org.camunda.bpm.engine.ProcessEngine; import org.camunda.bpm.engine.RuntimeService; import org.camunda.bpm.engine.impl.incident.DefaultIncidentHandler; import org.camunda.bpm.engine.impl.incident.IncidentContext; import org.camund...
379
5,169
<filename>Specs/iOSSolarMapOverlay/1.0.0/iOSSolarMapOverlay.podspec.json { "name": "iOSSolarMapOverlay", "version": "1.0.0", "summary": "A Solar Terminator Overlay for iOS.", "homepage": "https://github.com/DABSquared/iOSSolarMapOverlay", "license": "MIT", "authors": { "DABSquared": "<EMAIL>" }, "so...
348
1,178
<gh_stars>1000+ # Copyright 2020 Makani Technologies 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 ...
37,048
335
<gh_stars>100-1000 { "word": "Claudication", "definitions": [ "Limping.", "A condition in which cramping pain in the leg is induced by exercise, typically caused by obstruction of the arteries." ], "parts-of-speech": "Noun" }
98
1,405
<reponame>jarekankowski/pegasus_spyware package com.lenovo.safecenterwidget; import android.content.Context; import android.util.Log; import com.lenovo.lps.reaper.sdk.AnalyticsTracker; /* loaded from: classes.dex */ public class TrackEvent { static final String CATEGORY_APP_RMISSION = "appPerm"; private static...
4,352
696
<reponame>hwang-pku/Strata /* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.data.scenario; import static com.opengamma.strata.collect.TestHelper.coverBeanEquals; import static com.opengamma.strata.colle...
970
23,901
<filename>student_mentor_dataset_cleaning/training/datasets/mnist.py # coding=utf-8 # Copyright 2021 The Google Research 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:...
1,167
776
package act.crypto; /*- * #%L * ACT Framework * %% * Copyright (C) 2014 - 2017 ActFramework * %% * 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/licen...
2,230
755
class SomeClass: y = 4 def func(self, g): print(g) c = SomeClass() c.func("member function call on class")
49
2,329
<filename>shenyu-plugin/shenyu-plugin-cache/shenyu-plugin-cache-redis/src/main/java/org/apache/shenyu/plugin/cache/redis/RedisCache.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 informati...
1,122
302
<gh_stars>100-1000 //**************************************************************************** //** //** fsys.cpp //** -Virtual File System //** //**************************************************************************** //============================================================================ // IMP...
1,082
1,771
<filename>demo.py #coding:utf-8 import thulac thu1 = thulac.thulac(seg_only=True, model_path="请查看README下载相关模型放到thulac根目录或在这里写路径") #设置模式为行分词模式 a = thu1.cut("我爱北京天安门") print(a)
157
335
{ "word": "Cultivation", "definitions": [ "The action of cultivating land, or the state of being cultivated.", "The process of trying to acquire or develop a quality or skill.", "Refinement and good education." ], "parts-of-speech": "Noun" }
103
3,296
#ifndef _GUARD_async_h_ #define _GUARD_async_h_ // it tries to maintain a FIFO order, but it may not be the case sometimes void main_async_f(void* context, void (*cb)(void*)); void main_async_init(void); void main_async_start(EV_P); void main_async_destroy(void); #endif
106
973
/*_########################################################################## _## _## Copyright (C) 2016 Pcap4J.org _## _########################################################################## */ package org.pcap4j.packet; import java.nio.ByteOrder; import org.pcap4j.packet.RadiotapPacket.RadiotapData; i...
7,148
5,169
{ "name": "TagLayout", "version": "0.1.0", "summary": "Library allowing easily showing of text tags in UICollectionView", "description": "'A subclass of UICollectionViewLayout to achieve tags in CollectionView. Easy to integrate and use. Written in Swift and works with UIKit.", "homepage": "https://github.com...
395
655
#include <StdAfx.h> #include <UI/Controls/SortList/SingleMAPIPropListCtrl.h> #include <core/mapi/columnTags.h> #include <UI/Dialogs/MFCUtilityFunctions.h> #include <UI/UIFunctions.h> #include <UI/MySecInfo.h> #include <core/interpret/guid.h> #include <UI/file/FileDialogEx.h> #include <core/utility/import.h> #include <c...
19,815
343
<reponame>devtayls/elixir { "blurb": "Named functions may declare default values for one or more of their arguments.", "authors": [ "neenjaw" ], "contributors": [ "angelikatyborska" ] }
81
14,668
// 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 THIRD_PARTY_BLINK_RENDERER_MODULES_BLUETOOTH_BLUETOOTH_REMOTE_GATT_UTILS_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_BLUETOOTH_BLUETOOTH_REMOTE_...
333
406
{ "name": "gluestick-packages", "scripts": { "lerna": "lerna", "yarn:install": "lerna exec --concurrency=1 -- yarn install", "yarn:install:ci": "lerna exec --concurrency=1 -- yarn install --frozen-lockfile", "install:npm": "npm install && npm run build && lerna bootstrap", "install:yarn": "yarn ...
1,537
2,053
/* * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * 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...
2,944
2,221
/* * 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 ...
1,855
435
<filename>pybay-2017/videos/moshe-zadka-and-kurt-b-rose-moving-towards-best-practices-in-legacy-code-bases-pybay2017.json { "description": "When a company is young, getting the product out the door is the most important thing. Time to market and lopsided hiring of inexperienced developers often ends up delivering a p...
588
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Cotignac","circ":"8ème circonscription","dpt":"Var","inscrits":1790,"abs":919,"votants":871,"blancs":63,"nuls":16,"exp":792,"res":[{"nuance":"REM","nom":"<NAME>","voix":514},{"nuance":"FN","nom":"<NAME>","voix":278}]}
118
777
<filename>services/ui/display/screen_manager_ozone.cc // 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. #include "services/ui/display/screen_manager_ozone.h" #include <string> #include <utility> #includ...
4,673
2,151
#!/usr/bin/env python2.7 # Copyright 2015 gRPC 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 l...
1,349
9,156
/** * 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...
1,950
892
<filename>advisories/unreviewed/2022/04/GHSA-j3j5-x3ff-v276/GHSA-j3j5-x3ff-v276.json { "schema_version": "1.2.0", "id": "GHSA-j3j5-x3ff-v276", "modified": "2022-04-22T00:24:18Z", "published": "2022-04-22T00:24:18Z", "aliases": [ "CVE-2011-3631" ], "details": "Hardlink before 0.1.2 has multiple integer...
593
27,470
// Copyright 2019 <NAME>. // // This file is part of GitStatus. // // GitStatus 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 3 of the License, or // (at your option) any later version. // /...
313
918
<filename>gobblin-example/src/test/java/org/apache/gobblin/example/TestOneShotRunner.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 li...
557
489
from __future__ import absolute_import, print_function import json import numpy as np import tensorflow as tf from gym import spaces from rltools import log, util from rltools.algos.policyopt import TRPO, SamplingPolicyOptimizer, ConcurrentPolicyOptimizer from rltools.baselines.linear import LinearFeatureBaseline fr...
6,654
868
/* * 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 n...
1,248
937
<gh_stars>100-1000 package cyclops.data; import com.oath.cyclops.types.persistent.PersistentIndexed; import cyclops.control.Option; import cyclops.function.Function1; import cyclops.reactive.ReactiveSeq; import lombok.AllArgsConstructor; import java.util.List; import java.util.function.Supplier; public interface Enu...
2,459
364
<filename>doc/quickbook/oalplus/quickref/device.hpp /* * Copyright 2014-2019 <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) */ //[oalplus_device_common namespace tag { struct Playback {}; struct Capt...
1,337
892
{ "schema_version": "1.2.0", "id": "GHSA-248v-73qf-wh7x", "modified": "2022-01-20T00:02:53Z", "published": "2022-01-11T00:01:39Z", "aliases": [ "CVE-2021-20048" ], "details": "A Stack-based buffer overflow in the SonicOS SessionID HTTP response header allows a remote authenticated attacker to cause De...
373
32,544
<gh_stars>1000+ package com.baeldung.spring.data.gemfire.repository; import com.baeldung.spring.data.gemfire.function.FunctionExecution; import com.baeldung.spring.data.gemfire.function.GemfireConfiguration; import com.baeldung.spring.data.gemfire.model.Employee; import com.google.common.collect.Lists; import org.juni...
1,159
852
<reponame>malbouis/cmssw<gh_stars>100-1000 #include "L1Trigger/L1TMuonOverlap/interface/GhostBuster.h" #include <algorithm> #include <sstream> #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "L1Trigger/L1TMuonOverlap/interface/OMTFConfiguration.h" namespace { int phiGMT(int phiAlgo) { r...
1,098
937
package cyclops.monads.transformers.seq; import com.oath.cyclops.types.AbstractTraversableTest; import com.oath.cyclops.types.traversable.Traversable; import cyclops.monads.AnyMs; import cyclops.monads.Witness.reactiveSeq; import cyclops.reactive.ReactiveSeq; public class StreamTSeqTraversableTest extends AbstractT...
305
416
<filename>iPhoneOS11.2.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKCorrelationQuery.h // // HKCorrelationQuery.h // HealthKit // // Copyright (c) 2014 Apple Inc. All rights reserved. // #import <HealthKit/HKQuery.h> NS_ASSUME_NONNULL_BEGIN @class HKCorrelationType; @class HKCorrelation; /*! @cla...
775
2,236
// Authored by : seastar105 // Co-authored by : - // Link : https://www.acmicpc.net/source/share/628806951c694c76a58fa0c5e510d10f #include<bits/stdc++.h> using namespace std; int dy[4] = {-1, 1, 0, 0}; int dx[4] = {0, 0, -1, 1}; int N; int a[55][55]; bool vis[55][55]; int L, R; bool valid(int y, int x) { return 0 <...
837
2,989
<filename>databus-core/databus-core-schemas/src/main/java/com/linkedin/databus2/schemas/SchemaId.java package com.linkedin.databus2.schemas; /* * * Copyright 2013 LinkedIn Corp. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
949
6,989
from __future__ import unicode_literals from collections import deque from functools import wraps __all__ = ( 'SimpleCache', 'FastDictCache', 'memoized', ) class SimpleCache(object): """ Very simple cache that discards the oldest item when the cache size is exceeded. :param maxsize: Maxi...
1,420