Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 391 for stdat (0.14 sec)

  1. src/cmd/go/testdata/script/test_cache_inputs.txt

    ! stdout '\(cached\)'
    go test testcache -run=TestOSArgs -fullpath
    stdout '\(cached\)'
    
    
    # Executables within GOROOT and GOPATH should affect caching,
    # even if the test does not stat them explicitly.
    
    [!exec:/bin/sh] skip
    chmod 0755 ./testcache/script.sh
    
    exec ./mkold$GOEXEC 1m testcache/script.sh
    go test testcache -run=Exec
    go test testcache -run=Exec
    stdout '\(cached\)'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pkg/file/file.go

    		return err
    	}
    	defer in.Close()
    
    	perm, err := in.Stat()
    	if err != nil {
    		return err
    	}
    
    	return AtomicWriteReader(filepath.Join(targetDir, targetFilename), in, perm.Mode())
    }
    
    func Copy(srcFilepath, targetDir, targetFilename string) error {
    	in, err := os.Open(srcFilepath)
    	if err != nil {
    		return err
    	}
    	defer in.Close()
    
    	perm, err := in.Stat()
    	if err != nil {
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 21:42:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    		return nil, time.Time{}, &os.PathError{
    			Op:   "open",
    			Path: itemPath,
    			Err:  syscall.EISDIR,
    		}
    	}
    	buf, err := readXLMetaNoData(f, stat.Size())
    	if err != nil {
    		return nil, stat.ModTime().UTC(), fmt.Errorf("%w -> %s", err, itemPath)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/istio-mesh-dashboard.json

              "intervalFactor": 1,
              "refId": "A",
              "step": 4
            }
          ],
          "title": "Global Request Volume",
          "type": "stat"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${datasource}"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 02:28:01 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/UnsupportedFilePermissions.java

        private final AtomicBoolean warned = new AtomicBoolean();
        private final FallbackStat stat = new FallbackStat();
        private final EmptyChmod chmod = new EmptyChmod();
    
        @Override
        public int getUnixMode(File f) throws IOException {
            maybeWarn();
            return stat.getUnixMode(f);
        }
    
        @Override
        public void chmod(File file, int mode) throws Exception {
            maybeWarn();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/git.go

    	refs, err := r.loadRefs(ctx)
    	if err != nil {
    		return nil, err
    	}
    	if refs["HEAD"] == "" {
    		return nil, ErrNoCommits
    	}
    	statInfo, err := r.Stat(ctx, refs["HEAD"])
    	if err != nil {
    		return nil, err
    	}
    
    	// Stat may return cached info, so make a copy to modify here.
    	info := new(RevInfo)
    	*info = *statInfo
    	info.Origin = new(Origin)
    	if statInfo.Origin != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. docs/bucket/replication/test_del_marker_proxying.sh

    	if [ $loop_count -eq 100 ]; then
    		break
    	fi
    	echo "Hello World" | ./mc pipe sitea/bucket/obj$loop_count
    	./mc rm sitea/bucket/obj$loop_count
    	RESULT=$({ ./mc stat sitea/bucket/obj$loop_count; } 2>&1)
    	if [[ ${RESULT} != *"Object does not exist"* ]]; then
    		echo "BUG: stat should fail. succeeded."
    		exit_1
    	fi
    	loop_count=$((loop_count + 1))
    done
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 11:38:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/os/33357.md

    The [Stat] function now sets the [ModeSocket] bit for
    files that are Unix sockets on Windows. These files are identified
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 178 bytes
    - Viewed (0)
  9. cmd/os-instrumented.go

    func Remove(deletePath string) (err error) {
    	defer updateOSMetrics(osMetricRemove, deletePath)(err)
    	return os.Remove(deletePath)
    }
    
    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/LoggingFileSystemWatchingIntegrationTest.groovy

            result.output =~ /VFS> Statistics since last build:/
            result.output =~ /VFS> > Stat: Executed stat\(\) x 0. getUnixMode\(\) x 0/
            result.output =~ /VFS> > FileHasher: Hashed 0 files \(0 bytes\)/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top