Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for env_pn (0.12 sec)

  1. src/syscall/exec_unix.go

    			uintptr(unsafe.Pointer(&argvp[0])),
    			uintptr(unsafe.Pointer(&envvp[0])))
    	} else if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		// Similarly on Darwin.
    		err1 = execveDarwin(argv0p, &argvp[0], &envvp[0])
    	} else if runtime.GOOS == "openbsd" && runtime.GOARCH != "mips64" {
    		// Similarly on OpenBSD.
    		err1 = execveOpenBSD(argv0p, &argvp[0], &envvp[0])
    	} else {
    		_, _, err1 = RawSyscall(SYS_EXECVE,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/syscall/env_windows.go

    			}
    		}
    	}
    }
    
    func Environ() []string {
    	envp, e := GetEnvironmentStrings()
    	if e != nil {
    		return nil
    	}
    	defer FreeEnvironmentStrings(envp)
    
    	r := make([]string, 0, 50) // Empty with room to grow.
    	const size = unsafe.Sizeof(*envp)
    	for *envp != 0 { // environment block ends with empty string
    		// find NUL terminator
    		end := unsafe.Pointer(envp)
    		for *(*uint16)(end) != 0 {
    			end = unsafe.Add(end, size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/generate.txt

    # Test go generate provides the right "$GOPACKAGE" name in an x_test
    go generate './generate/env_test.go'
    stdout 'main_test'
    
    # Test go generate provides the right "$PWD"
    go generate './generate/env_pwd.go'
    stdout $WORK'[/\\]gopath[/\\]src[/\\]generate'
    
    -- echo.go --
    package main
    
    import (
    	"fmt"
    	"os"
    	"strings"
    )
    
    func main() {
    	fmt.Println(strings.Join(os.Args[1:], " "))
    	fmt.Println()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 03:24:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

                    public Process exec(String command, String[] envp) { return null; }
                    public Process exec(String command, String[] envp, File file) { return null; }
                    public Process exec(String command, List<?> envp, File file) { return null; }
                    public Process exec(String[] command) { return null; }
                    public Process exec(String[] command, String[] envp) { return null; }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/experimental/ops/gen/common/controller.cc

          const string file_name = absl::Substitute("api_def_$0.pbtxt", op.name());
          const string file_path = io::JoinPath(dir, file_name);
          if (env_->FileExists(file_path).ok()) {
            TF_CHECK_OK(api_def_map_->LoadFile(env_, file_path)) << file_path;
          } else {
            // API defs are currently used for only optional pieces.
          }
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. pkg/test/framework/suitecontext.go

    	contextMu    sync.Mutex
    	contextNames sets.String
    
    	suiteLabels label.Set
    
    	dumpCount *atomic.Uint64
    
    	traceContext context.Context
    	traces       sync.Map
    }
    
    func newSuiteContext(s *resource.Settings, envFn resource.EnvironmentFactory, labels label.Set) (*suiteContext, error) {
    	scopeID := fmt.Sprintf("[suite(%s)]", s.TestID)
    
    	workDir := path.Join(s.RunDir(), "_suite_context")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/common/controller.h

      const std::vector<OpSpec>& GetModelOps() const;
    
     private:
      void InitializeOpApi();
      void BuildModel();
    
      // Data model: Ops to generate
      std::vector<OpSpec> operators_;
    
      // Configuration
      Env* env_;
      PathConfig path_config_;
    
      // Initialized TensorFlow Op/API definitions
      OpList op_list_;
      ApiDefMap* api_def_map_;
    };
    
    }  // namespace generator
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 18:51:25 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top