max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
344 | //===============================================================================
// @ Game.cpp
// ------------------------------------------------------------------------------
// Game core routines
//
// Copyright (C) 2008-2015 by <NAME> and <NAME>.
// All rights reserved.
//
// Use of this source code is governed by... | 2,017 |
581 | package io.sentry.samples.android;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import io.sentry.Attachment;
import io.sentry.ISpan;
import io.sentry.Sentry;
import io.sentry.SpanStatus;
import io.sentry.UserFeedback;
import io.sentry.protocol.SentryId;
impo... | 2,566 |
660 | package quick.pager.shop.enums;
/**
* 通用排序枚举
*
* @author siguiyang
* @version 3.0.0
*/
public enum SortEnums implements IEnum<String> {
DESC("DESC", "倒序"),
AES("AES", "升序");
private String code;
private String desc;
SortEnums(String code, String desc) {
this.code = code;
this... | 233 |
390 | /*
* Copyright 2021 <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 applicable law or agreed to in writing, ... | 1,166 |
1,338 | // Mona1ASIC96 (Converted by RBF2VxD)
// ----------------------------------------------------------------------------
//
// Copyright Echo Digital Audio Corporation (c) 1998 - 2004
// All rights reserved
// www.echoaudio.com
//
// Echo Digital Audio does not disclose the source code from which these
// firmware i... | 125,124 |
5,534 | <reponame>qq940328720/dubbo
package com.alibaba.dubbo.examples.jackson.api;
import java.util.Date;
/**
* Created by dylan on 14-11-22.
*/
public class InheritBean extends AbstractInheritBean {
private String address = "ShangHai";
private Date birthDate = new Date();
public String getAddress() {
... | 340 |
320 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.jme3.gde.materialdefinition.utils;
import com.jme3.gde.materialdefinition.dialog.AddNodeDialog;
import com.jme3.gde.core.editor.icons.Icons;
import com.jme3.shader.ShaderNodeDefinition;
import java.... | 1,825 |
598 | <reponame>qtweng/trafficcontrol
/*
*
* 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 t... | 5,026 |
1,169 | {"name": "SnapchatRemix", "subtitle": "Take a photo, then draw on it in different colors.", "description": "Make an app that can take a photo and set it as the background, draw different-colored dots and lines on the photo, and sends the photo to your friends. Inspired by NPR story <a href='https://www.npr.org/2017/03/... | 154 |
403 | <filename>snippets/springboot-keycloak-sso/plain-springboot-adapter/src/main/java/com/camunda/consulting/sso/WebAppSecurityConfig.java
package com.camunda.consulting.sso;
import java.util.Collections;
import org.camunda.bpm.webapp.impl.security.auth.ContainerBasedAuthenticationFilter;
import org.springframework.beans... | 1,098 |
432 | /*
* Copyright (C) 1986-2005 The Free Software Foundation, Inc.
*
* Portions Copyright (C) 1998-2005 <NAME>, Ximbiot <http://ximbiot.com>,
* and others.
*
* Portions Copyright (C) 1992, <NAME> and <NAME>
* Portions Copyright (C) 1989-1992, <NAME>
*
* You may distribute under t... | 8,317 |
4,253 | package org.ormtest.step000.entity;
/**
* 用户实体
*/
public class UserEntity {
/**
* 用户 Id
*/
public int _userId;
/**
* 用户名
*/
public String _userName;
/**
* 密码
*/
public String _password;
} | 134 |
1,847 | <reponame>tufeigunchu/orbit<gh_stars>1000+
// Copyright (c) 2021 The Orbit 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 WINDOWS_CAPTURE_SERVICE_WINDOWS_CAPTURE_SERVICE_H_
#define WINDOWS_CAPTURE_SERVICE_WINDOWS_CAPTURE_SER... | 315 |
533 | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
This module contains functions for analyzing domains and subdomains to determine if a domain
takeover is possible via dangling DNS records, cloud services, and various hosting providers.
"""
import re
from . import dns
import requests
from requests.packages.urllib3.exce... | 6,556 |
450 | //===- FillWeightVisitor.cpp ----------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "FillWeightVisitor.h"
#include "Compute/BMScale.h"
#include ... | 2,536 |
488 | import unittest
from quantlib.quotes import SimpleQuote
from quantlib.observable import Observer
from quantlib.settings import Settings
from quantlib.time.api import Date
class SimpleObserverTestCase(unittest.TestCase):
def setUp(self):
self.count = 0
def test_quote_observability(self):
self.c... | 549 |
3,651 | <reponame>aberdev/orientdb
/*
* Copyright 2010-2016 OrientDB LTD (http://orientdb.com)
*
* 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.... | 3,872 |
348 | {"nom":"Villers-sous-Prény","dpt":"Meurthe-et-Moselle","inscrits":261,"abs":47,"votants":214,"blancs":16,"nuls":5,"exp":193,"res":[{"panneau":"2","voix":109},{"panneau":"1","voix":84}]} | 81 |
1,338 | <gh_stars>1000+
/*
* Copyright 2001-2010, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME>
* DarkWyrm <<EMAIL>>
* <NAME>, <EMAIL>
* <NAME>, <EMAIL>
* <NAME> <<EMAIL>>
*/
#ifndef FONT_SELECTION_VIEW_H
#define FONT_SELECTION_VIEW_H
#include <Font.h>
#include <Handler.h>
cla... | 940 |
640 | /*
Minimal GUI functions, now included in X11.lib
<NAME>, 26/3/2008
$Id: win_close.c,v 1.1 2008-03-27 08:26:40 stefano Exp $
*/
#define _BUILDING_X
#include <gui.h>
void win_close(struct gui_win *win)
{
bkrestore(win->back);
free(win->back);
}
| 115 |
776 | package act.view;
/*-
* #%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/license... | 1,067 |
1,056 | <filename>ide/editor.document/test/unit/src/org/netbeans/modules/editor/lib2/document/StableCompoundEditTest.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
* re... | 2,945 |
307 | <reponame>MageKing17/fs2open.github.com
#pragma once
#include "AbstractDialogModel.h"
#include "ship/ship.h"
#include "ui/widgets/sexp_tree.h"
namespace fso {
namespace fred {
namespace dialogs {
class ShipEditorDialogModel : public AbstractDialogModel {
private:
void initializeData();
template <typename T>
v... | 1,358 |
4,985 | /*****************************************************************************
* pixel.h: msa pixel metrics
*****************************************************************************
* Copyright (C) 2015-2017 x264 project
*
* Authors: <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it... | 6,727 |
5,169 | {
"name": "SPXDefines",
"version": "1.0.6",
"summary": "Useful macro's for Objective-C projects",
"description": " Useful macro's for Objective-C projects.\n\n * SPXAssertionDefines - Provides convenience assertions that will NOT crash on release builds\n * ... | 775 |
5,169 | {
"name": "RokidSDK",
"version": "1.9.2",
"summary": "Rokid Mobile SDK",
"swift_version": "4.0",
"description": "Rokid Mobile SDK 提供了,Rokid 帐号、设备、配网、Vui反馈、Skill 等功能,让开发者能快速的集成 并使用。",
"homepage": "https://github.com/Rokid/RokidMobileSDKiOSDemo",
"license": {
"type": "MIT",
"file": "LICENSE"
},
... | 425 |
778 | //--------------------------------------------------------------------------------------------------------------------//
// //
// Tuplex: Blazing Fast Python Data Scien... | 4,181 |
348 | <reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/080/08004081.json
{"nom":"Belloy-Saint-Léonard","circ":"4ème circonscription","dpt":"Somme","inscrits":80,"abs":35,"votants":45,"blancs":2,"nuls":1,"exp":42,"res":[{"nuance":"REM","nom":"<NAME>","voix":24},{"nuance":"FN","nom":"<NAME>","voix":18}]} | 134 |
1,282 | <reponame>sumitchauhanlab/blockchain-explorer
{
"watch-extensions": "js",
"recursive": true,
"spec": ["./specs/**/*.test.js"],
"timeout": 20000,
"extension": ["js"]
}
| 74 |
521 | <filename>src/gfxlib2/gfx_palette.c
/* palette management */
#include "fb_gfx.h"
static const unsigned char cga_association[5][4] = {
{ 0, 11, 13, 15 }, { 0, 10, 12, 14 }, { 0, 3, 5, 7 }, { 0, 2, 4, 6 }, { 0, 15 }
};
static const unsigned char ega_association[2][16] = {
{ 0, 1, 2, 3, 4, 5, 6, 7, ... | 1,779 |
324 | /*
* 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 ... | 817 |
411 | <gh_stars>100-1000
package com.documents4j.conversion;
import java.lang.annotation.*;
/**
* Documents a {@link com.documents4j.conversion.IExternalConverter}'s capabilities of converting a set of document
* formats into a set of output document formats. All document formats must be represented as MIME-types.
*
* ... | 268 |
4,293 | package com.github.pockethub.android.dagger;
import com.github.pockethub.android.ui.repo.RepositoryContributorsFragment;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;
@Module
interface RepositoryContributorsFragmentProvider {
@ContributesAndroidInjector
RepositoryContributorsFragme... | 105 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.communication.models;
import com.azure.core.http.HttpHeaders;
import com.azure.core.http.HttpRequest;
import com.azure.core.http... | 471 |
14,668 | <filename>chrome/browser/ui/views/toolbar/app_menu_browsertest.cc
// 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.
#include "base/callback_helpers.h"
#include "base/files/file_path.h"
#include "chrome/br... | 963 |
575 | <gh_stars>100-1000
// 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.
#include "ash/ambient/test/ambient_ash_test_helper.h"
#include "ash/ambient/test/test_ambient_client.h"
#include "ash/public/cpp/test/... | 335 |
337 | public class J extends B {
public J(int i) {
super();
}
public J() {
}
void test() {
new B();
}
} | 71 |
796 | /*
* Copyright (c) [2019-2020] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
*
* http://license.coscl.org.cn/MulanPSL
... | 15,747 |
1,831 | <gh_stars>1000+
/**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/ClientHelloInfoTracer.h"
#include <algorith... | 1,123 |
9,402 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// A set of integers in the range [0..N], for some N defined by the "Env" (via "BitSetTraits").
//
// Represented as a pointer-sized item. If N bits can fit in this item, the repres... | 15,614 |
1,652 | <filename>redis/redis-console/src/test/java/com/ctrip/xpipe/redis/console/dao/OrganizationDaoTest.java
package com.ctrip.xpipe.redis.console.dao;
import com.ctrip.xpipe.redis.console.AbstractConsoleIntegrationTest;
import com.ctrip.xpipe.redis.console.model.OrganizationTbl;
import org.junit.Assert;
import org.junit.Te... | 892 |
713 | <reponame>franz1981/infinispan
package org.infinispan.transaction.xa.recovery;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Collections;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
import org.infinispan.commons.marshall.AbstractExt... | 1,608 |
2,211 | // Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/application/browser/application_service.h"
#include "base/files/file_util.h"
#include "base/memory/ptr_util.h"
#include "base/strings/ut... | 4,068 |
1,604 | <reponame>slawekjaranowski/bc-java<gh_stars>1000+
package java.security.spec;
import java.math.BigInteger;
public class RSAPublicKeySpec extends Object implements KeySpec
{
private BigInteger modulus;
private BigInteger publicExponent;
public RSAPublicKeySpec(
BigInteger modulus,
BigInte... | 231 |
4,538 | /* File generated automatically by the QuickJS compiler. */
#include <inttypes.h>
const uint32_t jslib_tcp_size = 1792;
const uint8_t jslib_tcp[1792] = {
0x01, 0x28, 0x14, 0x73, 0x72, 0x63, 0x2f, 0x74,
0x63, 0x70, 0x2e, 0x6a, 0x73, 0x0c, 0x65, 0x76,
0x65, 0x6e, 0x74, 0x73, 0x06, 0x54, 0x43, 0x50,
0x18, 0x63, 0x7... | 7,670 |
831 | <reponame>phpc0de/idea-android<gh_stars>100-1000
/*
* Copyright (C) 2017 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/... | 578 |
319 | /*
Based on code from notnullnotvoid's comment on:
https://seabird.handmade.network/blogs/p/2460-be_aware_of_high_dpi
Author's page: https://handmade.network/m/notnullnotvoid
*/
#if !defined(_WIN32)
void initDpiAwareness() {
}
#else
#include "windows.h"
#include "sdl.h"
typedef enum PROCESS_DPI_AWARENESS {
PR... | 706 |
2,230 | <filename>df_console.py
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# Console for DarkForest
import sys
import os
from collections import Counter
from rlpytorch im... | 4,005 |
458 | <filename>manifest-generator/generator-services/src/main/java/io/hyscale/generator/services/builder/NginxMetaDataBuilder.java
/**
* Copyright 2019 <NAME>, 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 c... | 1,498 |
315 | package com.frogermcs.gactions.api.request;
import java.util.List;
import lombok.*;
/**
* https://developers.google.com/actions/reference/rest/Shared.Types/PostalAddress
*/
@Builder
@EqualsAndHashCode
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class PostalAddress {
public int revision;
public S... | 199 |
1,152 | <reponame>krishnads/StickyCollectionView
//
// SCPrimerCollectionViewCell.h
// StickyCollectionView
//
// Created by <NAME> on 13/01/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SCPrimerCollectionViewCell : UICollectionViewCell
@property (strong, nonatomic) NSString *... | 115 |
1,299 | /*
* Copyright 2015 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 1,082 |
309 | #include <vtkSmartPointer.h>
#include <vtkPointData.h>
#include <vtkSphereSource.h>
#include <vtkPolyDataConnectivityFilter.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkCamera.h>
#include <vtkProperty.h>
#include <vtkRenderer.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>... | 2,086 |
352 | <reponame>swaroop0707/TinyWeb
/*
*Author:GeneralSandman
*Code:https://github.com/GeneralSandman/TinyWeb
*E-mail:<EMAIL>
*Web:www.generalsandman.cn
*/
/*---XXX---
*
****************************************
*
*/
#include <tiny_core/socketpair.h>
#include <tiny_core/eventloop.h>
#include <tiny_core/connection.h>
#includ... | 842 |
629 | /*
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "cherrypi.h"
#include "src/gameutils/openbwprocess.h"
#include <torchcraft/client.h>
#include <vector>
namespac... | 479 |
716 | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 2,678 |
679 | <filename>main/svx/source/form/fmexch.cxx<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
* regard... | 4,938 |
1,031 |
import doxygen_alias.*;
import java.util.HashMap;
public class doxygen_alias_runme {
static {
try {
System.loadLibrary("doxygen_alias");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documen... | 307 |
12,718 | <gh_stars>1000+
#ifndef _NET_ROUTE_H
#define _NET_ROUTE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
struct rtentry {
unsigned long int rt_pad1;
struct sockaddr rt_dst;
struct sockaddr rt_gateway;
struct sockaddr rt_genmask;
... | 1,273 |
16,761 | /*
* Copyright 2013-2018 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 a... | 532 |
118,175 | <reponame>bobzhang/react-native<gh_stars>1000+
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <memory>
#include <gtest/gtest.h>
#include <react/re... | 3,264 |
399 | /*
* Copyright 2011 <NAME>. All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions... | 1,282 |
5,823 | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_STANDARD_MESSAGE_CODEC_PRIVATE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_STANDARD_MESSAGE_CODEC_PRIVATE_H_
#inclu... | 1,352 |
1,036 | <gh_stars>1000+
package com.mylhyl.circledialog.params;
import android.graphics.Typeface;
import android.os.Parcel;
import android.os.Parcelable;
import android.view.Gravity;
import com.mylhyl.circledialog.res.values.CircleColor;
import com.mylhyl.circledialog.res.values.CircleDimen;
/**
* 文本内容参数
* Created by hupe... | 1,088 |
4,071 | <reponame>Ru-Xiang/x-deeplearning
/*
* \file in_order_gemm_gemm_test.cc
* \brief The in order gemm gemm test unit
*/
#include "gtest/gtest.h"
#include "blaze/graph/fusion_pattern.h"
#include "blaze/test/graph/pattern/pattern_test_common.h"
namespace blaze {
TEST(TestInOrder, All) {
// (w0) (w1)
CheckPatternOu... | 517 |
3,469 | # Copyright The PyTorch Lightning team.
#
# 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... | 3,049 |
367 | <reponame>rbavery/solaris<filename>tests/test_nets/test_transform.py
import numpy as np
from solaris.nets.transform import Rotate, RandomScale, build_pipeline
from albumentations.core.composition import Compose, OneOf
from albumentations.augmentations.transforms import HorizontalFlip, Normalize
class TestRotate(objec... | 2,068 |
453 | <reponame>The0x539/wasp
/* Retrieve event.
Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by <NAME> <<EMAIL>>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... | 702 |
410 | /* SPDX-License-Identifier: BSD-2-Clause */
/*******************************************************************************
* Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG
* All rights reserved.
*******************************************************************************/
#ifdef HAVE... | 2,431 |
1,750 | <reponame>0xflotus/Typhoon
////////////////////////////////////////////////////////////////////////////////
//
// TYPHOON FRAMEWORK
// Copyright 2013, Typhoon Framework Contributors
// All Rights Reserved.
//
// NOTICE: The authors permit you to use, modify, and distribute this file
// in accordance with the terms... | 214 |
529 | <reponame>PervasiveDigital/netmf-interpreter<gh_stars>100-1000
/* crypto/engine/hw_ubsec.c */
/* Written by <NAME> (<EMAIL>) for the OpenSSL
* project 2000.
*
* Cloned shamelessly by <NAME>.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Pro... | 17,148 |
16,761 | /*
* Copyright 2013-2018 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 a... | 301 |
369 | /*This file has been prepared for Doxygen automatic documentation generation.*/
/*! \file *********************************************************************
*
* \brief Power Manager driver.
*
*
* - Compiler: IAR EWAVR32 and GNU GCC for AVR32
* - Supported devices: All AVR32 devices.
* - AppNote:
*... | 4,189 |
945 | /* blas/idamax.f -- translated by f2c (version 20050501).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
... | 1,532 |
934 | #include "includes/cef.h"
#include "includes/cef_handler.h"
#include "native_status_icon/native_status_icon.h"
extern CefRefPtr<ClientHandler> g_handler;
namespace appjs {
using namespace v8;
NativeStatusIcon::NativeStatusIcon(Settings* settings){
Init(settings);
}
NativeStatusIcon::~NativeStatusIcon(){
#ifdef _... | 306 |
456 | <gh_stars>100-1000
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020 <NAME>
// All rights reserved.
#include <djvGLTest/TextureAtlasTest.h>
#include <djvGL/TextureAtlas.h>
#include <djvImage/Data.h>
using namespace djv::Core;
using namespace djv::GL;
namespace djv
{
namespace GLTest
{
... | 1,376 |
1,543 | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2019-2020 CNRS
# 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 limita... | 4,137 |
1,695 | <reponame>volionamdp/NDK_OpenGLES_3_0<filename>app/src/main/cpp/sample/PBOSample.cpp
//
// Created by ByteFlow on 2019/12/26.
//
#include <GLUtils.h>
#include <gtc/matrix_transform.hpp>
#include <cstdlib>
#include <opencv2/opencv.hpp>
#include "PBOSample.h"
//#define PBO_UPLOAD
#define PBO_DOWNLOAD
#define VERTEX_PO... | 8,157 |
2,728 | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 544 |
450 | <reponame>YangHao666666/hawq
/*
* 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... | 687 |
375 | package io.lumify.mapping.xform;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@RunWith(Parameterized.class)
public abstract class AbstractValueTransformerTest<V> {
private final String input;
private final V expec... | 241 |
460 | package com.manning.gia.todo;
import com.manning.gia.todo.utils.CommandLineInput;
import com.manning.gia.todo.utils.CommandLineInputHandler;
import org.apache.commons.lang3.CharUtils;
public class ToDoApp {
public static final char DEFAULT_INPUT = '\u0000';
public static void main(String args[]) {
C... | 356 |
875 | <filename>src/java/org/apache/sqoop/util/ExitSecurityException.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 licenses this file
* ... | 494 |
1,251 | <reponame>palerdot/BlingFire
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#ifndef _FA_ARRAYCA_H_
#define _FA_ARRAYCA_H_
#include "FAConfig.h"
namespace BlingFire
{
///
/// This is a common interface for packed read-only arrays.
///
class... | 218 |
1,056 | <reponame>Antholoj/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, Version ... | 2,614 |
1,602 | <filename>third-party/qthread/qthread-src/src/spr.c
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include "qthread/qthread.h"
#include "qthread/multinode.h"
#include "spr_innards.h"
#include "qthread/spr.h"
#include "qt_multinode_innards.h"
#include "spr_innards.h"
#includ... | 5,041 |
755 | {
"author": "Microsoft",
"name": "Blank",
"description": "Esta é a página mais básica. Uma tela em branco para incluir o que você quiser.",
"identity": "wts.Page.Blank"
} | 76 |
1,813 | <filename>tfx/tools/cli/commands/pipeline.py
# Copyright 2019 Google LLC. 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... | 4,523 |
2,564 | <gh_stars>1000+
//
// Created by CainHuang on 2020/1/12.
//
#include "MediaCodecVideoDecoder.h"
MediaCodecVideoDecoder::MediaCodecVideoDecoder(const std::shared_ptr<AVMediaDemuxer> &mediaDemuxer)
: AVMediaDecoder(mediaDemuxer) {
pCodecName = "h264_mediacodec";
}
void MediaCodecVideoDecoder::setDecoder(co... | 2,078 |
1,350 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.billing.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.ExpectedRes... | 36,348 |
1,470 | <reponame>justinvanwinkle/glom<filename>glom/test/test_reduction.py
import operator
import pytest
from boltons.dictutils import OMD
from glom import glom, T, Sum, Fold, Flatten, Coalesce, flatten, FoldError, Glommer, Merge, merge
def test_sum_integers():
target = list(range(5))
assert glom(target, Sum()) ... | 1,770 |
9,724 | #include <stdio.h>
// Note the prefixing (a_, b_) on all functions from the two libraries.
extern void a_wasmbox_init(void);
extern void b_wasmbox_init(void);
extern int (*a_Z_twiceZ_ii)(int);
extern int (*b_Z_thriceZ_ii)(int);
int main() {
puts("Initializing sandboxed unsafe libraries");
a_wasmbox_init();
b_... | 187 |
852 | <filename>CommonTools/TriggerUtils/test/genericTriggerEventFlagTest_cfg.py
import FWCore.ParameterSet.Config as cms
process = cms.Process( "TEST" )
## Logging
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.MessageLogger.cerr.threshold = 'INFO'
process.MessageLogger.cerr.GenericTriggerEventFlag = cms.... | 1,799 |
3,084 | /*++
Copyright (c) Microsoft Corporation. All rights reserved
Abstract:
Monitor Sample callout driver IOCTL header
Environment:
Kernel mode
--*/
#pragma once
#define MONITOR_DEVICE_NAME L"\\Device\\MonitorSample"
#define MONITOR_SYMBOLIC_NAME L"\\DosDevices\\Global\\MonitorSam... | 387 |
2,151 | /*
* This file is part of Wireless Display Software for Linux OS
*
* Copyright (C) 2014 Intel Corporation.
*
* 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 Software Foundation; either
* version 2.1 o... | 459 |
615 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 1,055 |
45,293 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: compiler/ir/serialization.common/src/KotlinIr.proto
package org.jetbrains.kotlin.backend.common.serialization.proto;
public interface IrErrorCallExpressionOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.bac... | 574 |
809 | /**
* @file
* @brief
*
* @date 28.10.13
* @author <NAME>
*/
#include <errno.h>
#include <stddef.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <string.h>
#include "family.h"
#include "net_sock.h"
#include <mem/misc/pool.h>
#include <net/inetdevice.h>
#include <net/l3/route.h>
#include <net/l3/ipv... | 5,298 |
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.
package org.chromium.content.app;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import org.chromium.base.process... | 633 |
372 | <reponame>umanwizard/rust-sasl
/*
* declarations missing from unix krb.h
*/
int xxx_krb_mk_priv(void *inp,
void *outp,
unsigned inplen,
des_key_schedule init_keysched,
des_cblock *session,
struct sockaddr_in *iplocal,
struct sockaddr_in *ipremote);
int xxx_krb_rd_priv(char *buf,
int inplen,
des_key_schedu... | 320 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.