Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 795 for stwat (0.1 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy

            void allowHashing(boolean allowed) {
                this.hashingAllowed = allowed
            }
        }
    
        static class AllowingStat implements Stat {
    
            private final Stat delegate
            private boolean statAllowed
    
            AllowingStat(Stat delegate) {
                this.delegate = delegate
            }
    
            @Override
            int getUnixMode(File f) throws FileException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystem.java

            try {
                return stat.getUnixMode(f);
            } catch (Exception e) {
                throw new FileException(String.format("Could not get file mode for '%s'.", f), e);
            }
        }
    
        @Override
        public FileMetadata stat(File f) throws FileException {
            statisticsCollector.reportFileStated();
            return metadata.stat(f);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. internal/disk/stat_test.go

    	"testing"
    )
    
    func TestReadDriveStats(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("skipping this test in windows")
    	}
    	testCases := []struct {
    		stat            string
    		expectedIOStats IOStats
    		expectErr       bool
    	}{
    		{
    			stat: "1432553   420084 66247626  2398227  7077314  8720147 157049224  7469810        0  7580552  9869354    46037        0 41695120     1315        0        0",
    			expectedIOStats: IOStats{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          metadata->time_storage_class_updated().time_since_epoch().count();
      stat->base.is_directory = object.back() == '/';
      TF_VLog(1,
              "Stat of: gs://%s/%s --  length: %u generation: %u; mtime_nsec: %u;",
              bucket.c_str(), object.c_str(), stat->base.length,
              stat->generation_number, stat->base.mtime_nsec);
      return TF_SetStatus(status, TF_OK, "");
    }
    
    // TODO(vnvo2409): Implement later
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  5. src/syscall/syscall_darwin_amd64.go

    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    //sys	Fstat(fd int, stat *Stat_t) (err error) = SYS_fstat64
    //sys	Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_fstatfs64
    //sysnb	Gettimeofday(tp *Timeval) (err error)
    //sys	Lstat(path string, stat *Stat_t) (err error) = SYS_lstat64
    //sys	Stat(path string, stat *Stat_t) (err error) = SYS_stat64
    //sys	Statfs(path string, stat *Statfs_t) (err error) = SYS_statfs64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin_arm64.go

    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	Fstatfs(fd int, stat *Statfs_t) (err error)
    //sysnb	Gettimeofday(tp *Timeval) (err error)
    //sys	Lstat(path string, stat *Stat_t) (err error)
    //sys	Stat(path string, stat *Stat_t) (err error)
    //sys	Statfs(path string, stat *Statfs_t) (err error)
    //sys	fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    	for i := range stats {
    		stat := &stats[i]
    		name := ""
    		if int(stat.typ) >= len(specs) {
    			name = fmt.Sprintf("<unknown (%d)>", stat.typ)
    		} else {
    			name = specs[stat.typ].Name
    		}
    		bytesPct := float64(stat.bytes) / float64(cr.bytesRead) * 100
    		countPct := float64(stat.count) / float64(eventsRead) * 100
    		fmt.Fprintf(w, "%s\t%d\t%.2f%%\t%d\t%.2f%%\n", name, stat.bytes, bytesPct, stat.count, countPct)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/fallocate_test.go

    	for _, sz := range []int64{1 << 20, 2 << 20, 3 << 20} {
    		err = out.Mmap(uint64(sz))
    		if err != nil {
    			t.Fatalf("Mmap failed: %v", err)
    		}
    		stat, err := os.Stat(filename)
    		if err != nil {
    			t.Fatalf("Stat failed: %v", err)
    		}
    		if got := stat.Size(); got != sz {
    			t.Errorf("unexpected file size: got %d, want %d", got, sz)
    		}
    		// The number of blocks must be enough for the requested size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. 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()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 16:07:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/net/internal/socktest/switch.go

    }
    
    type stats map[Cookie]*Stat
    
    func (st stats) getLocked(c Cookie) *Stat {
    	s, ok := st[c]
    	if !ok {
    		s = &Stat{Family: c.Family(), Type: c.Type(), Protocol: c.Protocol()}
    		st[c] = s
    	}
    	return s
    }
    
    // A FilterType represents a filter type.
    type FilterType int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top