Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getPrivate (0.15 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            }
    
            protected String prop() {
                return prop
            }
    
            static String ignoredStatic
            private String ignoredPrivate
    
            private Number getPrivate() {
                return 12
            }
    
            static Long getLong() {
                return 12L
            }
        }
    
        interface SomeInterface {
            Number getProp()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

        }
    
        static abstract class MultipleProblemsSuper {
            private String field1
            MultipleProblemsSuper(String s) {}
            private String getPrivate() { field1 }
        }
    
        @Managed
        static class MultipleProblems<T extends List<?>> extends MultipleProblemsSuper {
            private String field2
            MultipleProblems(String s) { super(s) }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            assertThat(bean.getPackageProtected(), equalTo("package-protected"));
            assertThat(bean.getProtected(), equalTo("protected"));
            assertThat(bean.getPrivate(), equalTo("private"));
    
            IConventionAware conventionAware = (IConventionAware) bean;
            conventionAware.getConventionMapping().map("packageProtected", new Callable<String>() {
                public String call() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc

            made_changes = true;
            for (Operation *user : users.drop_front()) {
              func::FuncOp new_func = func.clone();
              symbol_table.insert(new_func);
              new_func.setPrivate();
              if (failed(SymbolTable::replaceAllSymbolUses(
                      func, new_func.getSymNameAttr(), user))) {
                return func.emitError() << "could not replace symbol use";
              }
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

      auto call = builder.create<func::CallOp>(loc, func, new_operands);
      builder.create<YieldOp>(loc, call.getResults());
      // Mark old function as private so that it can be DCE'd if not called.
      func.setPrivate();
    }
    
    void RunOnWhile(TF::WhileOp while_op) {
      Operation* op = while_op.getOperation();
      // Create new TFL While op that will be used to replace TF While op.
      auto new_op = OpBuilder(op).create<TFL::WhileOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

      auto save_func = builder.create<func::FuncOp>(
          NameLoc::get(builder.getStringAttr(kTfQuantSaveFuncName)),
          /*sym_name=*/kTfQuantSaveFuncName, func_type);
      save_func.addEntryBlock();
      save_func.setPrivate();
    
      return save_func;
    }
    
    // Creates a save function that contains the `TF::SaveV2Op` for the variables in
    // `var_handle_ops`. The `var_handle_ops` are cloned into the new function and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

                       ModuleOp to) {
      SymbolTable &to_symbol_table = symbol_tables.getSymbolTable(to);
      for (auto func : llvm::make_early_inc_range(from.getOps<func::FuncOp>())) {
        func->remove();
        func.setPrivate();
        to_symbol_table.insert(func);
      }
    }
    
    void CopyStablehloModuleAttrs(ModuleOp stablehlo_module, XlaCallModuleOp op) {
      op->setAttr(kStablehloModuleAttrsAttrName,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

            globalTensor.getLoc(), name, globalTensor.getType(),
            globalTensor.getIsMutable(), initial_value,
            /*visibility=*/globalBuilder.getStringAttr("private"));
        variableOp.setPrivate();
      }
    
      SymbolTable syms(module);
      for (auto func : module.getOps<func::FuncOp>()) {
        if (!tf_saved_model::IsExported(func)) {
          continue;
        }
        bool success = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

          func::FuncOp::create(op.getLoc(), func_name, func_type);
    
      // This function is not externally visible and marking it private would allow
      // symbol-dce pass to remove it when it is not referenced anymore.
      outlined_func.setPrivate();
    
      // Create function body.
      Block* outlined_func_block = outlined_func.addEntryBlock();
    
      // Replace uses of live-in values within cluster_op region with function
      // arguments.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

        if (symbol_table.lookup(func.getSymName()) != nullptr) continue;
    
        // Set the function to private and insert to the module.
        func::FuncOp new_func = func.clone();
        new_func.setPrivate();
        symbol_table.insert(new_func);
    
        // For consistency, we require all quantized composite function to have
        // the "tf_quant.quantized_ops" attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top