Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for not_needed (0.17 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    				latest = name
    			}
    		}
    	}
    	if latest == "" {
    		return ""
    	}
    	// strip off the .json
    	return latest[:len(latest)-len(".json")]
    }
    
    // notNeeded returns true if the report for date has already been created
    func notNeeded(date string, todo work) bool {
    	if todo.uploaded != nil && todo.uploaded[date+".json"] {
    		return true
    	}
    	// maybe the report is already in todo.readyfiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/go.go

    // and retained over unversioned libraries. This avoids the situation where
    // the use of cgo results in a DT_NEEDED for a versioned library (for example,
    // libc.so.96.1), while a dynamic import specifies an unversioned library (for
    // example, libc.so) - this would otherwise result in two DT_NEEDED entries
    // for the same library, resulting in a failure when ld.so attempts to load
    // the Go binary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/debug/elf/file.go

    	return f.DynString(DT_NEEDED)
    }
    
    // DynString returns the strings listed for the given tag in the file's dynamic
    // section.
    //
    // The tag must be one that takes string values: [DT_NEEDED], [DT_SONAME], [DT_RPATH], or
    // [DT_RUNPATH].
    func (f *File) DynString(tag DynTag) ([]string, error) {
    	switch tag {
    	case DT_NEEDED, DT_SONAME, DT_RPATH, DT_RUNPATH:
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testshared/shared_test.go

    	}
    	return dynstrings
    }
    
    func AssertIsLinkedToRegexp(t *testing.T, path string, re *regexp.Regexp) {
    	t.Helper()
    	for _, dynstring := range dynStrings(t, path, elf.DT_NEEDED) {
    		if re.MatchString(dynstring) {
    			return
    		}
    	}
    	t.Errorf("%s is not linked to anything matching %v", path, re)
    }
    
    func AssertIsLinkedTo(t *testing.T, path, lib string) {
    	t.Helper()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
Back to top