Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 411 for dir1 (0.05 sec)

  1. cni/test/install_cni.go

    	}
    	return fallback
    }
    
    func mktemp(dir, prefix string, t *testing.T) string {
    	t.Helper()
    	tempDir, err := os.MkdirTemp(dir, prefix)
    	if err != nil {
    		t.Fatalf("Couldn't get current working directory, err: %v", err)
    	}
    	t.Logf("Created temporary dir: %v", tempDir)
    	return tempDir
    }
    
    func ls(dir string, t *testing.T) []string {
    	files, err := os.ReadDir(dir)
    	t.Helper()
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
      _tf_dir = _os.path.dirname(_current_file_location)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. cmd/os-readdir_test.go

    	for i, testCase := range testCases {
    		dir := t.TempDir()
    
    		for c := 1; c <= testCase.numFiles; c++ {
    			err := os.WriteFile(filepath.Join(dir, fmt.Sprintf("%d", c)), []byte{}, os.ModePerm)
    			if err != nil {
    				os.RemoveAll(dir)
    				t.Fatalf("Unable to create a file, %s", err)
    			}
    		}
    		entries, err := readDirN(dir, testCase.n)
    		if err != nil {
    			os.RemoveAll(dir)
    			t.Fatalf("Unable to read entries, %s", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. .gitignore

    # Textmate
    # --------
    .textmate
    
    # Sublime Text
    # ------------
    *.sublime-*
    
    # jEnv
    # ----
    .java-version
    
    # macOS
    # ----
    .DS_Store
    
    # HPROF
    # -----
    *.hprof
    
    # Work dirs
    # ---------
    /incoming-distributions
    /intTestHomeDir
    
    # Logs
    # ----
    /*.log
    
    # Thread dumps for troubleshooting
    *.threaddump
    # ps output for cleaning up leaking Java processes
    *.psoutput
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 09:50:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. ci/official/utilities/setup_docker.sh

      env_file=$(mktemp)
      env | grep ^TFCI_ > "$env_file"
    
      WORKING_DIR="$TFCI_GIT_DIR"
      if [[ `uname -s | grep -P '^MSYS_NT'` ]]; then
        env_file=$(cygpath -m $env_file)
        # Host dirs can only be mapped to an existing drive inside the container, so
        # T:\ is replaced with C:\.
        _TFCI_OUTPUT_DIR_WIN=$(replace_drive_letter_with_c "$TFCI_OUTPUT_DIR")
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Aug 09 16:05:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/is-dir-empty_linux.go

    Harshavardhana <******@****.***> 1712330228 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. cmd/is-dir-empty_other.go

    Harshavardhana <******@****.***> 1712330228 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. tensorflow/api_template_v1.__init__.py

    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
      _tf_dir = _os.path.dirname(_current_file_location)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    		t.Fatal("Unable to initialize 'Erasure' object layer.", err)
    	}
    	// Remove all dirs.
    	for _, dir := range fsDirs {
    		defer os.RemoveAll(dir)
    	}
    
    	type testCaseType struct {
    		bucket string
    		object string
    	}
    
    	bucketName := "bucket"
    	testCases := []testCaseType{
    		{bucketName, "dir/obj1"},
    		{bucketName, "dir/obj1"},
    	}
    
    	err = obj.MakeBucket(ctx, bucketName, MakeBucketOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/BytesTest.java

        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top