max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
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... | 3,154 |
852 | <filename>HLTrigger/HLTcore/src/HLTFilter.cc
/** \class HLTFilter
*
*
* This class derives from EDFilter and adds a few HLT specific
* items. Any and all HLT filters must derive from the HLTFilter
* class!
*
*
* \author <NAME>
*
*/
#include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
#i... | 767 |
432 | /* $NetBSD: format1.c,v 1.1.1.2 2009/12/02 00:26:48 haad Exp $ */
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
* Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modif... | 6,150 |
2,550 | <gh_stars>1000+
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (C) 2010-2012 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | 1,819 |
963 | package com.vladmihalcea.book.hpjp.hibernate.association;
import com.vladmihalcea.book.hpjp.util.AbstractTest;
import org.junit.Test;
import javax.persistence.*;
import java.io.Serializable;
import java.util.*;
/**
* @author <NAME>
*/
public class BidirectionalManyToManyLinkEntityOrderColumnTest extends AbstractTe... | 3,653 |
883 | <reponame>kawww/bludit
{
"plugin-data":
{
"name": "Site haritası",
"description": "Bu eklenti, web sitenizdeki sayfaların listesini sağlayan bir sitemap.xml dosyası oluşturur. Bu, arama motorlarının web sitesindeki içeriği düzenleyip filtrelemesine yardımcı olur."
},
"sitemap-url": "Site haritası URL"
}
| 141 |
1,900 | /*
* Copyright Terracotta, 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 agreed to ... | 1,070 |
310 | <reponame>tsukoyumi/skylicht-engine<gh_stars>100-1000
/*
!@
MIT License
Copyright (c) 2020 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, includ... | 915 |
3,062 | <reponame>kudlav/organicmaps
package com.mapswithme.maps.search;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.CallSuper;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.LinearLayoutMana... | 658 |
2,538 | <filename>intro/numpy/examples/plot_chebyfit.py<gh_stars>1000+
"""
Fitting in Chebyshev basis
==========================
Plot noisy data and their polynomial fit in a Chebyshev basis
"""
import numpy as np
import matplotlib.pyplot as plt
np.random.seed(0)
x = np.linspace(-1, 1, 2000)
y = np.cos(x) + 0.3*np.random.r... | 194 |
22,779 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp and others
*
* 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/LICE... | 681 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-qj27-32wp-ghrg",
"modified": "2021-12-28T00:01:27Z",
"published": "2021-12-18T00:00:40Z",
"aliases": [
"CVE-2021-41498"
],
"details": "Buffer overflow in ajaxsoundstudio.com Pyo < and 1.03 in the Server_jack_init function. which allows attackers to conduct De... | 351 |
348 | <filename>docs/data/leg-t2/056/05603198.json
{"nom":"Rohan","circ":"3ème circonscription","dpt":"Morbihan","inscrits":1180,"abs":617,"votants":563,"blancs":32,"nuls":20,"exp":511,"res":[{"nuance":"REM","nom":"<NAME>","voix":330},{"nuance":"FI","nom":"Mme <NAME>","voix":181}]} | 113 |
2,690 | <gh_stars>1000+
// It is extremely important to use this header
// if you are using the numpy_eigen interface
#include <numpy_eigen/boost_python_headers.hpp>
#include <aslam/CameraGeometryDesignVariableContainer.hpp>
#include <sm/python/stl_converters.hpp>
#include <aslam/ReprojectionError.hpp>
#include <aslam/backend/... | 1,107 |
567 | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_swift_demoVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_swift_demoVersionString[];
| 54 |
575 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.ui;
/**
* Base implementation of DropdownItem which is used to get default settings to
* show the item.
*/
public class DropdownI... | 565 |
647 | <reponame>gilbertguoze/trick
#include "trick/Unit.hh"
| 25 |
897 | # Python program to Find the Sum of Digits of a Number
def sum_of_digits(num):
# Extracting Each digits
# and compute thier sum in 's'
s = 0
while num != 0:
s = s + (num % 10)
num = num // 10
return s
if __name__ == '__main__':
# Input the number And
# Call the function
... | 298 |
549 | package net.notejam.spring.pad;
import static net.notejam.spring.test.UriUtil.buildUri;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.csrf;
import static org.springframewo... | 1,217 |
3,931 | /*
* This file is part of dependency-check-core.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 3,312 |
4,772 | package example.repo;
import example.model.Customer874;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface Customer874Repository extends CrudRepository<Customer874, Long> {
List<Customer874> findByLastName(String lastName);
}
| 87 |
343 | class DynamicSearchException(Exception):
"""
Base exception for the app.
"""
class DynamicSearchRetry(DynamicSearchException):
"""
Exception to encapsulate backend specific errors that should be retried.
"""
| 67 |
1,104 | <gh_stars>1000+
{
"Name: ": "Imię",
"Alignment:": "Światopogląd",
"Law": "Praworządny",
"Neutral": "Neutralny",
"Chaos": "Zły",
"Player:": "Gracz",
"Experience:": "Doświadczenie",
"Class:": "Klasa",
"Warrior": "Wojownik",
"Rogue": "Szelma",
"Mage": "Czarodziej",
"Base Attack Bonus:":... | 1,015 |
400 | <reponame>imknown/android-lite-async
/*
* Copyright (C) 2013 l<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 r... | 4,105 |
942 | #pragma once
#include <QByteArray>
#include <TGlobal>
class T_CORE_EXPORT TWebSocketFrame {
public:
enum OpCode {
Continuation = 0x0,
TextFrame = 0x1,
BinaryFrame = 0x2,
Reserve3 = 0x3,
Reserve4 = 0x4,
Reserve5 = 0x5,
Reserve6 = 0x6,
Reserve7 = 0x7,
... | 889 |
1,921 | <gh_stars>1000+
def get_min_removals(intervals, reserved_intervals=list(), removed=0):
print(reserved_intervals)
if not intervals:
return removed
curr_interval = intervals[0]
if_removed = get_min_removals(
intervals[1:], reserved_intervals, removed + 1)
for ri in reserved_interval... | 348 |
679 | <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 license... | 1,798 |
1,724 | <filename>driver-core/src/main/com/mongodb/internal/async/function/RetryState.java
/*
* Copyright 2008-present MongoDB, 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:... | 6,268 |
1,338 | <filename>src/libs/posix_error_mapper/pthread_thread.cpp
/*
* Copyright 2009-2011, <NAME>, <EMAIL>.
* Distributed under the terms of the MIT License.
*/
#include <pthread.h>
#include <signal.h>
#include "posix_error_mapper.h"
WRAPPER_FUNCTION(int, pthread_create,
(pthread_t *thread, const pthread_attr_t *attr... | 722 |
1,443 | {
"copyright": "<NAME>, http://aarontrostle.com",
"url": "http://aarontrostle.com",
"email": "<EMAIL>",
"format": "txt",
"theme": "plaintext"
}
| 66 |
14,668 | <gh_stars>1000+
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/tabs/tab_group_underline.h"
#include <memory>
#include <utility>
#include "chrome/browser/ui/layout_co... | 1,156 |
394 | <filename>test/ClangModules/Inputs/custom-modules/Protocols.h<gh_stars>100-1000
@protocol FooProto
@property int bar;
@end
@protocol AnotherProto
@end
Class <FooProto> _Nonnull processFooType(Class <FooProto> _Nonnull);
Class <FooProto, AnotherProto> _Nonnull processComboType(Class <FooProto, AnotherProto> _Nonnull);... | 155 |
2,206 | <gh_stars>1000+
/*
* ******************************************************************************
* *
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
... | 536 |
5,607 | /*
* Copyright 2017-2020 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 507 |
348 | <gh_stars>100-1000
{"nom":"Marcey-les-Grèves","circ":"2ème circonscription","dpt":"Manche","inscrits":984,"abs":491,"votants":493,"blancs":22,"nuls":6,"exp":465,"res":[{"nuance":"REM","nom":"<NAME>","voix":269},{"nuance":"LR","nom":"<NAME>","voix":196}]} | 104 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-w3pj-mp82-r9qh",
"modified": "2022-02-09T00:00:46Z",
"published": "2022-02-09T00:00:46Z",
"aliases": [
"CVE-2022-24121"
],
"details": "SQL Injection vulnerability discovered in Unified Office Total Connect Now that would allow an attacker to extract sensitive i... | 394 |
541 | /**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
/**
* <p>
* Embargo allows the deposit of Items whose content should not be made visible
* until lat... | 647 |
1,540 | package test.order.github288;
import org.testng.annotations.Test;
public class Actual2Sample extends BaseSample {
@Test
public void test2() {}
}
| 47 |
1,682 | <gh_stars>1000+
/*
Copyright (c) 2015 LinkedIn Corp.
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 ... | 409 |
522 | <reponame>konny0311/algorithms-nutshell-2ed<filename>Code/Sorting/PointerBased/stripped_baseQsort.c
/**
* @file stripped_baseQsort.c Quicksort implementation
* @brief
* Complete Quicksort implementation optimized to switch to Insertion
* Sort when problem sizes are less than or equal to minSize in length.
... | 1,481 |
1,948 | <filename>reactor-netty-core/src/test/java/reactor/netty/transport/logging/ReactorNettyLoggingHandlerTest.java
/*
* Copyright (c) 2020-2021 VMware, Inc. or its affiliates, All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | 1,278 |
326 | #!/usr/bin/python
################################################################################
# #
# W E L C O M E A D V E N T U R E R #
# ... | 13,254 |
1,036 | #include_next <sys/param.h>
#define ALIGNBYTES (sizeof(uintptr_t) - 1)
#define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES)
| 64 |
2,073 | <reponame>thg-josh-coutinho/activemq<filename>activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkDestinationFilterTest.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 inf... | 698 |
706 | <reponame>goncaloperes/datashader<filename>datashader/glyphs/glyph.py
from __future__ import absolute_import, division
import inspect
import warnings
import os
from math import isnan
import numpy as np
import pandas as pd
from datashader.utils import Expr, ngjit
from datashader.macros import expand_varargs
try:
... | 2,299 |
1,256 | <gh_stars>1000+
#include <all_lib.h>
#pragma hdrstop
#if defined(__MYPACKAGE__)
#pragma package(smart_init)
#endif
#if 1
#define PROC( v )
#define Log( v )
#else
#define PROC( v ) INProc __proc v ;
#define Log( v ) INProc::Say v
#endif
static DWORD GetSize( DWORD flags )
{
if ( IS_FLAG(flags,LZH_... | 4,196 |
3,269 | <reponame>Akhil-Kashyap/LeetCode-Solutions
// Time: O(n)
// Space: O(1)
class Solution {
public:
int numSub(string s) {
static const int MOD = 1e9 + 7;
int result = 0, count = 0;
for (const auto& c : s) {
count = (c == '1') ? count + 1 : 0;
result = (result + count)... | 188 |
1,156 | /*
*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
* /
*/
package org.hyperledger.fabric.sdk;
import org.hyperledger.fabric.sdk.exception.InvalidArgumentException;
import org.hyperledger.fabric.sdk.helper.Utils;
/**
* Request to get a {@link LifecycleQueryInstalledChaincod... | 395 |
715 | /*
* Copyright 2019 Lightbend 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 agreed ... | 263 |
407 | <filename>saas/dataops/api/dataset/APP-META-PRIVATE/postrun/warehouse/entry.py<gh_stars>100-1000
# coding: utf-8
from . import sw_entity_init as entity
from . import sw_model_init as model
def init():
entity.add_sw_entities()
model.add_sw_models()
model.add_default_resource_price()
| 117 |
313 | package com.imperva.apiattacktool.processors;
import com.imperva.apiattacktool.fuzzing.Fuzzer;
import com.imperva.apiattacktool.fuzzing.modelgenerators.FuzzedModelsGenerator;
import com.imperva.apiattacktool.model.valued.EndpointValuedModel;
import com.imperva.apiattacktool.model.valued.factory.PropertyValueFactory;
... | 461 |
1,874 | <reponame>zjzh/nova
# Copyright 2011 OpenStack Foundation
# 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.... | 8,891 |
933 | <filename>src/traced/probes/ftrace/atrace_hal_wrapper.h
/*
* Copyright (C) 2019 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.apac... | 438 |
4,538 | <reponame>wstong999/AliOS-Things
/*
* Copyright (C) 2017-2020 Alibaba Group Holding Limited
*/
#if AOS_COMP_CLI
#include "stdbool.h"
#include "lwip/opt.h"
#include "lwip/apps/ifconfig.h"
#include <lwip/def.h>
#include <lwip/netdb.h>
#include <lwip/sockets.h>
#include "aos/cli.h"
void ifconfig_help(void)
{
aos_cl... | 442 |
575 | <gh_stars>100-1000
// 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 THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_SCROLL_ANCHOR_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_SCROLL_ANCHOR_H_
#inclu... | 2,000 |
1,006 | /****************************************************************************
* include/nuttx/analog/lmp92001.h
*
* 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 o... | 1,575 |
854 | __________________________________________________________________________________________________
sample 28 ms submission
class Solution:
def addStrings(self, num1: str, num2: str) -> str:
a = self.str2int(num1)
b = self.str2int(num2)
return str(a + b)
def str2int(self, num):
re... | 179 |
938 | <filename>src/main/java/slimeknights/tconstruct/smeltery/block/controller/AlloyerBlock.java
package slimeknights.tconstruct.smeltery.block.controller;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.particles.ParticleTypes;
import net.minecraft.tileentity.TileEntity;
impor... | 743 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.core.tracing.opentelemetry.implementation;
import io.opentelemetry.api.trace.Span;
import io.opentelemetry.api.trace.StatusCode;
public final class AmqpTraceUtil {
private AmqpTraceUtil() { }
/... | 477 |
1,330 | /*
* 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,008 |
369 | /********************* (C) COPYRIGHT 2007 RAISONANCE S.A.S. *******************/
/**
*
* @file circle_api.h
* @brief General header for the STM32-circle projects.
* @author FL
* @date 07/2007
* @version 1.2
* @date 10/2007
* @version 1.5 types of OutX_F64 and OutX_F256 changed to u32 (same for Y and ... | 23,455 |
698 | <reponame>vibhutisawant/nginx-clojure
/**
* Copyright (C) Zhang,Yuexiang (xfeep)
*
*/
package nginx.clojure;
import java.nio.charset.Charset;
import static nginx.clojure.NginxClojureRT.*;
public class RequestKnownOffsetVarFetcher implements RequestVarFetcher {
private long offset;
public RequestKnownOffset... | 180 |
14,570 | package io.swagger.codegen.ignore;
import com.google.common.collect.ImmutableList;
import io.swagger.codegen.ignore.rules.DirectoryRule;
import io.swagger.codegen.ignore.rules.Rule;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.*;
import java.util.ArrayList;
import java.util.Collection;
impo... | 3,364 |
369 | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "Result.hpp"
#include <at/Cmd.hpp>
#include <PhoneNumber.hpp>
namespace ModemCall
{
enum class CallState : uint8_t
{
Active = 0, // 0 active: ca... | 1,271 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
*/
#import <OfficeImport/XXUnknownSuperclass.h>
#import <OfficeImport/WDAContent.h>
#import <OfficeImport/OADClient.h>
#import <OfficeImport/OfficeImport-Structs.h>
#import <Office... | 841 |
628 | <filename>Part_8_V2_FUN_With_Talking_Robots/talking_robots_program.py<gh_stars>100-1000
import gc
import speech
def talk(words):
"""Talk to your friend Mr. George
Parameters
----------
words : str
The words to say to your friend Mr. George
Returns
-------
None
"""
gc.coll... | 1,143 |
435 | {
"description": "Registration steps to use a web app, as well as login and password reset functionality is a common requirement, but where do you begin implementing this in Django? Walking through an actual case study with code examples, novice programmers will learn some tips and tricks for finding and implementing... | 231 |
743 | package pl.allegro.tech.hermes.management.domain.dc;
public class DatacenterBoundQueryResult<T> {
private final String datacenterName;
private final T result;
public DatacenterBoundQueryResult(T result, String datacenterName) {
this.datacenterName = datacenterName;
this.result = result;
... | 176 |
2,645 | /*
* Copyright 2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 1,813 |
1,066 | /*
* Copyright (c) 2020 <NAME>
*
* 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, merge, publish, dis... | 1,842 |
1,894 | <reponame>Martijnve23/catapult
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import absolute_import
import pipes
def ShellFormat(command, trim=False):
"""Format the command for easy c... | 474 |
2,661 | <reponame>ezeeyahoo/earthenterprise
/*
* Copyright 2019 The Open GEE Contributors
*
* 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,987 |
687 | {
"programme": {
"type": "clip",
"pid": "p079x0ql",
"expected_child_count": null,
"position": null,
"image": {
"pid": "p079x6fd"
},
"media_type": "audio_video",
"title": "Sudan’s Secret Hit Squads",
"short_synopsis": "Sudan’s Secret Hit Squads Used to Attack Protests",
"m... | 1,286 |
1,133 | /*
Copyright 2015 <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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writi... | 1,831 |
1,093 | <filename>spring-integration-core/src/main/java/org/springframework/integration/routingslip/ExpressionEvaluatingRoutingSlipRouteStrategy.java
/*
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | 1,342 |
3,103 | # 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 the Li... | 804 |
2,338 | //==-- OverflowInstAnalysis.cpp - Utils to fold overflow insts ----*- 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
//
//===---------------------------... | 994 |
370 | #define DLONG
#include <../Source/umf_usolve.c>
| 20 |
984 | <filename>query-builder/src/main/java/com/datastax/oss/driver/internal/querybuilder/insert/DefaultInsert.java
/*
* Copyright DataStax, 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 a... | 3,972 |
7,482 | /******************************************************************************
*
* @brief providing APIs for configuring I2C module (I2C).
*
*******************************************************************************
*
* provide APIs for configuring I2C module (I2C).
**********************************************... | 7,779 |
312 | <reponame>DKesserich/godot-git-plugin<gh_stars>100-1000
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include "common.h"
#include "diff.h"
#include ... | 9,005 |
506 | package com.ewolff.microservice.order.item;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class ItemTestDataGenerator {
private final ItemRepository itemRepository;
@Autowired
public ItemTe... | 222 |
711 | package com.java110.store.api;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.core.factory.GenerateCodeFactory;
import com.java110.dto.purchaseApply.PurchaseApplyDto;
import com.java110.po.purchase.PurchaseApplyDetailPo;
import com.java110.po.purchase.PurchaseApplyPo... | 2,020 |
685 | package com.kaichunlin.transition.adapter;
import android.support.annotation.MenuRes;
import android.support.annotation.NonNull;
import com.kaichunlin.transition.MenuItemTransition;
/**
* Stores the menu ID-MenuItemTransition pair.
*/
public class MenuOptionConfiguration {
private final MenuItemTransition mTr... | 347 |
1,056 | <filename>org-netbeans-core-windows/src/main/java/org/netbeans/core/windows/actions/ResetWindowsAction.java<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
* regardin... | 3,942 |
2,405 | #include "lcd7920_STM.h"
// Standard ASCII 6x8 font
PROGMEM const uint8_t glcd5x7_STM[] PROGMEM = {
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char
0x04, 0x00, 0x06, 0x5F, 0x06, 0x00, // Code for char !
0x05, 0x07, 0x03, 0x00, 0x07, 0x03, // Code for char "
0x05, 0x24, 0x7E, ... | 3,920 |
1,840 | /**
* Copyright Pravega 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 law or agreed to... | 524 |
2,637 | /*
* Amazon FreeRTOS Wi-Fi V1.0.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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, i... | 1,489 |
5,169 | <gh_stars>1000+
{
"name": "iOS8Colors",
"version": "0.1.2",
"summary": "The standard iOS 8 Colors as a handy category on UIColor",
"homepage": "https://github.com/thii/iOS8Colors",
"screenshots": "https://raw.githubusercontent.com/thii/iOS8Colors/master/screenshot.png",
"license": "MIT",
"authors": {
... | 278 |
1,473 | /*
* Autopsy Forensic Browser
*
* Copyright 2021 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* 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://ww... | 3,787 |
321 | <gh_stars>100-1000
/**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
* Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com... | 1,129 |
14,668 | // Copyright 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 "cc/trees/debug_rect_history.h"
#include <stddef.h>
#include "base/memory/ptr_util.h"
#include "cc/base/math_util.h"
#include "cc/layers/heads_... | 3,408 |
348 | {"nom":"Juilly","circ":"6ème circonscription","dpt":"Seine-et-Marne","inscrits":1334,"abs":888,"votants":446,"blancs":61,"nuls":15,"exp":370,"res":[{"nuance":"REM","nom":"<NAME>","voix":209},{"nuance":"LR","nom":"<NAME>","voix":161}]} | 93 |
331 | <filename>src/main/java/org/fordes/subview/controller/settings/ExperimentSettingController.java
package org.fordes.subview.controller.settings;
import de.felixroske.jfxsupport.FXMLController;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.CheckBox;
import lombok.extern.slf4j.Slf... | 513 |
428 | /**
* Copyright 2008 - 2019 The Loon Game Engine 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 appl... | 886 |
30,023 | <gh_stars>1000+
"""Constants for the Toon integration."""
from datetime import timedelta
DOMAIN = "toon"
CONF_AGREEMENT = "agreement"
CONF_AGREEMENT_ID = "agreement_id"
CONF_CLOUDHOOK_URL = "cloudhook_url"
CONF_MIGRATE = "migrate"
DEFAULT_SCAN_INTERVAL = timedelta(seconds=300)
DEFAULT_MAX_TEMP = 30.0
DEFAULT_MIN_TEM... | 185 |
5,250 | {
"groupId":"org.flowable.client.kotlin",
"artifactId":"flowable-kotlin-client-content",
"artifactVersion":"0.0.1",
"packageName":"org.flowable.client.kotlin.content",
"invokerPackage":"org.flowable.client.kotlin.content",
"modelPackage":"org.flowable.client.kotlin.content.model",
"apiPackage":"org.flowab... | 132 |
1,695 | <reponame>x-malet/trino
/*
* 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 writin... | 3,104 |
1,354 | <reponame>rockya2014/Hackerrank-Solutions
/**
*
* Problem Statement-
* [Day of the Programmer](https://www.hackerrank.com/challenges/day-of-the-programmer/problem)
*
*/
package org.javaaid.hackerrank.solutions.implementation.bruteforce;
import java.text.ParseException;
import java.text.SimpleDateForm... | 435 |
5,169 | <reponame>Gantios/Specs<filename>Specs/2/a/5/KLCarouselView/1.0.1/KLCarouselView.podspec.json
{
"name": "KLCarouselView",
"version": "1.0.1",
"summary": "一键轮播微改",
"description": "简单快速轮播(微改)",
"homepage": "https://github.com/StarSkyK/KLCarouselView",
"license": "MIT",
"authors": {
"锴伦": "<EMAIL>"
},
... | 299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.