Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 654 for envs (0.05 sec)

  1. tensorflow/c/experimental/ops/gen/common/controller.cc

    #include "tensorflow/core/framework/op_gen_lib.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/path.h"
    #include "tsl/platform/status.h"
    
    namespace tensorflow {
    namespace generator {
    
    Controller::Controller(PathConfig path_config, Env* env)
        : env_(env), path_config_(path_config) {
      // Load the Op and API definitions
      InitializeOpApi();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/ReflectiveEnvironment.java

                Map<String, String> env2 = getWindowsEnv();
                env2.remove(name);
            }
        }
    
        public void setenv(String name, String value) {
            Map<String, String> map = getEnv();
            map.put(name, value);
            if (OperatingSystem.current().isWindows()) {
                Map<String, String> env2 = getWindowsEnv();
                env2.put(name, value);
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/syscall/exec_plan9.go

    	// Write new environment variables.
    	if envv != nil {
    		for i = 0; i < len(envv); i++ {
    			r1, _, _ = RawSyscall(SYS_CREATE, uintptr(unsafe.Pointer(envv[i].name)), uintptr(O_WRONLY), uintptr(0666))
    
    			if int32(r1) == -1 {
    				goto childerror
    			}
    
    			envfd = int(r1)
    
    			r1, _, _ = RawSyscall6(SYS_PWRITE, uintptr(envfd), uintptr(unsafe.Pointer(envv[i].value)), uintptr(envv[i].nvalue),
    				^uintptr(0), ^uintptr(0), 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks_test.cc

      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
      Env* env_;
      std::string test_dir_;
      std::string test_group_name_;
    };
    
    TEST_F(LoggingHooksTest, DumpsPassData) {
      std::vector<std::string> files;
      TF_ASSERT_OK(env_->GetChildren(test_dir_, &files));
      EXPECT_THAT(files, ::testing::IsEmpty());
    
      TF_ASSERT_OK(CreateMlirModule("dead_const.mlir"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

        // Delete files in the test directory.
        std::vector<std::string> files;
        TF_ASSERT_OK(
            env_->GetMatchingPaths(tsl::io::JoinPath(test_dir_, "*"), &files));
        for (const std::string& file : files) {
          TF_ASSERT_OK(env_->DeleteFile(file));
        }
      }
    
      tsl::Env* env_;
      std::string test_dir_;
      std::unique_ptr<mlir::MLIRContext> ctx_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/internal/goexperiment/mkconsts.go

    import (
    	"bytes"
    	"fmt"
    	"internal/goexperiment"
    	"log"
    	"os"
    	"reflect"
    	"strings"
    )
    
    func main() {
    	// Delete existing experiment constant files.
    	ents, err := os.ReadDir(".")
    	if err != nil {
    		log.Fatal(err)
    	}
    	for _, ent := range ents {
    		name := ent.Name()
    		if !strings.HasPrefix(name, "exp_") {
    			continue
    		}
    		// Check that this is definitely a generated file.
    		data, err := os.ReadFile(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/flags.cc

      const std::vector<Flag> tmp = {
          {"graph", &flags->graph,
           "Input GraphDef file.  If the file ends in '.pbtxt' it is expected to "
           "be in the human-readable proto text format, otherwise it is expected "
           "to be in the proto binary format."},
          {"debug_info", &flags->debug_info,
           "Graph debug info file.  If the file ends in '.pbtxt' it is expected to "
           "be in the human-readable proto text format, otherwise it is expected "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 05 16:55:24 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    		}
    	}
    	return false, nil
    }
    
    var valRe = regexp.MustCompile(`^\[\]byte\(([^)]+)\)$`)
    
    func main() {
    	dir, expected := os.Args[1], os.Args[2]
    	ents, err := os.ReadDir(dir)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	for _, ent := range ents {
    		name := filepath.Join(dir, ent.Name())
    		if good, err := checkFile(name, expected); err != nil {
    			fmt.Fprintln(os.Stderr, err)
    			os.Exit(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/net/hosts_test.go

    package net
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    )
    
    type staticHostEntry struct {
    	in  string
    	out []string
    }
    
    var lookupStaticHostTests = []struct {
    	name string
    	ents []staticHostEntry
    }{
    	{
    		"testdata/hosts",
    		[]staticHostEntry{
    			{"odin", []string{"127.0.0.2", "127.0.0.3", "::2"}},
    			{"thor", []string{"127.1.1.1"}},
    			{"ullr", []string{"127.1.1.2"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

     public:
      LowerClusterToRuntimeOpsTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
    
        env_ = Env::Default();
        test_group_name_ = "TestGroup";
        test_dir_ = testing::TmpDir();
        setenv("TF_DUMP_GRAPH_PREFIX", test_dir_.c_str(), /*overwrite=*/1);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top