Events table (ordered by insertion):
CREATE TABLE events (
id UInt64,
ts DateTime64(3),
data TEXT
)
ENGINE=MergeTree()
ORDER BY tuple()
from some_package import SomeClass | |
def analyze_method_resolution(cls: Type, include_magic_methods: bool = False) -> None: | |
""" | |
Analyzes and prints the method resolution for all methods in a class | |
without executing them. | |
Args: | |
cls: The class to analyze |
<?xml version="1.1" encoding="UTF-8"?> | |
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<!-- Fri, 24 Feb 2006 Generated from KCHR: "Russian - Phonetic" --> | |
<!--Last edited by Ukelele version 396 on 2024-09-19 at 12:24 (PDT)--> | |
<!--Created by Ukelele version 1.8 on 2008-08-02 at 16:24 (EDT)--> | |
<keyboard group="7" id="19457" name="Russian-Phonetic-Linux" maxout="1"> | |
<layouts> | |
<layout first="0" last="0" mapSet="ANSI" modifiers="commonModifiers"/> | |
</layouts> | |
<modifierMap id="commonModifiers" defaultIndex="4"> |
#!/bin/bash | |
set -e | |
cmd="$1" | |
if [ "erase" = "$cmd" ]; then | |
cat - >/dev/null | |
exit 0 | |
fi | |
if [ "store" = "$cmd" ]; then | |
cat - >/dev/null |
import contextlib | |
import io | |
import json | |
import logging | |
import os | |
import socket | |
import sys | |
from functools import partial | |
from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer | |
from typing import Any, Iterator |
Events table (ordered by insertion):
CREATE TABLE events (
id UInt64,
ts DateTime64(3),
data TEXT
)
ENGINE=MergeTree()
ORDER BY tuple()
diff --git a/src/numbers/conversions.cc b/src/numbers/conversions.cc | |
index 27f0a6ac3b..0d6eec63a4 100644 | |
--- a/src/numbers/conversions.cc | |
+++ b/src/numbers/conversions.cc | |
@@ -392,7 +392,7 @@ void StringToIntHelper<LocalIsolate>::DetectRadixInternal(Char current, | |
template <typename LocalIsolate> | |
template <class Char> | |
bool StringToIntHelper<LocalIsolate>::ParseChunkInternal(Char start) { | |
- const int kChunkSize = 10240; | |
+ const int kChunkSize = 128; |
CC = g++ | |
CFLAGS = -Wall -std=c++11 -fno-rtti -O2 -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -I../include -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -fPIC -c | |
LDFLAGS = -Wall -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2 -fstack-protector-strong -fno-omit-frame-pointer | |
V8_OUT ?= ../out.gn/x64.release/obj | |
ZLIB_OUT = $(V8_OUT)/third_party/zlib | |
ZLIB_OBJS = $(ZLIB_OUT)/zlib_adler32_simd/adler32_simd.o $(ZLIB_OUT)/zlib_inflate_chunk_simd/inffast_chunk.o $(ZLIB_OUT)/zlib_inflate_chunk_simd/inflate.o $(ZLIB_OUT)/zlib_crc32_simd/crc32_simd.o $(ZLIB_OUT)/zlib_x86_simd/crc_folding.o $(ZLIB_OUT)/zlib_x86_simd/fill_window_sse.o | |
V8_LIBS = -lv8_base_without_compiler -lv8_compiler -lv8_base_without_compiler -lchrome_zlib -lcompression_utils_portable -ltorque_generated_definitions -lcppgc_base -lv8_cppgc_shared -lv8_snapshot -lv8_libplatform -lv8_libbase -lv8_libsampler -lchrome_zlib -lv8_libplatform | |
LIBS = -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed $( |
const Pool = require('pg-pool'); | |
const STATE = { | |
CANCELLED: 0, | |
ACTIVE: 1, | |
WAITING: 2, | |
} | |
export class ManagedPool extends Pool { | |
constructor (options) { |
#!/bin/bash | |
url="$1" | |
id=$(echo "$url" | grep -oP '(?<=https://drive.google.com/file/d/)[^/]+') | |
if [ -z "$id" ]; then | |
id=$(echo "$url" | grep -oP '(?<=https://drive.google.com/open\?id=)[^/]+') | |
if [ -z "$id" ]; then | |
echo "Cannot parse url: '$url'" | |
exit 1 | |
fi | |
fi |
diff --git a/tensorflow/core/common_runtime/gpu/gpu_cudamalloc_allocator.cc b/tensorflow/core/common_runtime/gpu/gpu_cudamalloc_allocator.cc | |
index 08961fc..5963c8a 100644 | |
--- a/tensorflow/core/common_runtime/gpu/gpu_cudamalloc_allocator.cc | |
+++ b/tensorflow/core/common_runtime/gpu/gpu_cudamalloc_allocator.cc | |
@@ -16,6 +16,9 @@ limitations under the License. | |
#ifdef GOOGLE_CUDA | |
#include "cuda/include/cuda.h" | |
#include "tensorflow/stream_executor/cuda/cuda_activation.h" | |
+#include "tensorflow/stream_executor/platform/port.h" | |
+#include "tensorflow/stream_executor/dso_loader.h" |