- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 747 for setcontext (0.14 sec)
-
src/test/java/jcifs/tests/ContextConfigTest.java
NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class); Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/runtime/export_debug_amd64_test.go
// license that can be found in the LICENSE file. //go:build amd64 && linux package runtime import ( "internal/abi" "internal/goarch" "unsafe" ) type sigContext struct { savedRegs sigcontext // sigcontext.fpstate is a pointer, so we need to save // the its value with a fpstate1 structure. savedFP fpstate1 } func sigctxtSetContextRegister(ctxt *sigctxt, x uint64) { ctxt.regs().rdx = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/builders.cc
"create", [](mlir::OpBuilder& opb, mlir::OperationState& state) { return opb.create(state); }, py::return_value_policy::reference) .def("getContext", &mlir::OpBuilder::getContext, py::return_value_policy::reference); py::class_<mlir::OpBuilder::InsertPoint>(m, "OpBuilder_InsertionPoint") .def("getBlock", &mlir::OpBuilder::InsertPoint::getBlock);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 08:44:55 UTC 2022 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc
rewriter.eraseOp(op); return success(); } private: StringRef saved_model_dir_; }; void InitTextFileToImportPass::runOnOperation() { RewritePatternSet patterns(&getContext()); MLIRContext* context = &getContext(); func::FuncOp func = getOperation(); patterns.add<ConvertInitializeTableFromTextFileV2>( context, StringRef(saved_model_dir_));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/bridge.cc
bool enable_inliner) { PassManager bridge(module.getContext()); StandardPipelineOptions pipeline_options; pipeline_options.enable_inliner.setValue(enable_inliner); CreateTFStandardPipeline(bridge, pipeline_options); mlir::StatusScopedDiagnosticHandler diag_handler( module.getContext(), /*propagate=*/false, /*filter_stack=*/!VLOG_IS_ON(1));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 09 17:16:05 UTC 2023 - 2.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java
CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("ใในใ")); } public void test_getHtml_sjis() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html"); final String content = htmlXpathExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/registry/core/namespace/storage/storage_test.go
storage, server := newStorage(t) defer server.Terminate(t) defer storage.store.DestroyFunc() namespace := validNewNamespace() ctx := genericapirequest.WithNamespace(genericapirequest.NewContext(), metav1.NamespaceNone) _, err := storage.Create(ctx, namespace, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 17 05:13:34 UTC 2022 - 19.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/move_tpu_compile_to_front.cc
func->walk([&](Operation* op) { if (llvm::isa<TF::_TPUCompileMlirOp>(op)) { op->setAttr("_is_compilation", UnitAttr::get(func->getContext())); op = op->getParentOp(); while (op && op != func) { op->setAttr("_wraps_compilation", UnitAttr::get(func->getContext())); op = op->getParentOp(); } } }); } void UnmarkCompilationOps(Operation* func) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 17 00:26:18 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_solaris_amd64.c
#include "libcgo_unix.h" static void* threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { ucontext_t ctx; setg_gcc = setg; if (getcontext(&ctx) != 0) perror("runtime/cgo: getcontext failed"); g->stacklo = (uintptr_t)ctx.uc_stack.ss_sp; // Solaris processes report a tiny stack when run with "ulimit -s unlimited". // Correct that as best we can: assume it's at least 1 MB.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 14:57:16 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc
StringRef keyword; if (parser.parseKeyword(&keyword)) return Type(); if (keyword == "tf_tensor") return TFTensorType::get(getContext()); if (keyword == "tf_allocator") return TFAllocatorType::get(getContext()); parser.emitError(parser.getNameLoc(), "unknown type: ") << keyword; return Type(); } /// Print a type registered to this dialect.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.4K bytes - Viewed (0)