max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
2,360 | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyAppdirs(PythonPackage):
"""A small Python module for determining appropriate platform-sp... | 368 |
4,050 | /*
* Copyright 2018 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 law or agreed to i... | 1,940 |
1,609 | <filename>src/main/java/com/mossle/api/user/AccountAliasConverter.java
package com.mossle.api.user;
public interface AccountAliasConverter {
String convertAlias(String alias);
}
| 62 |
878 | <reponame>Satori-Nakamoto/litecash<filename>3rdparty/yas/detail/preprocessor/config.hpp
# /* **************************************************************************
# * *
# * (C) Copyright <NAME> 2002-2011. *
#... | 2,318 |
1,947 | <filename>test/laneconnectivity.cc
#include "baldr/laneconnectivity.h"
#include <string>
#include "test.h"
using namespace std;
using namespace valhalla::baldr;
namespace {
void TryTestLaneConnectivity(const std::string& lanes) {
EXPECT_EQ(LaneConnectivityLanes(lanes).to_string(), lanes);
}
TEST(LaneConnectivit... | 483 |
3,372 | /*
* Copyright 2016-2021 Amazon.com, 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
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | 2,161 |
1,338 | /*
* Copyright 2005-2008, <NAME>, <EMAIL>.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_MODULE_H
#define _KERNEL_MODULE_H
#include <drivers/module.h>
#include <kernel.h>
struct kernel_args;
#ifdef __cplusplus
// C++ only part
class NotificationListener;
extern status_t start_watching_m... | 295 |
340 | <gh_stars>100-1000
// Concord
//
// Copyright (c) 2019 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License").
// You may not use this product except in compliance with the Apache 2.0
// License.
//
// This product may include a number of subcomponents with ... | 1,029 |
886 | <gh_stars>100-1000
/**
* MOMOSEC Security SDK(MSS)
*
* This file is part of the Open MSS Project
*
* Copyright (c) 2019 - V0ld1ron
*
* The MSS is published by V0ld1ron under the BSD license. You should read and accept the
* LICENSE before you use, modify, and/or redistribute this software.
*
* @author V0ld1ro... | 864 |
436 | /*
* Copyright 2003-2005 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 5,819 |
3,058 | <reponame>divecoder/The-Forge<gh_stars>1000+
""" GLSL shader generation """
from utils import Stages, getHeader, getMacro, genFnCall, getShader, getMacroName, get_whitespace
from utils import isArray, getArrayLen, resolveName, getArrayBaseName, fsl_assert
from utils import is_input_struct, get_input_struct_var, getArr... | 13,588 |
747 | /**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* dist... | 879 |
384 | // jailbreakhook.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
// Global Hook structures
HOOK_TRACE_INFO* g_pHookCGKP = NULL;
HOOK_TRACE_INFO* g_pHookCGKPADV = NULL;
HOOK_TRACE_INFO* g_pHookCEXK = NULL;
// Global function pointers to hold real implementations
PFNCRYPTGETKEYPARAM... | 3,794 |
563 | <reponame>philippguertler/mesh<gh_stars>100-1000
package com.gentics.mesh.madl.tp3.mock;
import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.blueprints.Vertex;
public interface GraphTraversalSource {
GraphTraversal<Vertex, Vertex> V(final Object... vertexIds);
GraphTraversal<Edge, Edge> E(final Object... e... | 124 |
348 | <reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/095/09506210.json<gh_stars>100-1000
{"nom":"Enghien-les-Bains","circ":"6ème circonscription","dpt":"Val-d'Oise","inscrits":8280,"abs":4560,"votants":3720,"blancs":230,"nuls":52,"exp":3438,"res":[{"nuance":"MDM","nom":"<NAME>","voix":1890},{"nuance":"LR"... | 152 |
679 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 2,717 |
900 | <reponame>nabeelmumtaz2/Foam-google-todo
package foam.lib.parse;
public interface Parser {
public PStream parse(PStream ps, ParserContext x);
}
| 56 |
608 | /*
* Copyright (c) 2015 r-lyeh (https://github.com/r-lyeh)
* Copyright (c) 2016-2019 xiongziliang <<EMAIL>>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is ... | 2,241 |
575 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_FIDO_CABLE_WEBSOCKET_ADAPTER_H_
#define DEVICE_FIDO_CABLE_WEBSOCKET_ADAPTER_H_
#include <vector>
#include "base/callback_forward.h"
#incl... | 1,560 |
1,041 | <gh_stars>1000+
package io.ebeaninternal.server.type;
import java.util.TimeZone;
/**
* ScalarType for java.util.TimeZone which converts to and from a VARCHAR database column.
*/
final class ScalarTypeTimeZone extends ScalarTypeBaseVarchar<TimeZone> {
ScalarTypeTimeZone() {
super(TimeZone.class);
}
@Over... | 259 |
1,265 | /*
* Copyright (C) 2017-2018 Manbang Group
*
* 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... | 710 |
1,582 | <reponame>mubashshirjamal/code<filename>vilya/views/praise.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import json
from vilya.libs.template import st
from vilya.models.recommendation import Recommendation
_q_exports = ['vote']
def _q_index(request):
"""recommendations timeline"""
sta... | 332 |
428 | <gh_stars>100-1000
/**
*
* Copyright 2008 - 2011
*
* 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... | 545 |
634 | <gh_stars>100-1000
import re
from django import forms
from django.utils.crypto import get_random_string
from zentral.contrib.inventory.models import BusinessUnit
from .models import JamfInstance, TagConfig
class JamfInstanceForm(forms.ModelForm):
password = forms.CharField(max_length=256, widget=forms.PasswordInp... | 881 |
333 | package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: zhima.credit.pe.user.order.sync response.
*
* @author <NAME>
* @since 1.0, 2021-07-14 10:09:54
*/
public class ZhimaCreditPeUserOrderSyncResponse extends AlipayR... | 455 |
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 ... | 10,048 |
397 | <reponame>richiehsia/zrlog
package com.zrlog.admin.web.controller.api;
import com.hibegin.common.util.BeanUtil;
import com.jfinal.core.Controller;
import com.zrlog.admin.business.rest.base.CreateTypeRequest;
import com.zrlog.admin.business.rest.base.UpdateTypeRequest;
import com.zrlog.admin.business.rest.response.Upda... | 610 |
16,821 | <reponame>L200160026/webgis<filename>assets/gentelella/vendors/validator/package.json<gh_stars>1000+
{
"name" : "@yaireo/validator",
"version" : "3.3.4",
"homepage" : "https://github.com/yairEO/validator",
"description" : "The Validator is cross-browser and will give you the power to use future-pr... | 329 |
443 | /* -------------------------------------------------------------------------
// WINX: a C++ template GUI library - MOST SIMPLE BUT EFFECTIVE
//
// This file is a part of the WINX Library.
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/lic... | 1,953 |
3,645 | /*
* Texture block compression
* Copyright (C) 2015 <NAME> <<EMAIL>>
* Based on public domain code by <NAME>, <NAME> and <NAME>.
*
* This file is part of FFmpeg
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software")... | 11,812 |
984 | <filename>core/src/main/java/com/datastax/dse/driver/internal/core/data/geometry/Distance.java<gh_stars>100-1000
/*
* 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 Licens... | 2,768 |
1,194 | <filename>hapi-fhir-base/src/main/java/ca/uhn/fhir/narrative/INarrativeGenerator.java
package ca.uhn.fhir.narrative;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2022 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... | 424 |
400 | <filename>examples/cv/classification/aux_clf.py
import os
import torch
import cflearn
import numpy as np
from PIL import Image
from typing import Any
from typing import List
from typing import Optional
from cflearn.misc.toolkit import to_uint8
from cflearn.misc.toolkit import download_model
num_samples = 100
data_f... | 1,162 |
312 | static const uint8_t fs_imgui_color_glsl[89] =
{
0x46, 0x53, 0x48, 0x04, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x4a, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..J...va
0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x68, 0x69, 0x67, 0x68, 0x70, 0x20, 0x76, 0x65, 0x63, 0x34, // rying highp vec4
0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, ... | 4,622 |
407 | package com.alibaba.tesla.appmanager.domain.req;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.tesla.appmanager.common.enums.ComponentTypeEnum;
import com.alibaba.tesla.appmanager.domain.dto.ContainerObjectDTO;
import com.alibaba.tesla.appmanager.domain.dto.EnvMetaDTO;
import lombok.Data;
import java.uti... | 467 |
1,444 | package mage.cards.s;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FlashbackAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.TimingRule;
import mage.game.per... | 367 |
5,937 | <reponame>txlos/wpf<gh_stars>1000+
// 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.
//+----------------------------------------------------------------------------
... | 222 |
679 | <filename>main/qadevOOo/java/OOoRunner/src/main/java/ifc/sdbc/_XRowUpdate.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 in... | 10,391 |
482 | #!/usr/bin/env python
#
# Raspberry Pi Robot Costume
'''
In this project, we're making a Raspberry Pi Robot Costume. The costume will count candy placed in a bin, and speak out loud to the giver.
Well use the GrovePi, with an Ultrasonic Sensor, an LED Bar graph, 4 Chainable LED's, and the RGB LCD Display. We'll also ... | 4,471 |
1,155 | /*
* Orika - simpler, better and faster Java bean mapping
*
* Copyright (C) 2011-2013 Orika 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.apach... | 1,582 |
314 | package org.pac4j.play.store;
import org.apache.shiro.crypto.AesCipherService;
import org.pac4j.core.util.CommonHelper;
import java.security.SecureRandom;
/**
* A DataEncrypter based on the Shiro library and AES encryption.
*
* @author <NAME>
* @since 6.1.0
*/
public class ShiroAesDataEncrypter implements DataE... | 502 |
10,287 | <gh_stars>1000+
# Copyright 2019 The Sonnet Authors. 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... | 958 |
5,169 | {
"name": "SM_BasicLibrary",
"version": "1.0.0",
"summary": "Basic Library and Method.",
"description": "TODO: Base library = base method + various components. Can be used independently.",
"homepage": "https://gitee.com/SmileMonster",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {... | 380 |
1,443 | <reponame>cssence/mit-license
{
"copyright": "<NAME>",
"email": "<EMAIL>",
"format": "html",
"theme": "opensans",
"gravatar": true
}
| 61 |
521 | <reponame>Fimbure/icebox-1<filename>third_party/virtualbox/include/iprt/param.h<gh_stars>100-1000
/** @file
* IPRT - Parameter Definitions.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is... | 1,438 |
839 | /**
* 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... | 8,370 |
11,356 | <filename>src/external/boost/boost_1_68_0/boost/gil/extension/dynamic_image/apply_operation.hpp<gh_stars>1000+
/*
Copyright 2005-2007 Adobe Systems Incorporated
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
h... | 699 |
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... | 2,585 |
1,240 | package com.eventyay.organizer.ui.editor;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.EditText;
import android.widget.LinearLayout;
import androidx.annotation.Nul... | 2,132 |
335 | <filename>J/Jumble_noun.json
{
"word": "Jumble",
"definitions": [
"An untidy collection or pile of things.",
"Articles collected for a jumble sale."
],
"parts-of-speech": "Noun"
} | 92 |
2,591 | <reponame>meisenla/liquibase
package liquibase.integration.commandline;
import liquibase.configuration.AbstractMapConfigurationValueProvider;
import picocli.CommandLine;
import java.util.Map;
import java.util.Set;
import java.util.SortedMap;
import java.util.TreeMap;
public class CommandLineArgumentValueProvider ext... | 597 |
1,511 | <reponame>s4-2/scancode-toolkit
/*
* QEMU KVM support
*
* Copyright (C) 2006-2008 Qumranet Technologies
* Copyright IBM, Corp. 2008
*
* Authors: | 56 |
10,225 | package io.quarkus.netty;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import javax.enterprise.util.AnnotationLiteral;
import javax.inject.Qualifier;
@Qualifier
@Retention(RetentionPolicy.RUNTIME)
public @interface MainEventLoopGroup {
/**
* Supports inline instantiat... | 193 |
2,771 | package com.shizhefei.indicator.moretab;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.PagerAdapter;
import android.support.... | 1,973 |
435 | <reponame>amaajemyfren/data<gh_stars>100-1000
{
"copyright_text": "Creative Commons Attribution license (reuse allowed)",
"description": "The product and engineering teams of Civis Analytics integrated Jupyter notebooks into our cloud-based platform, providing the ability to run multiple notebooks concurrently and ... | 757 |
462 | <filename>moos-ivp/MOOS_Aug2815/proj-4.8.0/src/pj_zpoly1.c
/* evaluate complex polynomial */
#include <projects.h>
/* note: coefficients are always from C_1 to C_n
** i.e. C_0 == (0., 0)
** n should always be >= 1 though no checks are made
*/
COMPLEX
pj_zpoly1(COMPLEX z, COMPLEX *C, int n) {
COMPLEX a;
double t;
a... | 619 |
480 | <filename>ext/geos_c_impl/analysis.h
/*
Analysis methos for GEOS wrapper
*/
#ifndef RGEO_GEOS_ANALYSIS_INCLUDED
#define RGEO_GEOS_ANALYSIS_INCLUDED
#include <ruby.h>
#ifdef RGEO_GEOS_SUPPORTED
#include "factory.h"
RGEO_BEGIN_C
/*
* call-seq:
* RGeo::Geos::Analysis.ccw? -> true or false
*
* Checks directio... | 380 |
839 | /**
* 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... | 1,424 |
1,350 | <filename>sdk/streamanalytics/azure-resourcemanager-streamanalytics/src/main/java/com/azure/resourcemanager/streamanalytics/models/AzureMachineLearningStudioInputColumn.java<gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) ... | 1,220 |
682 | {
"category": "Visualization",
"description": "Display common symbols for all graphics in a graphics overlay with a renderer.",
"formal_name": "SimpleRenderer",
"ignore": false,
"images": [
"simple-renderer.png"
],
"keywords": [
"graphics",
"marker",
"renderer... | 374 |
473 | <gh_stars>100-1000
#include "libpov.h"
int main(int cgc_argc, char *cgc_argv[]) {
cgc_negotiate_type1(0x0, 0x0, 0);
do {
//*** writing data
static unsigned char write_00000_00000[] =
"\x04\x04\x00\x00";
static unsigned int write_00000_00000_len = 4;
unsigned char *write_00000 = N... | 7,827 |
28,056 | package com.alibaba.json.bvt;
import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
public class ListFloatFieldTest extends TestCase {
public void test_codec() throws Exception {
User user = new User()... | 398 |
1,541 | from torchplus.nn.functional import one_hot
from torchplus.nn.modules.common import Empty, Sequential
from torchplus.nn.modules.normalization import GroupNorm
| 41 |
2,759 | // Copyright (c) YugaByte, Inc.
package com.yugabyte.yw.common;
import com.google.common.collect.ForwardingMap;
import java.time.Duration;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.con... | 798 |
488 | //0
union A {
int x[10];
};
A a;
A b;
| 25 |
16,461 | package expo.modules.notifications.notifications.interfaces;
import android.os.Build;
import android.os.Parcelable;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
/**
* An interface specifying source of the notification, to be implemented
* by concrete classes.
*/
public interface No... | 139 |
333 | package com.alipay.api.internal.util.file;
import java.io.*;
import java.nio.charset.Charset;
public class FileUtils {
/**
* Reads the contents of a file into a String using the default encoding for the VM. The file is always closed.
*
* @param file the file to read, must not be {@code null}
... | 1,076 |
342 | <reponame>sentinel-official/sentinel-go
package co.sentinel.lite.ui.activity;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.MenuItem;
import co.sentinel.lite.R;
import co.senti... | 861 |
2,142 | <gh_stars>1000+
//
// JBAreaChartViewController.h
// JBChartViewDemo
//
// Created by <NAME> on 21.04.14.
// Copyright (c) 2014 Jawbone. All rights reserved.
//
#import "JBBaseChartViewController.h"
@interface JBAreaChartViewController : JBBaseChartViewController
@end
| 98 |
1,077 | /* QSController */
#import <Cocoa/Cocoa.h>
#import <QSCore/QSCore.h>
#import <QSInterface/QSResizingInterfaceController.h>
@interface QSPrimerInterfaceController : QSResizingInterfaceController {
// NSRect standardRect;
IBOutlet NSButton *executeButton;
IBOutlet NSTextField *dSearchText;
IBOutlet NSTextField *... | 234 |
672 | <filename>spectator-reg-atlas/src/main/java/com/netflix/spectator/atlas/impl/ValidationHelper.java
/*
* Copyright 2014-2021 Netflix, 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
... | 1,039 |
2,151 | <reponame>bpsinc-native/src_tools_grit<gh_stars>1000+
#!/usr/bin/env python
# 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.
"""Formats as a .js file using a map: <english text> -> <localized text>.
"""... | 517 |
488 | /*
Naive matrix-vector multiplication
By <NAME>
*/
#define N 1000
int i,j,k;
double a[N][N],v[N],v_out[N];
int mmm()
{
for (i = 0; i < N; i++)
{
float sum = 0.0;
for (j = 0; j < N; j++)
{
sum += a[i][j]*v[j];
}
v_out[i] = sum;
}
return 0;
}
| 152 |
5,169 | {
"name": "HPSlideSegmentView",
"version": "0.1.20",
"summary": "HPSlideSegmentView 滑动悬停和侧滑框架",
"homepage": "https://github.com/lanhaiyang/HPSlideSegmentView",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"lanhaiyang": "<EMAIL>"
},
"platforms": {
"ios": "7.0"
},
"s... | 484 |
10,225 | package io.quarkus.spring.data.devmode;
import java.util.List;
import org.springframework.data.repository.Repository;
public interface BookRepository extends Repository<Book, Integer> {
List<Book> findAll();
// <placeholder>
}
| 79 |
646 | <filename>Source/HeliumRain/UI/Menus/FlareResourcePricesMenu.h
#pragma once
#include "../../Flare.h"
#include "../Components/FlareButton.h"
#include "../Components/FlareDropList.h"
#include "../FlareUITypes.h"
class AFlareMenuManager;
struct FFlareResourceDescription;
class UFlareSimulatedSector;
class SFlareReso... | 1,060 |
678 | /*
* Copyright (c) 2016 Uber Technologies, Inc. (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 2,857 |
335 | <reponame>tydunkel/vswhere
// <copyright file="Program.cpp" company="Microsoft Corporation">
// Copyright (C) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the project root for license information.
// </copyright>
#include "stdafx.h"
using namespace std;
void GetEn... | 2,562 |
14,425 | <reponame>bzhaoopenstack/hadoop
/**
* 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, Ver... | 4,080 |
988 | <reponame>JoachimRohde/netbeans
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Vers... | 2,568 |
361 | import os
from raven import Client
from rq import Connection, Queue, Worker
from structlog import get_logger
from . import SentryCommand
from ....utils import get_redis_connection
logger = get_logger(__name__)
def sentry_handler(job, *exc_info):
extra = {
'job_id': job.id,
'func': job.func,
... | 573 |
321 | <filename>src/App/Editor/Systems/HierarchySystem.cpp
#include <Utopia/App/Editor/Systems/HierarchySystem.h>
#include <Utopia/App/Editor/PlayloadType.h>
#include <Utopia/App/Editor/Components/Hierarchy.h>
#include <Utopia/App/Editor/Components/Inspector.h>
#include <Utopia/Core/Components/Children.h>
#include <Utopia... | 2,444 |
2,094 | <filename>libraries/model/optimizer/test/include/ExampleObjectives.h
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: ExampleObjectives.h (model/optimizer_test)
// Authors: <NAME>
//
////////////////////... | 151 |
882 | #include <nano/lib/blockbuilders.hpp>
#include <nano/lib/logger_mt.hpp>
#include <nano/node/unchecked_map.hpp>
#include <nano/secure/store.hpp>
#include <nano/secure/utility.hpp>
#include <nano/test_common/system.hpp>
#include <nano/test_common/testutil.hpp>
#include <gtest/gtest.h>
#include <memory>
using namespace... | 914 |
824 | package com.me.silencedut.nbaplus.rxmethod;
import com.me.silencedut.nbaplus.app.AppService;
import com.me.silencedut.nbaplus.data.Constant;
import com.me.silencedut.nbaplus.event.TeamSortEvent;
import com.me.silencedut.nbaplus.model.Teams;
import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers;
impor... | 763 |
350 | <reponame>Toysoft/upscaledb
/*
* Copyright (C) 2005-2017 <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... | 3,486 |
5,169 | {
"name": "CHBaseUtil_WebLog",
"version": "0.1.1",
"summary": "CHBaseUtil_WebLog 用于ios objc 调试的时候把日志输出到指定的本地文件,!!! created by 峰云逸飞-李长鸿 !!!有任何问题请给我留言交流",
"description": "CHBaseUtil_WebLog 用于ios objc 调试的时候把日志输出到指定的本地文件,配合python服务器,!!! created by 峰云逸飞-李长鸿 !!!有任何问题请给我留言交流",
"homepage": "https://github.com/lichang... | 463 |
750 | #!/usr/bin/python3
import os
import signal
import sys
import syslog
from lockfile import FileLock, LockTimeout, AlreadyLocked
from twisted.internet import reactor, defer
from twisted.python import usage
from jasmin.protocols.smpp.configs import SMPPServerPBClientConfig
from jasmin.protocols.smpp.proxies import SMPPS... | 2,695 |
318 | <reponame>adam11grafik/maven-surefire<filename>surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/TestNGReporterTest.java
package org.apache.maven.surefire.testng;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE ... | 3,826 |
568 | package com.fincatto.documentofiscal.cte300.classes.nota;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
import com.fincatto.documentofiscal.DFBase;
/**
* @author Caio
* @info Informações ref. a previsão de entrega
*/
@Root(name... | 1,775 |
518 | {
"name": "Landscape",
"category": "Design & Creativity",
"start_url": "https://sproutsocial.com/landscape",
"icons": [
{
"src": "https://cdn.filestackcontent.com/c6u0dsSfRnCRVm44njeN",
"platform": "browserx"
}
],
"theme_color": "#374242",
"scope": "https://sproutsocial.com",
"bx_leg... | 155 |
3,428 | {"id":"00206","group":"spam-2","checksum":{"type":"MD5","value":"434bca9a9918edbdb04b93f6618adf90"},"text":"From <EMAIL> Mon Jun 24 17:47:00 2002\nReturn-Path: info@hi-mind.com\nDelivery-Date: Tue Apr 23 23:46:36 2002\nReceived: from mandark.labs.netnoteinc.com ([213.105.180.140]) by\n dogma.slashnull.org (8.11.6/8... | 868 |
1,194 | """This is a minimum replicating example of this issue
https://github.com/MarcSkovMadsen/awesome-streamlit/issues/7"""
import streamlit as st
pages = ["Home", "Resources"]
tags = ["Awesome", "Social"]
page = st.sidebar.radio("Navigate", options=pages)
st.title(page)
if page == "Resources":
selection = st.multisel... | 120 |
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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_SCHEDULER_PUBLIC_PAGE_SCHEDULER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_SCHEDULER_PUBLIC_PAGE_SCHEDULER... | 2,207 |
619 | <filename>lib/BitcodeLoader.cpp
#include "mull/BitcodeLoader.h"
#include "mull/Config/Configuration.h"
#include "mull/Diagnostics/Diagnostics.h"
#include "mull/Parallelization/Parallelization.h"
#include <llvm/AsmParser/Parser.h>
#include <llvm/Bitcode/BitcodeReader.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/... | 1,122 |
782 | <filename>samples/sample_hevc_fei_abr/src/abr_brc.cpp
/******************************************************************************\
Copyright (c) 2018, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following co... | 6,264 |
3,301 | <filename>shaded_libraries/shaded_flink_ai_extended_tf2/src/main/java/com/alibaba/alink/operator/batch/dl/ctr/protos/Dcn.java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: easy_rec/python/protos/dcn.proto
package com.alibaba.alink.operator.batch.dl.ctr.protos;
public final class Dcn {
priva... | 32,359 |
327 | <gh_stars>100-1000
import logging
import re
import socket
from datetime import datetime
from time import mktime
from urllib.parse import urlparse
from bs4 import BeautifulSoup
from requests import RequestException
from urllib3.exceptions import InsecureRequestWarning
import requests
log = logging.getLogger(__name__)... | 1,252 |
2,587 | package cn.hikyson.godeye.core.utils;
import androidx.annotation.Nullable;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Objects;
public class ReflectUtil {
/**
* 根据类名获取类.
*
* @param clsName
* @return
*/
@Nullable
private static Class<?> g... | 1,290 |
662 | package com.alibaba.rsocket.broker.web.ui;
import com.alibaba.rsocket.ServiceLocator;
import com.alibaba.rsocket.metadata.GSVRoutingMetadata;
import com.alibaba.rsocket.metadata.MessageMimeTypeMetadata;
import com.alibaba.rsocket.metadata.RSocketCompositeMetadata;
import com.alibaba.rsocket.metadata.RSocketMimeType;
i... | 2,533 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.