Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for set_read_only (0.13 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

            TestFile testDir = createDir('root') {
                def testDir = testdir {
                    def testFile = file('reference.txt')
                    assertTrue testFile.setReadOnly()
                }
                testDir.setReadOnly()
            }
            testDir.setReadOnly()
            def archName = "test.${taskName.toLowerCase()}"
            testDir."$packMethod"(file(archName))
            and:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top