code stringlengths 3 6.57k |
|---|
datetime.date.today() |
relativedelta(weeks=exameFinal) |
morfologicoFinal.strftime('%d/%m/%Y') |
morfologicoInicio.strftime('%d/%m/%Y') |
print("O exame deverá ser feito entre ",dinicial, " e ", dfinal) |
self.async_readlines() |
self.line_chunks() |
self.buf.readline() |
ln.split() |
next(self.chunks) |
self() |
self() |
b.decode() |
int(self.str() |
Solver(ABC) |
__init__(self) |
StdReader() |
self.prepare() |
self.solve() |
prepare(self) |
solve(self) |
prepare(self) |
reader.int() |
reader.int() |
reader.int() |
range(3 * m) |
reshape(m, 3) |
solve(self) |
self.compute_dist_mat() |
dist.max(axis=1) |
min() |
print(int(d) |
main() |
StdReader() |
int() |
range(t) |
Problem() |
main() |
test_iter_sphinx_sections(color_excess_tutorial: HtmlTestData) |
color_excess_tutorial.parse() |
doc.cssselect(".card .section") |
x.rstrip("¶") |
x.strip() |
sections.append(s) |
len(sections) |
content.startswith("Bessell & Murphy") |
root.itersiblings(tag="div") |
x.rstrip("¶") |
x.strip() |
sections.append(s) |
exit(0) |
configs.append(entry) |
os.getcwd() |
platform.machine() |
platform.node() |
open('omprace.csv', 'wb') |
csv.writer(csvfile, delimiter=',') |
res_writer.writerow(['test name', 'baseline openmp(s) |
no_inst(s) |
omprace(s) |
util.log_heading(config["NAME"], character="-") |
row.append(bench_name[0]) |
print('input file folder: ' + inner_data_folder[0]) |
print('checking if input data exists at:' + data_input) |
os.path.exists(data_input) |
print("input data doesn't exist. building input data") |
util.chdir(ref_cwd + "/" + inner_data_folder[0]) |
util.run_command(build_data, verbose=True) |
util.chdir(ref_cwd) |
print("input data exists") |
range(len(executable) |
util.chdir(ref_cwd) |
range(0, config["NUM_RUNS"]) |
util.chdir(ref_cwd + "/" + benchmarks[0] ) |
util.log_heading(benchmarks[0], character="=") |
util.run_command(clean_string, verbose=True) |
util.run_command(build_bench_string, verbose=True) |
util.log_heading("running: " + benchmarks[0], character="=") |
util.run_command(run_string, verbose=True) |
util.run_command(run_string, verbose=True) |
output_string.split('\n') |
len(executable) |
output_line.startswith("Number of violations =") |
int(output_line[output_line.index('=') |
time_line.split(':') |
float(t) |
row.append(tot_secs) |
print ('total secs= ' + str(tot_secs) |
row.append("{0:.2f}".format(row[2]/row[1]) |
row.append("{0:.2f}".format(row[3]/row[1]) |
row.append(num_violations) |
res_writer.writerow(row) |
util.chdir(ref_cwd) |
print("done") |
Env('化妆馆-种植园自动任务') |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) |
requests.packages.urllib3.disable_warnings () |
datetime.datetime.now () |
strftime ('%Y-%m-%d') |
datetime.datetime.now () |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.