seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
</div>
</li>
<li class='lightred'>
<i class="fa fa-filter"></i>
<div class="details">
<span class="big">{{ commonController::myQuery("SELECT SUM(diesel_advance) AS resCol FROM `loading_entries` WHERE loading_date = '$date'") }}</span>
<span>Today Diesel Adv</span>
</div>
</li>
<li class='satgreen'>
<i class="fa fa-database"></i>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
StateManager& StateManager::getInstance()
{
static StateManager statemanager;
return statemanager;
}
void StateManager::setSelectedSquare(Square* square)
{
selectedSquare = square;
}
void StateManager::removeSelectedSquare()
{
selectedSquare = nullptr;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
CScope_Impl* CHeapScope::GetImpl(void) const
{
return GetScope().m_Impl.GetPointer();
}
END_SCOPE(objects)
END_NCBI_SCOPE
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def info(self):
return self.__info
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# print(f"row:{i} col: {j} -->", check_letter(i, j, board))
head_letters[(i, j)] = order, check_letter(i, j, board)
order += 1
return head_letters
if __name__ == '__main__':
board01_lines = build_01_board(crosswords_lines)
head_letters = find_head_letters(board01_lines)
print(head_letters)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <summary>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mod tests;
use crate::error::Error;
pub static ENDPOINT: &str = "https://intra.epitech.eu";
#[derive(Debug, Clone, Default)]
pub struct ClientBuilder {
autologin: String,
retry_count: u32,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
break;
case 'angular':
withScreenshot = <WithScreenshot>NgWithScreenshot;
break;
case 'vue':
withScreenshot = <WithScreenshot>VueWithScreenshot;
break;
default:
throw new Error(`storybook-chrome-screenshot does not support "${storybookEnv}".`);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>0011-Container-With-Most-Water/src/Solution.java
class Solution {
//Time Complexity: O(n)
//Space Complexity: O(1)
public int maxArea(int[] height) {
if (height == null || height.length == 0) {
return 0;
}
int left = 0, right = height.length - 1;
int res = 0;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DateTime currrentTime = DateTime.Now;
WriteStatusToAppdata("Time: " + currrentTime.ToString());
WriteGeolocToAppdata(pos);
}
catch (UnauthorizedAccessException)
{
WriteStatusToAppdata("Disabled");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@click.command()
@click.argument("arg1",nargs=-1)
@click.argument("arg2",nargs=1)
@click.argument("arg_infile",type=click.File('r'))
@click.argument("arg_ofile",type=click.File('w'))
@click.argument("filepath",type=click.Path(exists=True))
@click.option("--count",required=True,default=1,type=int,show_default=True,help="option count")
@click.option("--option",nargs=2,type=float)
@click.option("--tup",type=(str,int))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
// More code here
if (found)
{
Console.WriteLine("Value Found");
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# data = line.strip('\n').split(';')
# data = cast_row(data_types, data)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public static AreaShape? GetAreaShape(this Def def)
{
return (def as ThingDef)?.GetCompProperties<CompProperties_Building>()?.shape;
}
public static IEnumerable<IntVec3> Cells(this AreaShape areaShape, IntVec3 center, Rot4 rot, IntVec2 size)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
MinJobId: DWORD,
MaxJobId: DWORD,
) -> NET_API_STATUS;
pub fn NetScheduleJobEnum(
Servername: LPCWSTR,
PointerToBuffer: *mut LPBYTE,
PointerToBuffer: DWORD,
EntriesRead: LPDWORD,
TotalEntries: LPDWORD,
ResumeHandle: LPDWORD,
) -> NET_API_STATUS;
pub fn NetScheduleJobGetInfo(
Servername: LPCWSTR,
JobId: DWORD,
PointerToBuffer: *mut LPBYTE,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
beforeEach(() => {
fixture = TestBed.createComponent(LeftSidenavTabbedComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def hog(self, image_path, size):
img = cv2.imread(image_path)
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
resized = cv2.resize(gray, (size, size), interpolation=cv2.INTER_AREA)
_, im_bw = cv2.threshold(resized, 128, 255, cv2.THRESH_BINARY | cv2.THRESH_OTSU)
fd, hog_image = hog(im_bw, orientations=8, pixels_per_cell=(16, 16),
cells_per_block=(1, 1), visualize=True, multichannel=False)
im_bw = list(hog_image.flatten())
return im_bw
def pca(self, image_path, size, n_feature):
img = cv2.imread(image_path)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def nothing(x): pass
help_message = """how to use:
testing_interpreter.py [-v|(-p|-n)] -f file_to_execute
-v call by value (by default is the strategy `call by name`)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
j += 1
fc_left = fc_left / j
h = h5py.File('../data/tout_group/Hmean709_FC_left.h5', 'w')
h.create_dataset('data', data = fc_left)
h.close()
print(fc_left.min(), fc_left.max(), fc_left.shape, j)
# -0.005300521852874321, 0.39153784016161197, (4096, 360), 709 | ise-uiuc/Magicoder-OSS-Instruct-75K |
pub(crate) fn dup_y(self) -> Self {
Self(self.1, self.1)
}
/// Computes the dot product of `self` and `other`.
#[inline]
pub fn dot(self, other: Vec2) -> f32 {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
async def gather(*tasks):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
edge = []
for i in range(m):
a, b, c = map(int, input().split())
edge.append([a, b, c])
t = bf()
print(t)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# coding=utf-8
import os as os
| ise-uiuc/Magicoder-OSS-Instruct-75K |
override func prepareForInterfaceBuilder() {
self.sharedInit()
}
private func sharedInit() {
self.refreshCorners(cornerRadius: self.frame.width / 2)
}
private func refreshCorners(cornerRadius: CGFloat) {
self.layer.cornerRadius = cornerRadius
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def mnist():
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}}
/>
</Text>
</Stack>
<Box rounded="md" shadow="lg" maxW="700px">
<Image
src={nativeFeelingSrc}
alt="native feeling illustration"
placeholder="blur"
/>
</Box>
</Stack>
</Flex>
);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
await makeErrorHandler(errorConfig)(error);
expect(errorCallback).toHaveBeenCalledWith(error);
});
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
os.makedirs("./detections/"+folderName+"/")
except:
print("Error while creating folder to store detections of "+folderName+".")
if not os.path.exists("./detections/"):
try:
os.makedirs("./detections/")
except:
print("Error while creating detections folder.")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class CatTest {
public static void main(String[] args) {
Cat one=new Cat();
one.run();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
playerProgress = player.position.x - initialPlayerPosition.x
// Check to see if the ground should jump forward:
ground.checkForReposition(playerProgress: playerProgress)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include <tuple>
#include <random>
#include <functional>
#include "OBB.h"
#include "OBB_simd.h"
#define ALIGNED_ALLOC(size, align) _aligned_malloc((size), (align))
#define ALIGNED_FREE(ptr) _aligned_free(ptr)
using namespace obb;
static constexpr u64 Increment = 0x14057B7EF767814FULL;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/home/runner/.cache/pip/pool/69/03/97/70acedcc1cc884136e11b4af68d67ec6d0c446f896ca74736d25697acc | ise-uiuc/Magicoder-OSS-Instruct-75K |
//
// ASAuthorizationErrorToOError.swift
// RamySDK
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from core.managers import CoreManager
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @return \Agrosellers\Entities\Entity
*/
public function getModel()
{
return new Provider();
}
function d(){
$this->getModel()->newQuery();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class ToyHouse : IToy {
int price;
string color;
public void setPrice(int price) {
this.price = price;
}
public void setColor(string color) {
this.color=color;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from office365.sharepoint.view import View
class ViewCollection(ClientObjectCollection):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pool2_flat = tf.reshape(pool2, [-1, 7 * 7 * 8])
net = tf.layers.dense(inputs=pool2_flat, units=128, activation=tf.nn.sigmoid)
# Logits Layers
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package Kesseler.Roberto.Exemplo7;
import Kesseler.Roberto.Exemplo7.dao.ClientDAO;
import Kesseler.Roberto.Exemplo7.model.Client;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
@SpringBootApplication
public class Exemplo7Application {
public static void main(String[] args) {
SpringApplication.run(Exemplo7Application.class, args);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
_tempEntries = self._lastEntries
def drawTOCEntryEnd(canvas, kind, label):
'''Callback to draw dots and page numbers after each entry.'''
label = label.split(',')
page, level, key = int(label[0]), int(label[1]), eval(label[2],{})
style = self.getLevelStyle(level)
if self.dotsMinLevel >= 0 and level >= self.dotsMinLevel:
dot = ' . '
else:
dot = ''
if self.formatter: page = self.formatter(page)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// </summary>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
query(dc, 'SET @@repo1_head=HASHOF("master");')
query_with_expected_error(dc, "Should have failed creating duplicate table", """
CREATE TABLE test (
pk INT NOT NULL,
c1 INT,
c2 INT,
PRIMARY KEY(pk));""")
def seed_master(dc):
query(dc, 'SET @@repo1_head=HASHOF("master");')
_, row_count = query(dc, 'INSERT INTO test VALUES (0,0,0),(1,1,1),(2,2,2)')
if row_count != 3:
raise Exception("Failed to update rows")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return TransactionListViewController(uiConfiguration: uiConfig, presenter: presenter)
}
func notificationPreferencesView(presenter: NotificationPreferencesPresenterProtocol) -> ShiftViewController {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# See LICENSE for details
# ---------------------------------------------------------------------
# Third-party modules
import six
from django import forms
from django.utils.encoding import force_unicode
from django.utils.html import escape
class NOCBoundField(forms.forms.BoundField):
"""
Bound field with django-admin like label-tag
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import copy
import traceback
from pathlib import Path
from typing import Any, Dict, List
from classy_vision.generic.registry_utils import import_all_modules
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class PopupBlockLexer(mistune.BlockLexer):
"""Support for "popups" in Markdown.
Popups are block level elements that renders as Info/Note/Warning blocks in Confluence; the
syntax is ~? for info popups, ~! for note and ~% for warnings.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
"""Blockly Games used to use Reddit as a gallery. These URLs still exist.
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
find = True
for i in range(len(before)):
if before[i] == after[i]:
find = False
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<form className="flex-grow-1 my-3 mx-lg-5">
<label className="sr-only" htmlFor="inlineFormInputGroup">Search</label>
<div className="input-group">
<input type="text" className="form-control" id="inlineFormInputGroup" placeholder="Search" />
<div className="input-group-append">
<div className="input-group-text">🔍</div>
</div>
</div>
</form>
<div className="navbar-navitem my-3 ml-lg-3 flex-grow-2">
{signedIn ? adminLink : signInLink}
</div>
</div>
</nav>
);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
console.log(`Branch ${branch} doesn't exist. Skipping. Error: [${err}]`);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return render(request, 'system/rbac/role_detail.html', ret)
else:
res = dict(result=False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const elem = useRef();
onMount(() => {
state.findAndRunScripts();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private String errorCode;
@JSONField(name = "errmsg")
private String errorMessage;
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
private Date expiryStartTime;
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
private Date expiryEndTime;
public String getOAuthToken() {
return oAuthToken;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
TRC_ERROR("b_write_add_avail()\n");
return STATUS_ERROR;
}
}
uint32_t l_write_avail = b_write_avail();
uint32_t l_write = (l_left > l_write_avail)?l_write_avail:l_left;
ssize_t l_status = a_q.read(b_write_ptr(), l_write);
if(l_status < 0)
{
TRC_ERROR("a_q.read()\n");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
constructor(
private identification: string,
private name: string
) { }
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Install my preffered zsh theme:
mkdir $ZSH/themes
wget -O $ZSH/themes/hyperzsh.zsh-theme https://raw.githubusercontent.com/tylerreckart/hyperzsh/master/hyperzsh.zsh-theme
# Reload zsh settings:
source ~/.zshrc
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use App\Models\Hafazan;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.message = message
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class CreatePerjalanansTable extends Migration
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
template <typename Type>
Priority_queue<Type>::~Priority_queue()
{
Data_pq <Type> *pointer = first;
Data_pq <Type> *temp = nullptr;
while(pointer!=nullptr)
{
temp = pointer->return_p_next_data();
delete pointer;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
assert_df_equal(catalog.get_datatable(ds, "test").get_data(),
df_test,
index_cols=["composite_id_1", "composite_id_2"])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.items_bar_sprite = arcade.Sprite("sprites/gui/items_bar.png", CONST.SPRITE_SCALING_ITEMS_BAR)
self.dollars_sprite.center_x = CONST.DOLLARS_CENTER_X
| ise-uiuc/Magicoder-OSS-Instruct-75K |
gap_letter = "-"
stop_letter = "*"
generic_protein_letter = "X"
generic_nt_letter = "N"
# use full alphabet as default for functions that require one
every_letter_alphabet = string.ascii_uppercase
# The rationale for this ordering is that the gap character and standard symbols (4 bases / 20 amino acids) should come first,
# followed by the extra letters. If we were to use something like alphanumeric ordering, then the standard and full alphabets
# would be mutually incompatible.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
int workerPort() const { return this->m_workerPort; }
const StringList& search() const { return this->m_search; }
bool clientSet() const { return this->m_clientSet; }
bool workerSet() const { return this->m_workerSet; }
void convertHostPort(const std::string& hostport, std::string& host, int& port)
{
std::string::size_type pos = hostport.rfind(':');
if (pos > 0)
host = hostport.substr(0, pos);
if (pos + 1 != std::string::npos)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pipeline_raw = open(os.environ['PIPELINE_FILE'],'r').read()
pipeline_buffer_cleaned = re.sub('{{', '', re.sub('}}', '', pipeline_raw)) # ignore concourse v2.x variable interpolation
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#endif //RHI_COMPLETE
}
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@section('css')
<style>
.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper {background-color:#fff !important;}
</style>
@stop
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (exoPlayer == null) {
return;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Args:
params (pyramid_oereb.views.webservice.Parameter): The parameters of the extract request.
street_name (unicode): The name of the street for the desired address.
zip_code (int): The postal zipcode for the desired address.
street_number (str): The house or so called street number of the desired address.
"""
pass # pragma: no cover
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cache,
show_progress,
output_dir,
start_session,
end_session):
# Read in data
data = pd.read_csv(path_to_file, index_col = [0, 1], parse_dates = [1], infer_datetime_format = True)
data.volume = data.volume.astype(int)
#data.loc[:, 'volume'] = 100000000
| ise-uiuc/Magicoder-OSS-Instruct-75K |
circle()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
descriptHit = False
for line in origLines:
if (not testHit) and re.match("^$", line)!=None:
#Throw away empty lines until we hit the first test function
continue
elif (not testHit) and re.search("test\s*:\s*function\s+testcase\(\)", line)!=None:
testHit = True
line = line.rstrip() + os.linesep
elif (not pathHit) and re.search("path\s*:\s*\"", line)!=None:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if item.batch_no:
item.gst_hsn_code=frappe.db.get_value('Batch',item.batch_no,'gst_hsn_code_cf')
frappe.msgprint(_("HSN/SAC Code {0} is updated for <b> row {1} : Item {2}</b>").format(item.gst_hsn_code,item.idx,item.item_code),alert=1)
def set_sales_order_reference(self,method):
if self.doctype=='Purchase Receipt':
for item in self.items:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public func mapping(map: Map) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
exit 0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export CC=hipcc
export CXX=hipcc
export FC=gfortran
| ise-uiuc/Magicoder-OSS-Instruct-75K |
kubeconfig=kubeconfig
)
# Create the namespace
ns = Namespace("ns", metadata={
"name": namespace,
},
opts=pulumi.ResourceOptions(provider=provider),
)
# Install the helm chart
helm.Chart("external-dns", helm.ChartOpts(
chart="external-dns",
namespace=ns.metadata["name"],
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import cn.ulyer.common.oauth.Oauth2Authority;
import lombok.Getter;
import lombok.Setter;
import java.util.Set;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_dummy_gdc_app(self):
gdc_app = dict()
gdc_app["i"] = self.get_dummy_app_id()
gdc_app["n"] = self.get_dummy_app_name()
gdc_app["s"] = self.get_dummy_app_slug()
return gdc_app
| ise-uiuc/Magicoder-OSS-Instruct-75K |
temp_dist = sqrt(sum((p1 - p2)**2 for p1, p2 in zip(pivot, target)))
if temp_dist < dist: # 如果“更近”
nearest = pivot # 更新最近点
dist = temp_dist # 更新最近距离
max_dist = dist # 更新超球体半径
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>index/models.py
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public get IsDeleted(): boolean {
return this.deleted;
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Migration(migrations.Migration):
dependencies = [
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Input: 3
Output: false
Explanation: Alice chooses 1, Bob chooses 1, and Alice has no more moves.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export default Layout;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(scipy.stats.chi2_contingency(T1)[1]) # Pyswisseph
print(scipy.stats.chi2_contingency(T2)[1])
print(scipy.stats.chi2_contingency(T3)[1])
print()
T1 = numpy.asarray([
[ 316, 378, 393, 355, 391, 371, 400, 397, 385, 371, 382, 371, ],
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Action::UpdateOrganization(update_organization) => {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
model_full_id = automl_client.model_path(
project_id, compute_region, model_id
)
# Create client for prediction service.
prediction_client = automl.PredictionServiceClient()
if input_path.startswith('bq'):
input_config = {"bigquery_source": {"input_uri": input_path}}
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
onSuccess: {response in
executed += 1
executed == VK.config.sendLimit ? exp.fulfill() : ()
},
onError: {error in
executed += 1
executed == VK.config.sendLimit ? exp.fulfill() : ()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use super::utils;
pub mod basic_pitch; | ise-uiuc/Magicoder-OSS-Instruct-75K |
"previous-or-up": Spec(commands=["previous", "previous"], windows=4),
},
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
y1_y2 = casm_y2 - casm_y1;
casm_v = Math.Sqrt(x1_x2 * x1_x2 + y1_y2 * y1_y2) / t1_t2;
if (casm_v > 3185)
{
return;
}
}
casm_t1 = casm_t2;
casm_f = casm_f + 1;
casm_x1 = casm_x2;
casm_f = casm_f + 1;
casm_y1 = casm_y2;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
logger.error("%s mask is empty", file_path)
return
min_value = np.min(data[data != 0])
if min_value < 1 or max_value != 1:
mask = np.zeros_like(data, dtype=np.uint8)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# I want to publish the Canny Edge Image and the original Image
cam_info.header.stamp = rospy.Time.from_sec(time.time())
left_cam_pub.publish(cam_info)
right_cam_pub.publish(cam_info)
left_img_pub.publish(bridge.cv2_to_imgmsg(frame_left, "bgr8"))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
description='System identification with pytorch package',
packages=find_packages(),
install_requires=['numpy', 'scipy', 'matplotlib', 'torch'], # to be checked
extras_require={
'continuous-time integration': ["nodepy"],
'download datasets': ["requests"],
'open datasets': ["pandas"],
'generate documentation': ["sphinx"]
}
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
switch (_position)
{
case ADD_SPRITE_AT_START:
sprite_sheets.insert(sprite_sheets.begin(), *_sprite_sheet);
break;
case ADD_SPRITE_AT_END:
sprite_sheets.insert(sprite_sheets.end(), *_sprite_sheet);
break;
default:
if (_position > sprite_sheets.size())
{
_position = sprite_sheets.size();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#wget www.ee.cuhk.edu.hk/~rzhao/sharedata/model_imagenet_padimage_pretrain_iter_600000_stage1_iter_80000.caffemodel
wget https://www.dropbox.com/s/qb56hej372vxt8w/model_imagenet_bbox_pretrain_iter_780000_cascade_stage2_iter_80000.caffemodel
wget https://www.dropbox.com/s/0rta2q1k50vmdoz/model_imagenet_padimage_pretrain_iter_600000_stage1_iter_80000.caffemodel
echo ""
echo "Done."
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>spajz/l5
<input class="btn btn-success" type="submit" value="Save & New" name="save[new]"> | ise-uiuc/Magicoder-OSS-Instruct-75K |
xhigh = fourierSetup.resolution * fourierSetup.freqStep
halfres = int(fourierSetup.resolution)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//dm import com.cyc.cycjava_1.cycl.arguments;
//dm import com.cyc.cycjava_1.cycl.assertions_high;
//dm import com.cyc.cycjava_1.cycl.cardinality_estimates;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.