Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for absPath (0.15 sec)

  1. build/root/Makefile

    #
    # Example:
    #   make kubectl kube-proxy
    endef
    #TODO: make EXCLUDE_TARGET auto-generated when there are other files in cmd/
    EXCLUDE_TARGET=OWNERS
    CMD_TARGET = $(filter-out %$(EXCLUDE_TARGET),$(notdir $(abspath $(wildcard cmd/*/))))
    .PHONY: $(CMD_TARGET)
    ifeq ($(PRINT_HELP),y)
    $(CMD_TARGET):
    	echo "$$CMD_HELP_INFO"
    else
    $(CMD_TARGET):
    	hack/make-rules/build.sh cmd/$@
    endif
    
    define HELP_INFO
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/options/options_test.go

    				t.Error("unexpected nil client")
    				return
    			}
    
    			// test the client talks to the endpoint we expect with the credentials we expect
    			username = ""
    			_, err = config.Client.Discovery().RESTClient().Get().AbsPath("/").DoRaw(context.TODO())
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			if username != tc.expectedUsername {
    				t.Errorf("expected server call with user %q, got %q", tc.expectedUsername, username)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	if err != nil {
    		if errors.IsNotFound(err) && len(i.Namespace) > 0 && i.Namespace != metav1.NamespaceDefault && i.Namespace != metav1.NamespaceAll {
    			err2 := i.Client.Get().AbsPath("api", "v1", "namespaces", i.Namespace).Do(context.TODO()).Error()
    			if err2 != nil && errors.IsNotFound(err2) {
    				return err2
    			}
    		}
    		return err
    	}
    	i.Object = obj
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/net/http/fs_test.go

    					errors.Is(err, fs.ErrNotExist))
    			}
    		})
    	}
    
    	absPath, err := filepath.Abs("testdata")
    	if err != nil {
    		t.Fatal("get abs path:", err)
    	}
    
    	test("RelativePath", newfs("testdata"))
    	test("AbsolutePath", newfs(absPath))
    }
    
    func TestFileServerCleanPath(t *testing.T) {
    	tests := []struct {
    		path     string
    		wantCode int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    }
    
    func realpath(srcpath string, abspath []byte) (pathlen int, errno int) {
    	var source [1024]byte
    	copy(source[:], srcpath)
    	source[len(srcpath)] = 0
    	ret := runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___REALPATH_A<<4, //__realpath_a()
    		[]uintptr{uintptr(unsafe.Pointer(&source[0])),
    			uintptr(unsafe.Pointer(&abspath[0]))})
    	if ret != 0 {
    		index := bytes.IndexByte(abspath[:], byte(0))
    		if index != -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/get.go

    	for _, q := range r.localQueries {
    		q.pathOnce(q.pattern, func() pathSet {
    			absDetail := ""
    			if !filepath.IsAbs(q.pattern) {
    				if absPath, err := filepath.Abs(q.pattern); err == nil {
    					absDetail = fmt.Sprintf(" (%s)", absPath)
    				}
    			}
    
    			// Absolute paths like C:\foo and relative paths like ../foo... are
    			// restricted to matching packages in the main module.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    // file to include the associated module path.
    func UpdateWorkFile(wf *modfile.WorkFile) {
    	missingModulePaths := map[string]string{} // module directory listed in file -> abspath modroot
    
    	for _, d := range wf.Use {
    		if d.Path == "" {
    			continue // d is marked for deletion.
    		}
    		modRoot := d.Path
    		if d.ModulePath == "" {
    			missingModulePaths[d.Path] = modRoot
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/revived_types/asset.cc

                         std::unique_ptr<Asset>* output) {
      std::string abs_path =
          io::JoinPath(saved_model_dir, kSavedModelAssetsDirectory, asset_filename);
      AbstractTensorPtr tensor(ctx->CreateStringScalar(abs_path));
      if (tensor.get() == nullptr) {
        return absl::InternalError(absl::StrCat(
            "Failed to create scalar string tensor for Asset at path ", abs_path));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                    def testFile = file("${'$'}buildDir/${'$'}name")
                    executable = Jvm.current().getJavaExecutable()
                    args '-cp', sourceSets.main.runtimeClasspath.asPath, 'org.gradle.TestMain', projectDir, testFile
                    doLast {
                        assert testFile.exists()
                    }
                    assert delegate instanceof ExtensionAware
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. internal/mountinfo/mountinfo_linux.go

    func CheckCrossDevice(absPaths []string) error {
    	return checkCrossDevice(absPaths, procMountsPath)
    }
    
    // Check cross device is an internal function.
    func checkCrossDevice(absPaths []string, mountsPath string) error {
    	mounts, err := readProcMounts(mountsPath)
    	if err != nil {
    		return err
    	}
    	for _, path := range absPaths {
    		if err := mounts.checkCrossMounts(path); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top