Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for sh_link (0.14 sec)

  1. src/debug/elf/file.go

    		// SHN_XINDEX (0xffff) and the actual index of the section name
    		// string table section is contained in the sh_link field of the
    		// section header at index 0.
    		if shstrndx == int(SHN_XINDEX) {
    			shstrndx = int(link)
    			if shstrndx < int(SHN_LORESERVE) {
    				return nil, &FormatError{shoff, "invalid ELF shstrndx contained in sh_link", shstrndx}
    			}
    		}
    	}
    
    	if shnum > 0 && shentsize < wantShentsize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. pkg/volume/util/subpath/subpath_linux_test.go

    					return err
    				}
    				return os.Symlink("dir1", filepath.Join(base, "dir1/dir2/test"))
    			},
    			"test",
    			true,
    		},
    		{
    			"symlink-loop",
    			func(base string) error {
    				return os.Symlink("test", filepath.Join(base, "test"))
    			},
    			"test",
    			true,
    		},
    		{
    			"symlink-not-exists",
    			func(base string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

            def symlinked = baseDir.file('symlinked')
            symlinked.text = 'target of symlink'
            baseDir.file('symlink').createLink(symlinked)
    
            buildScript << """
                def baseDir = new File("${escapeString(baseDir)}")
                def file = new File(baseDir, "file")
                def symlink = new File(baseDir, "symlink")
                def symlinked = new File(baseDir, "symlinked")
                def fileCollection = $code
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. pkg/volume/util/subpath/subpath_windows_test.go

    			subPath:       filepath.Join(testingVolumePath, `symlink`),
    			expectError:   false,
    			symlinkTarget: base,
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `symlink\c\d`),
    			expectError:   true,
    			symlinkTarget: "",
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `symlink\y926`),
    			expectError:   true,
    			symlinkTarget: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  5. pkg/kubelet/config/file_linux_test.go

    	}
    )
    
    func TestWatchFileAdded(t *testing.T) {
    	for _, testCase := range testCases {
    		watchFileAdded(testCase.watchDir, testCase.symlink, t)
    	}
    }
    
    func TestWatchFileChanged(t *testing.T) {
    	for _, testCase := range testCases {
    		watchFileChanged(testCase.watchDir, testCase.symlink, testCase.period, t)
    	}
    }
    
    type testCase struct {
    	lock     *sync.Mutex
    	desc     string
    	pod      runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  6. src/os/os_windows_test.go

    	absLink := filepath.Join(temp, "link")
    	err = os.Symlink(wdRelDir, absLink)
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("Symlink(%#q, %#q)", wdRelDir, absLink)
    
    	// Now change back to the original working directory and verify that the
    	// symlink still refers to its original path and is correctly marked as a
    	// directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. src/os/file_windows.go

    		return &LinkError{"link", oldname, newname, err}
    	}
    	return nil
    }
    
    // Symlink creates newname as a symbolic link to oldname.
    // On Windows, a symlink to a non-existent oldname creates a file symlink;
    // if oldname is later created as a directory the symlink will not work.
    // If there is an error, it will be of type *LinkError.
    func Symlink(oldname, newname string) error {
    	// '/' does not work in link's content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. pkg/volume/util/subpath/subpath_windows.go

    		upperpath = getUpperPath(upperpath)
    		if isDriveLetterorEmptyPath(upperpath) {
    			klog.V(4).Infof("Path '%s' is not a symlink, return its original form.", path)
    			return path, nil
    		}
    	}
    	// This command will give the target path of a given symlink
    	// The -Force parameter will allow Get-Item to also evaluate hidden folders, like AppData.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. pkg/volume/util/atomic_writer.go

    // is symlinked to by the data directory. The timestamped directory and
    // data directory symlink are created in the writer's target dir.  This scheme
    // allows the files to be atomically updated by changing the target of the
    // data directory symlink.
    //
    // Consumers of the target directory can monitor the ..data symlink using
    // inotify or fanotify to receive events when the content in the volume is
    // updated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/path/filepath/path_test.go

    	// Create "link" in the current working directory as a symlink to an arbitrary
    	// absolute path. On macOS, this path is likely to begin with a symlink
    	// itself: generally either in /var (symlinked to "private/var") or /tmp
    	// (symlinked to "private/tmp").
    	if err := os.Symlink(tmpDir, "link"); err != nil {
    		t.Fatal(err)
    	}
    	t.Logf(`os.Symlink(%q, "link")`, tmpDir)
    
    	p, err := filepath.EvalSymlinks("link")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top