- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 22 for strcmp (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_stream_bare_type.py
lines = [json.loads(line) for line in response.text.strip().splitlines()] assert lines == [{"name": "foo"}] def test_stream_bare_sync_iterable(): response = client.get("/items/stream-bare-sync") assert response.status_code == 200 assert response.headers["content-type"] == "application/jsonl" lines = [json.loads(line) for line in response.text.strip().splitlines()]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 1.1K bytes - Click Count (0) -
tests/test_sse.py
data_lines = [ line for line in response.text.strip().split("\n") if line.startswith("data: ") ] assert len(data_lines) == 3 def test_dict_items(client: TestClient): response = client.get("/items/stream-dict") assert response.status_code == 200 data_lines = [ line for line in response.text.strip().split("\n") if line.startswith("data: ") ]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
tensorflow/c/eager/gradients.cc
TF_RETURN_IF_ERROR(op->Reset("ZerosLike", /*raw_device_name=*/nullptr)); if (isa<tracing::TracingOperation>(op.get())) { TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingOperation>(op.get())->SetOpName( absl::StrCat("ZerosLike", ToId(t)).c_str())); } TF_RETURN_IF_ERROR(op->AddInput(t)); int num_outputs = 1; std::vector<AbstractTensorHandle*> outputs(num_outputs); TF_RETURN_IF_ERROR(
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 19.6K bytes - Click Count (0) -
tensorflow/BUILD
# package_name = "tensorflow", # ) # # filegroup( # name = "copybara_library", # srcs = glob( # [ # "*.bara.sky", # "*.dic", # "*.ftrcp", # ], # exclude = [ # "copy.bara.sky", # ], # ), # visibility = ["//visibility:public"], # ) # # filegroup( # name = "copybara_config",
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 24 21:00:18 GMT 2026 - 53.1K bytes - Click Count (0) -
ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh
rpm2cpio "devtoolset-7-gcc-7.3.1-5.15.el6.src.rpm" |cpio -idmv tar -xvjf "gcc-7.3.1-20180303.tar.bz2" --strip 1 ;; devtoolset-9) wget "https://vault.centos.org/centos/7/sclo/Source/rh/devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" rpm2cpio "devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" |cpio -idmv tar -xvf "gcc-9.3.1-20200408.tar.xz" --strip 1 ;; esac # Apply the devtoolset patches to gcc. /rpm-patch.sh "gcc.spec"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Jan 16 21:51:13 GMT 2026 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
/** * Unit test for {@link Resources}. * * @author Chris Nokleberg */ @NullUnmarked public class ResourcesTest extends IoTestCase { @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
host } } /** Returns a [Locale.US] formatted [String]. */ internal fun format( format: String, vararg args: Any, ): String = String.format(Locale.US, format, *args) /** * will also strip BOM from the source */ @Throws(IOException::class) internal fun BufferedSource.readBomAsCharset(default: Charset): Charset = when (select(UNICODE_BOMS)) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
scripts/translate.py
for attempt_no in range(1, MAX_ATTEMPTS + 1): print(f"Running agent for {out_path} (attempt {attempt_no}/{MAX_ATTEMPTS})") result = agent.run_sync(prompt) out_content = f"{result.output.strip()}\n" try: check_translation( doc_lines=out_content.splitlines(), en_doc_lines=original_content.splitlines(), lang_code=language,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/tr/docs/advanced/behind-a-proxy.md
{* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[6] *} Proxy, request'i app server'a (muhtemelen FastAPI CLI üzerinden Uvicorn) iletmeden önce **path prefix**'i anlık olarak **"kırpar"** (strip). Böylece uygulamanız hâlâ `/app` altında servis ediliyormuş gibi davranır ve tüm kodunuzu `/api/v1` prefix'ini içerecek şekilde güncellemeniz gerekmez. Buraya kadar her şey normal çalışır.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 16.5K bytes - Click Count (0) -
guava-gwt/pom.xml
</executions> </plugin> </plugins> <resources> <resource> <directory>src</directory> </resource> <!-- src-super is copied to guava-gwt-sources (so that we can strip its @Nullable annotations), so we don't need to list it here. We may want to arrange something similar for test-super someday. --> <!-- TODO(cpovirk): Why do we have separate src and src-super directories, anyway? -->Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 12 15:19:17 GMT 2026 - 18.2K bytes - Click Count (0)