Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 191 for Stat (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          });
    
      uint64_t stat_cache_max_age = kStatCacheDefaultMaxAge;
      size_t stat_cache_max_entries = kStatCacheDefaultMaxEntries;
      const char* stat_cache_max_age_env = std::getenv(kStatCacheMaxAge);
      if (stat_cache_max_age_env &&
          absl::SimpleAtoi(stat_cache_max_age_env, &value)) {
        stat_cache_max_age = value;
      }
      const char* stat_cache_max_entries_env = std::getenv(kStatCacheMaxEntries);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::Stat(const std::string& fname,
                                   TransactionToken* token, FileStatistics* stat) {
      if (ops_->stat == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", fname, " does not support Stat()"));
    
      if (stat == nullptr)
        return errors::InvalidArgument("FileStatistics pointer must not be NULL");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-process.go

    )
    
    func loadProcStatMetrics(ctx context.Context, stat procfs.ProcStat, m MetricValues) {
    	if stat.CPUTime() > 0 {
    		m.Set(processCPUTotalSeconds, float64(stat.CPUTime()))
    	}
    
    	if stat.ResidentMemory() > 0 {
    		m.Set(processResidentMemoryBytes, float64(stat.ResidentMemory()))
    	}
    
    	if stat.VirtualMemory() > 0 {
    		m.Set(processVirtualMemoryBytes, float64(stat.VirtualMemory()))
    	}
    
    	startTime, err := stat.StartTime()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Atim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Blksize int32
    pkg syscall (freebsd-386), type Stat_t struct, Btim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Ctim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Dev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Gen uint64
    pkg syscall (freebsd-386), type Stat_t struct, Ino uint64
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/addr2line/addr2line_test.go

    		t.Fatalf("expected function name %v; got %v", symName, funcName)
    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. docs/site-replication/run-ssec-object-replication.sh

    src_obj2_md5=$(echo "${stat_out2}" | jq '.metadata."X-Amz-Server-Side-Encryption-Customer-Key-Md5"')
    echo "Stat minio1/test-bucket/custpartsize"
    ./mc stat minio1/test-bucket/custpartsize --enc-c "minio1/test-bucket/custpartsize=${TEST_MINIO_ENC_KEY}" --insecure --json
    stat_out3=$(./mc stat minio1/test-bucket/custpartsize --enc-c "minio1/test-bucket/custpartsize=${TEST_MINIO_ENC_KEY}" --insecure --json)
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. .github/workflows/stale-issues.yml

              close-issue-reason: completed
              # List of labels to remove when issues/PRs unstale. 
              labels-to-remove-when-unstale: "stat:contribution welcome,stat:good first issue"
              any-of-labels: "stat:contribution welcome,stat:good first issue"
              stale-issue-message: > 
                This issue is stale because it has been open for 180 days with no activity.
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Nov 23 20:04:38 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. cmd/xl-storage_unix_test.go

    	if err = disk.MakeVol(context.Background(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Stat to get permissions bits.
    	st, err := os.Stat(path.Join(tmpPath, testCase.volName))
    	if err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    
    	// Get umask of the bits stored.
    	currentUmask := 0o777 - uint32(st.Mode().Perm())
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      struct stat st;
      if (stat(dst, &st) != 0) {
        if (errno != ENOENT) {
          TF_SetStatusFromIOError(status, errno, dst);
          return;
        }
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory");
        return;
      }
    
      // We cannot rename directories yet, so prevent this.
      if (stat(src, &st) != 0) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/is-dir-empty_linux.go

    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top