- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for set_read_only (0.22 sec)
-
tensorflow/compiler/jit/variable_info.h
// by this thread. bool shared_lock_held() const { return shared_lock_held_; } void set_shared_lock_held() { shared_lock_held_ = true; } bool read_only() const { return read_only_; } void set_read_only() { read_only_ = true; } const std::optional<ManagedStackTrace>& definition_stack_trace() const { return definition_stack_trace_; } ~VariableInfo(); private: int index_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 14 21:57:02 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info_util.cc
var_idx, handle.name(), variable, handle.definition_stack_trace()); if (variables_updated != nullptr && variables_updated->find(var_idx) == variables_updated->end()) { variable_info.set_read_only(); } } return absl::OkStatus(); } Status LockVariables(absl::Span<VariableInfo*> variables) { std::vector<int> lock_order(variables.size()); std::iota(lock_order.begin(), lock_order.end(), 0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 11 06:18:03 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:06 UTC 2023 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test.cc
tf2xla::Variable* variable = config.add_variable(); variable->set_node_name("myvar_readonly"); variable->mutable_shape()->add_dim()->set_size(1); variable->set_type(DT_FLOAT); variable->set_readonly(true); tf2xla::Variable* variable2 = config.add_variable(); variable2->set_node_name("myvar"); variable2->mutable_shape()->add_dim()->set_size(1); variable2->set_type(DT_FLOAT);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 01 02:13:40 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt
configureProjectAndExpectCompileAvoidanceWarnings().assertBuildScriptCompiled().assertOutputContains("foo") resourceFile.setLastModified(1) resourceFile.setReadOnly() configureProjectAndExpectCompileAvoidanceWarnings().assertBuildScriptCompilationAvoided().assertOutputContains("foo") } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:42 UTC 2023 - 19.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy
def "file permissions are not preserved on OS without permission support"() { given: def testSourceFile = file("reference.txt") << 'test file"' assertTrue testSourceFile.setReadOnly() and: buildFile << """ task copy(type: Copy) { from "reference.txt" into ("build/tmp") } """ when: withDebugLogging()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 20K bytes - Viewed (0) -
src/cmd/link/internal/loader/symbolbuilder.go
func (sb *SymbolBuilder) SetReachable(v bool) { sb.l.SetAttrReachable(sb.symIdx, v) } func (sb *SymbolBuilder) ReadOnly() bool { return sb.l.AttrReadOnly(sb.symIdx) } func (sb *SymbolBuilder) SetReadOnly(v bool) { sb.l.SetAttrReadOnly(sb.symIdx, v) } func (sb *SymbolBuilder) DuplicateOK() bool { return sb.l.AttrDuplicateOK(sb.symIdx) } func (sb *SymbolBuilder) SetDuplicateOK(v bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 15:25:19 UTC 2023 - 13.9K bytes - Viewed (0) -
src/cmd/link/internal/loadmacho/ldmacho.go
if bld.Type() != 0 { return errorf("duplicate %s/%s", sect.segname, sect.name) } if sect.flags&0xff == 1 { // S_ZEROFILL bld.SetData(make([]byte, sect.size)) } else { bld.SetReadOnly(readOnly) bld.SetData(dat[sect.addr-c.seg.vmaddr:][:sect.size]) } bld.SetSize(int64(len(bld.Data()))) if sect.segname == "__TEXT" { if sect.name == "__text" { bld.SetType(sym.STEXT)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
ms.vaddr = Segrelrodata.Vaddr ms.vsize = Segrelrodata.Length ms.fileoffset = Segrelrodata.Fileoff ms.filesize = Segrelrodata.Filelen ms.prot1 = 3 ms.prot2 = 3 ms.flag = 0x10 // SG_READ_ONLY } for _, sect := range Segrelrodata.Sections { machoshbits(ctxt, ms, sect, "__DATA_CONST") } /* data */ if ctxt.LinkMode != LinkExternal { ms = newMachoSeg("__DATA", 20)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0)