max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
675
/* * Copyright 2018 The Bazel 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 by a...
1,621
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.machinelearningservices.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import...
555
631
/** * 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,332
791
<gh_stars>100-1000 #include "zgl.h" #include "msghandling.h" void glopMaterial(GLContext *c,GLParam *p) { int mode=p[1].i; int type=p[2].i; float *v=&p[3].f; int i; GLMaterial *m; if (mode == GL_FRONT_AND_BACK) { p[1].i=GL_FRONT; glopMaterial(c,p); mode=GL_BACK; } if (mode == GL_FRONT) m=&...
4,001
1,652
package com.ctrip.xpipe.redis.proxy.handler; import com.ctrip.xpipe.redis.proxy.AbstractNettyTest; import com.ctrip.xpipe.redis.proxy.session.DefaultBackendSession; import com.ctrip.xpipe.redis.proxy.session.DefaultFrontendSession; import com.ctrip.xpipe.redis.proxy.tunnel.DefaultTunnel; import io.netty.buffer.ByteBuf...
819
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. #include "ash/display/touch_calibrator_controller.h" #include <algorithm> #include <memory> #include "ash/display/touch_calibrator_view.h" #include "ash...
4,633
925
#include "command.h" #include <cstdio> #include <cstring> #include <sstream> #include "argparse.h" #include "client.h" #include "completion.h" #include "hlwmcommon.h" #include "ipc-protocol.h" #include "monitor.h" #include "monitormanager.h" #include "root.h" #include "tag.h" #include "utils.h" using std::endl; usin...
1,486
1,760
<reponame>xzhan96/chromium.src<filename>net/quic/core/quic_flags.h // Copyright 2014 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 NET_QUIC_QUIC_FLAGS_H_ #define NET_QUIC_QUIC_FLAGS_H_ #include <stdint.h> #in...
207
4,111
/* * 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,165
2,291
{ "id" : 342, "status" : "Invalid", "summary" : "each pinch zoom image transition is out of line", "labels" : [ "Type-Defect", "Priority-Medium" ], "stars" : 0, "commentCount" : 5, "comments" : [ { "id" : 0, "commenterId" : 7700519907604124623, "content" : "<b>What steps will reproduce the pro...
1,102
739
{ "name": "<NAME>", "img": "https://avatars.githubusercontent.com/u/48345668?v=4", "email":"", "links": { "website": "http://sudamyasodya.me/", "linkedin": "https://www.linkedin.com/in/sudam-yasodya/", "github": "https://github.com/gdsghost" }, "jobTitle": "Full Stack Developer", "location": {...
176
988
/* * 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 ...
12,140
605
<gh_stars>100-1000 package com.sohu.tv.mq.cloud.service; import java.util.Date; import java.util.List; import org.apache.rocketmq.common.MixAll; import org.apache.rocketmq.common.protocol.body.BrokerStatsData; import org.apache.rocketmq.common.protocol.route.BrokerData; import org.apache.rocketmq.common.proto...
2,604
32,544
package com.baeldung.spring.serverconfig; import org.springframework.boot.web.embedded.netty.NettyReactiveWebServerFactory; import org.springframework.boot.web.embedded.netty.NettyServerCustomizer; import org.springframework.boot.web.server.WebServerFactoryCustomizer; import org.springframework.stereotype.Component; i...
334
737
<gh_stars>100-1000 /** spinlock.h -*- C++ -*- <NAME>, 13 December 2009. All rights reserved. Implementation of a spinlock. */ #ifndef __jml__arch__spinlock_h__ #define __jml__arch__spinlock_h__ #include <sched.h> namespace ML { struct Spinlock { Spinl...
654
416
<gh_stars>100-1000 /*! * @header MPSPolygonAccelerationStructure.h * @framework MPSRayIntersector * @description MPSRayIntersector polygon acceleration structure interface. * * @copyright Copyright (c) 2018 Apple Inc. All rights reserved. */ #ifndef MPSPolygonAccelerationStructure_h #define MPSPolygonAccele...
1,988
362
<reponame>ayberkgerey5/FrameGraphx // Copyright (c) 2018-2020, <NAME>. For more information see 'LICENSE' #pragma once #include "stl/Math/Bytes.h" #include "stl/Math/Vec.h" #include "stl/Math/Color.h" #include "framegraph/Public/BufferView.h" #include "framegraph/Public/ResourceEnums.h" namespace FG { // // Imag...
1,961
632
/* * 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,071
854
__________________________________________________________________________________________________ 2ms class Solution { public List<List<Integer>> combinationSum2(int[] candidates, int target) { List<List<Integer>> ans = new ArrayList<>(); List<Integer> comb = new ArrayList<>(); Arrays.sort(...
2,407
422
<reponame>crypticspawn/BashSupport<gh_stars>100-1000 /* * Copyright (c) <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 * ...
832
32,544
package com.baeldung.jpa.enums; enum Type { INTERNAL, EXTERNAL; }
34
3,167
// Copyright 2019 DeepMind Technologies Ltd. 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 require...
976
348
{"nom":"Ouville-la-Rivière","circ":"6ème circonscription","dpt":"Seine-Maritime","inscrits":423,"abs":153,"votants":270,"blancs":7,"nuls":2,"exp":261,"res":[{"nuance":"REM","nom":"<NAME>","voix":100},{"nuance":"COM","nom":"<NAME>","voix":52},{"nuance":"UDI","nom":"M<NAME>","voix":50},{"nuance":"FN","nom":"<NAME>","voix...
205
2,329
<reponame>alimate/spring-loaded package differs; public class DiffThreeY<T> { }
30
854
__________________________________________________________________________________________________ sample 71 ms submission class Trie { private boolean isKey; private Trie[] next; /** * Initialize your data structure here. */ public Trie() { isKey = false; next = new Trie[26]...
1,127
850
<gh_stars>100-1000 // Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/protobuf/worker.proto #ifndef PROTOBUF_tensorflow_2fcore_2fprotobuf_2fworker_2eproto__INCLUDED #define PROTOBUF_tensorflow_2fcore_2fprotobuf_2fworker_2eproto__INCLUDED #include <string> #include <google/protobuf...
61,881
1,248
# # This file is part of pretix (Community Edition). # # Copyright (C) 2014-2020 <NAME> and contributors # Copyright (C) 2020-2021 rami.io GmbH and contributors # # This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General # Public License as published by the Free...
1,357
2,151
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import sys def IsNewer(old_version, new_version): return (old_version and new_version and (old_version.major < new_version.major or ...
1,451
1,056
<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
1,110
521
<gh_stars>100-1000 /* Copyright (C) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. Portions Copyright 2007-2010 Sun Microsystems, Inc. All rights reserved. Portions Copyright 2009-2018 SN Systems Ltd. All rights reserved. Portions Copyright 2008-2018 <NAME>. All rights reserved. This program is free ...
3,211
5,964
<filename>gen/blink/bindings/modules/v8/V8EntrySync.cpp // Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "conf...
5,282
709
#include "defselement.h" using namespace lunasvg; DefsElement::DefsElement() : GraphicsElement(ElementId::Defs) { } std::unique_ptr<Node> DefsElement::clone() const { return cloneElement<DefsElement>(); }
80
335
<gh_stars>100-1000 { "word": "Unseat", "definitions": [ "Cause (someone) to fall from a horse or bicycle.", "Remove (a government or person in authority) from power." ], "parts-of-speech": "Verb" }
94
413
{ "$schema": "../../../node_modules/@microsoft/sp-module-interfaces/lib/manifestSchemas/jsonSchemas/clientSideComponentManifestSchema.json", "id": "438e1c92-f33f-4952-aa36-add7530b6937", "alias": "SocialPhotoStream", "componentType": "WebPart", "version": "1.0.0", "manifestVersion": 2, "preconfiguredEnt...
405
14,668
<reponame>chromium/chromium<filename>ash/components/arc/session/arc_service_manager.h // 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 ASH_COMPONENTS_ARC_SESSION_ARC_SERVICE_MANAGER_H_ #define AS...
948
302
from .baseContext import BaseContext class DummyContext(BaseContext): pass
22
660
package com.yan.refreshloadlayouttest.testactivity; import android.content.Context; import androidx.core.content.ContextCompat; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.recyclerview.widget.RecyclerView; import com.yan.ref...
857
852
import FWCore.ParameterSet.Config as cms l1tStage2InputPatternWriter = cms.EDAnalyzer('L1TStage2InputPatternWriter', towerToken = cms.InputTag("simCaloStage2Layer1Digis"), filename = cms.untracked.string("pattern.txt"), nChanPerQuad = cms.untracked.uint32(4), nQuads = cms.untracked...
210
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...
1,356
9,782
<filename>presto-main/src/main/java/com/facebook/presto/server/thrift/ThriftServerInfoClient.java /* * 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/...
339
11,356
<reponame>shreyasvj25/turicreate /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // test_enable_shared_from_this.cpp // (C) Copyright 2002 <NAME> - http://www.rrsd.com . // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying fi...
2,079
1,511
/* * Header file for iptables xt_AUDIT target * * (C) 2010-2011 <NAME> <<EMAIL>> * (C) 2010-2011 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify
64
1,006
<reponame>eenurkka/incubator-nuttx /**************************************************************************** * boards/z80/z8/z8f64200100kit/include/board.h * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work ...
688
5,196
<reponame>laotie/cartographer /* * Copyright 2018 The Cartographer 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 * * Unl...
361
348
{"nom":"Aunay-les-Bois","circ":"1ère circonscription","dpt":"Orne","inscrits":121,"abs":64,"votants":57,"blancs":4,"nuls":1,"exp":52,"res":[{"nuance":"DVD","nom":"<NAME>","voix":27},{"nuance":"SOC","nom":"M. <NAME>","voix":25}]}
95
363
# -*- coding: utf-8 -*- """ :codeauthor: <NAME> <<EMAIL>> """ import hubblestack.loader import hubblestack.matchers.compound_match as compound_match import hubblestack.matchers.grain_match as grain_match import hubblestack.matchers.list_match as list_match import hubblestack.matchers.pcre_match as pcre_match import...
1,849
988
/* * Copyright 2018-2020 Redis Labs Ltd. and Contributors * * This file is available under the Redis Labs Source Available License Agreement */ #pragma once #include "../graph/graphcontext.h" #include "../graph/entities/qg_node.h" #include "../graph/entities/qg_edge.h" #include "../arithmetic/arithmetic_expressio...
1,341
360
<reponame>wotchin/openGauss-server /* Processed by ecpg (regression mode) */ /* These include files are added by the preprocessor */ #include <ecpglib.h> #include <ecpgerrno.h> #include <sqlca.h> /* End of automatic include section */ #define ECPGdebug(X, Y) ECPGdebug((X) + 100, (Y)) #line 1 "dyntest.pgc" /* dynamic S...
11,577
14,668
<filename>ash/fast_ink/laser/laser_segment_utils.h // 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. #ifndef ASH_FAST_INK_LASER_LASER_SEGMENT_UTILS_H_ #define ASH_FAST_INK_LASER_LASER_SEGMENT_UTILS_H_ #i...
1,281
933
<filename>package.json { "name": "raft", "version": "0.2.0", "repo": "willemt/raft", "description": "C implementation of the Raft Consensus protocol, BSD licensed", "keywords": ["raft", "consensus", "protocol"], "src": [ "include/raft.h", "include/raft_log.h", "include/raft_private.h", "src/...
181
355
/* * JBoss, Home of Professional Open Source * Copyright 2009-10 Red Hat and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser G...
3,168
1,253
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Tests for the sttribute container store interface.""" import unittest from plaso.containers import events from plaso.storage import interface from tests.storage import test_lib class BaseStoreTest(test_lib.StorageTestCase): """Tests for the attribute container st...
325
933
<reponame>proton-vayu/android_external_perfetto /* * 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/l...
1,454
322
import numpy as np light_code = [] fl_param_dict = np.load('/is/cluster/work/pghosh/gif1.0/DECA_inferred/deca_flame_params_camera_corrected.npy', allow_pickle=True).item() for i, key in enumerate(fl_param_dict): flame_param = fl_param_dict[key] light_code.append(flame_param['lit'].flat...
228
809
/* * LensKit, an open-source toolkit for recommender systems. * Copyright 2014-2017 LensKit contributors (see CONTRIBUTORS.md) * Copyright 2010-2014 Regents of the University of Minnesota * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentati...
825
573
// Copyright 2015, VIXL authors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions ...
25,456
1,203
package com.philliphsu.bottomsheetpickers.time.numberpad; import android.content.res.ColorStateList; import android.graphics.drawable.Drawable; import android.support.annotation.ColorInt; import android.support.annotation.NonNull; /** * Interface through which a {@link NumberPadTimePicker} contained in * {@link Bot...
1,321
2,151
// Copyright 2014 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/sync_file_system/drive_backend/callback_tracker.h" #include "testing/gtest/include/gtest/gtest.h" namespace sync_file_system { ...
538
841
<gh_stars>100-1000 package cgeo.geocaching.filters.gui; import cgeo.geocaching.R; import cgeo.geocaching.filters.core.IGeocacheFilter; import cgeo.geocaching.models.Geocache; import cgeo.geocaching.ui.ImageParam; import cgeo.geocaching.ui.TextParam; import cgeo.geocaching.ui.ViewUtils; import cgeo.geocaching.ui.dialog...
4,409
2,661
<gh_stars>1000+ // Copyright 2017 Google 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...
312
5,169
{ "name": "SGExtensionsUtilities", "version": "0.0.1", "summary": "Extensions & Utilities", "description": "Library to provide swift extensions & utilites", "homepage": "https://github.com/sanjeevworkstation/SGExtensionsUtilities", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { ...
262
682
<filename>abc/src/map/if/ifMatch2.c<gh_stars>100-1000 /**CFile**************************************************************** FileName [ifMatch2.c] SystemName [ABC: Logic synthesis and verification system.] PackageName [FPGA mapping based on priority cuts.] Synopsis [Specialized matching.] Author...
542
1,838
/* * Copyright 2005-2019 Dozer Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
735
515
# Copyright (c) 2019-2021 <NAME> # License: MIT License from pathlib import Path import ezdxf from ezdxf.tools.standards import styles DIR = Path("~/Desktop/Outbox").expanduser() doc = ezdxf.new("R12", setup=True) msp = doc.modelspace() y = 0 height = 0.5 line_height = 1.5 for style, font in styles(): msp.add_te...
179
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-cvwm-vf9r-8r57", "modified": "2022-05-13T01:45:58Z", "published": "2022-05-13T01:45:58Z", "aliases": [ "CVE-2017-4921" ], "details": "VMware vCenter Server (6.5 prior to 6.5 U1) contains an insecure library loading issue that occurs due to th...
548
4,879
#import "MWMMyPositionMode.h" #include "platform/localization.hpp" #include "platform/location.hpp" #include "platform/measurement_utils.hpp" #include "platform/settings.hpp" #include "geometry/mercator.hpp" namespace location_helpers { static inline NSString * formattedDistance(double const & meters) { if (meter...
556
892
{ "schema_version": "1.2.0", "id": "GHSA-6r88-384v-fg82", "modified": "2022-05-13T01:23:27Z", "published": "2022-05-13T01:23:27Z", "aliases": [ "CVE-2014-1498" ], "details": "The crypto.generateCRMFRequest method in Mozilla Firefox before 28.0 and SeaMonkey before 2.25 does not properly validate a cer...
790
1,353
<filename>servlet/src/main/java/com/twelvemonkeys/servlet/cache/ServletResponseResolver.java<gh_stars>1000+ /* * Copyright (c) 2008, <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: * ...
951
47,880
<reponame>ksodhi2/guava<filename>guava-tests/test/com/google/common/collect/TablesTest.java /* * Copyright (C) 2008 The Guava 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 * ...
1,424
947
<filename>include/tuple/slot.h /*------------------------------------------------------------------------- * * slot.h * Declarations for orioledb tuple slot implementation * * Copyright (c) 2021-2022, Oriole DB Inc. * * IDENTIFICATION * contrib/orioledb/include/tuple/slot.h * *----------------------------...
1,085
936
/* * Copyright 2015, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package example; import com.yahoo.elide.annotation.Include; import java.util.Set; import javax.persistence.ElementCollection; import javax.persistence.Entity; /** * Embedded test bea...
256
365
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
10,589
1,338
/* ** Copyright 2004, <NAME>, <EMAIL>. All rights reserved. ** Distributed under the terms of the MIT License. */ #ifndef LINK_H #define LINK_H #include <boot/vfs.h> #include "File.h" namespace BFS { class Link : public File { public: Link(Volume &volume, block_run run); Link(Volume &volume, off_t id); Lin...
244
2,542
<reponame>gridgentoo/ServiceFabricAzure // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ----------------------------------------------------...
283
930
package vip.mate.core.rabbitmq.config; import org.springframework.context.annotation.Configuration; /** * RabbitMQ配置 * * @author pangu */ @Configuration public class RabbitMQConfiguration { }
66
5,250
/* 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...
700
3,436
/// \file // Range v3 library // // Copyright <NAME> 2014-present // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/ericniebler/range...
1,008
4,310
<reponame>Mu-L/thumbnailator /* * Thumbnailator - a thumbnail generation library * * Copyright (c) 2008-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 restrictio...
1,289
4,047
#!/usr/bin/env python3 print('ext/noext')
19
1,444
package mage.cards.w; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldAllTriggeredAbility; import mage.abilities.effects.Effect; import mage.abilities.effects.common.GainLifeEffect; import mage.abilities.effects.common.LoseLifeOpponentsEffect; i...
628
748
<filename>app/src/main/java/com/malmstein/yahnac/analytics/FirebaseAnalytics.java package com.malmstein.yahnac.analytics; import com.google.firebase.crash.FirebaseCrash; public class FirebaseAnalytics implements CrashAnalytics { @Override public void logSomethingWentWrong(String errorMessage) { Fireb...
175
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-8fr9-h4c8-rfgv", "modified": "2022-05-01T07:10:51Z", "published": "2022-05-01T07:10:51Z", "aliases": [ "CVE-2006-3610" ], "details": "index.php in Orbitcoders OrbitMATRIX 1.0 allows remote attackers to obtain sen...
390
990
/* * Copyright (c) [2010-2019] <EMAIL> rights reserved. * * AntiSpy 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 * * THIS SOFTWARE IS...
838
2,742
<reponame>mshrutm/javamelody<gh_stars>1000+ package net.bull.javamelody; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.NamedQuery; /** * Jpa Entity pour test. * @author <NAME> */ @Entity @NamedQuery(name = "Person.findByName", query ...
258
2,151
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_ARC_ACCESSIBILITY_ARC_ACCESSIBILITY_UTIL_H_ #define CHROME_BROWSER_CHROMEOS_ARC_ACCESSIBILITY_ARC_ACCESSIBILITY_UTIL_H_ #...
628
431
<gh_stars>100-1000 /* * Prime generation. */ #include <assert.h> #include "ssh.h" /* * This prime generation algorithm is pretty much cribbed from * OpenSSL. The algorithm is: * * - invent a B-bit random number and ensure the top and bottom * bits are set (so it's definitely B-bit, and it's definitely * ...
28,958
360
from collections import defaultdict import numpy as np import pybullet as p from igibson.metrics.metric_base import MetricBase class GazeVizMarker(object): """ Spherical visual marker that can be used to visualize gaze. Does not load into PyBullet, so shouldn't affect determinism. """ def __ini...
1,158
784
<gh_stars>100-1000 #include "devices.h" #include "processor.h" #define RBR 0 #define THR 0 #define IER 1 #define IIR 2 #define FCR 2 #define LCR 3 #define MCR 4 #define LSR 5 #define MSR 6 #define SCR 7 #define DLL 0 #define DLM 1 #define THRE 5 // transmit holding register empty #define TEMT 6 // transmi...
1,850
651
<gh_stars>100-1000 package org.lwjglb.engine.loaders.assimp; import org.joml.Matrix4f; public class Bone { private final int boneId; private final String boneName; private Matrix4f offsetMatrix; public Bone(int boneId, String boneName, Matrix4f offsetMatrix) { this.boneId = boneId; ...
241
1,450
/* * 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 ...
490
3,457
<filename>src/Eigen-3.3/failtest/eigensolver_int.cpp #include "../Eigen/Eigenvalues" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD #define SCALAR int #else #define SCALAR float #endif using namespace Eigen; int main() { EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); }
129
648
{"resourceType":"CodeSystem","id":"encounter-special-arrangements","meta":{"lastUpdated":"2019-11-01T09:29:23.356+11:00","profile":["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]},"text":{"status":"generated","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <h2>Special arrangements</h2>\...
1,897
1,109
<reponame>qiquanzhijia/gryphon<gh_stars>1000+ # -*- coding: utf-8 -*- from datetime import datetime import uuid from sqlalchemy import Column, Unicode, UnicodeText, DateTime, Integer, Numeric from sqlalchemy.orm import relationship, backref from gryphon.lib.models.base import Base from gryphon.lib.money import Money ...
765
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration */ #import <ManagedConfiguration/MCPayload.h> #import <ManagedConfiguration/XXUnknownSuperclass.h> @class NSArray, MCProfile, NSString; @interface MCPayload : XXU...
1,290
3,083
// Copyright 2011-2016 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 ...
432
5,169
{ "name": "FSCalendar+Persian", "version": "2.9.3", "summary": "RTL (Persian and Arabic) version of FSCalendar. https://husseinhj.github.io/FSCalendar/", "homepage": "https://github.com/Husseinhj/FSCalendar", "screenshots": [ "https://github.com/Husseinhj/FSCalendar/raw/master/docs/Screenshots/English/DIY...
387
2,542
<reponame>AnthonyM/service-fabric // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ----------------------------------------------------------...
524
482
<reponame>jmrapp1/TerraLegion<gh_stars>100-1000 package com.jmrapp.terralegion.game.views.ui; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.jmrapp.terralegion.engine.views.drawables.ResourceManager; import com.jmr...
732
526
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.accessservices.dataengine.model; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation...
1,331
777
<filename>chrome/browser/ui/views/frame/browser_command_handler_linux.cc // Copyright 2014 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/frame/browser_command_handler_linux.h" #includ...
646