Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for someFile (0.14 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * delete the files.
         * <p>Example:
         * <pre>
         * project.delete {
         *     delete 'somefile'
         *     followSymlinks = true
         * }
         * </pre>
         *
         * @param action Action to configure the DeleteSpec
         * @return {@link WorkResult} that can be used to check if delete did any work.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  2. src/os/os_test.go

    				}
    				info, err := n.Info()
    				if err != nil {
    					t.Errorf("%s: Info: %v", m, err)
    					continue
    				}
    				if !SameFile(info, lstat) {
    					t.Errorf("%s: Info: SameFile(info, lstat) = false", m)
    				}
    			}
    			if !found {
    				t.Error("could not find", m)
    			}
    		}
    		if s == nil {
    			t.Error("ReadDir returned nil instead of empty slice")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      const std::vector<std::string> matching_filenames = {
          GetURIForPath("a_file"),
          GetURIForPath("another_file"),
      };
      const std::vector<std::string> other_filenames = {
          GetURIForPath("some_file"),
          GetURIForPath("yet_another_file"),
      };
    
      for (const auto& filename : matching_filenames) {
        std::unique_ptr<WritableFile> file;
        Status status = env_->NewWritableFile(filename, &file);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  4. pkg/controller/daemon/daemon_controller.go

    	pods, err := dsc.podLister.Pods(ds.Namespace).List(labels.Everything())
    	if err != nil {
    		return nil, err
    	}
    	// If any adoptions are attempted, we should first recheck for deletion with
    	// an uncached quorum read sometime after listing Pods (see #42639).
    	dsNotDeleted := controller.RecheckDeletionTimestamp(func(ctx context.Context) (metav1.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inputs/custom-template.yaml.40.template.gen.yaml

        spec:
          containers:
          {{- range $index, $container := .Spec.Containers }}
          - name: {{ $container.Name }}
            env:
            - name: SOME_ENV
              value: "true"
            - name: SOME_FILE
              value: /var/lib/data/foo.json
            volumeMounts:
            - mountPath: /var/lib/data/foo.json
              subPath: foo.json
              name: some-injected-file
          {{- end}}
          volumes:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 76.7K bytes
    - Viewed (0)
  6. src/net/http/fs_test.go

    		f, err := d.Open(name)
    		if err != nil {
    			t.Fatalf("open of %s: %v", name, err)
    		}
    		defer f.Close()
    		gfi, err := f.Stat()
    		if err != nil {
    			t.Fatalf("stat of %s: %v", name, err)
    		}
    		if !os.SameFile(gfi, wfi) {
    			t.Errorf("%s got different file", name)
    		}
    	}
    	test(Dir("/etc/"), "/hosts")
    	test(Dir("/etc/"), "hosts")
    	test(Dir("/etc/"), "../../../../hosts")
    	test(Dir("/etc"), "/hosts")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  7. src/net/http/client_test.go

    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    var robotsTxtHandler = HandlerFunc(func(w ResponseWriter, r *Request) {
    	w.Header().Set("Last-Modified", "sometime")
    	fmt.Fprintf(w, "User-agent: go\nDisallow: /something/")
    })
    
    // pedanticReadAll works like io.ReadAll but additionally
    // verifies that r obeys the documented io.Reader contract.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. src/runtime/mbitmap.go

    			}
    		}
    
    		// Select the heap mask to return. We may not have a type mask.
    		mask = maskFromHeap
    
    		// Make sure we keep ep alive. We may have stopped referencing
    		// ep's data pointer sometime before this point and it's possible
    		// for that memory to get freed.
    		KeepAlive(ep)
    		return
    	}
    
    	// stack
    	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller.go

    	pods, err := jm.podStore.Pods(j.Namespace).List(labels.Everything())
    	if err != nil {
    		return nil, err
    	}
    	// If any adoptions are attempted, we should first recheck for deletion
    	// with an uncached quorum read sometime after listing Pods (see #42639).
    	canAdoptFunc := controller.RecheckDeletionTimestamp(func(ctx context.Context) (metav1.Object, error) {
    		fresh, err := jm.kubeClient.BatchV1().Jobs(j.Namespace).Get(ctx, j.Name, metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    		s.RUnlock()
    		return diskID, nil
    	}
    	s.RUnlock()
    
    	fi, err := s.checkFormatJSON()
    	if err != nil {
    		return "", err
    	}
    
    	if xioutil.SameFile(fi, fileInfo) && diskID != "" {
    		s.Lock()
    		// If the file has not changed, just return the cached diskID information.
    		s.formatLastCheck = time.Now()
    		s.Unlock()
    		return diskID, nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top