Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for setAddr (0.17 sec)

  1. src/cmd/link/internal/loadxcoff/ldxcoff.go

    			case xcoff.R_RBR:
    				rSize = 4
    				rType = objabi.R_CALLPOWER
    				rAdd = 0
    			}
    			r, _ := sb.AddRel(rType)
    			r.SetOff(rOff)
    			r.SetSiz(rSize)
    			r.SetSym(rSym)
    			r.SetAdd(rAdd)
    		}
    	}
    	return textp, nil
    }
    
    // Convert symbol xcoff type to sym.SymKind
    // Returns nil if this shouldn't be added into loader (like .file or .dw symbols )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            if (readOnly) {
                ArchiveFileSet archiveFileSet = archiveTask instanceof Zip ? new ZipFileSet() : archiveTask.createTarFileSet()
                archiveFileSet.setDir(file)
                archiveFileSet.setFileMode("0444")
                archiveFileSet.setDirMode("0555")
                archiveTask.add(archiveFileSet)
            } else {
                archiveTask.setBasedir(file)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. pkg/volume/git_repo/git_repo.go

    }
    
    func (b *gitRepoVolumeMounter) execCommand(command string, args []string, dir string) ([]byte, error) {
    	cmd := b.exec.Command(command, args...)
    	cmd.SetDir(dir)
    	return cmd.CombinedOutput()
    }
    
    func validateVolume(src *v1.GitRepoVolumeSource) error {
    	if err := validateNonFlagArgument(src.Repository, "repository"); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. pkg/util/iptables/monitor_test.go

    }
    
    func (mfc *monitorFakeCmd) Run() error {
    	panic("should not be reached")
    }
    
    func (mfc *monitorFakeCmd) Output() ([]byte, error) {
    	panic("should not be reached")
    }
    
    func (mfc *monitorFakeCmd) SetDir(dir string) {
    	panic("should not be reached")
    }
    
    func (mfc *monitorFakeCmd) SetStdout(out io.Writer) {
    	panic("should not be reached")
    }
    
    func (mfc *monitorFakeCmd) SetStderr(out io.Writer) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/prober.go

    func (eic *execInContainer) CombinedOutput() ([]byte, error) {
    	return eic.run()
    }
    
    func (eic *execInContainer) Output() ([]byte, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    func (eic *execInContainer) SetDir(dir string) {
    	// unimplemented
    }
    
    func (eic *execInContainer) SetStdin(in io.Reader) {
    	// unimplemented
    }
    
    func (eic *execInContainer) SetStdout(out io.Writer) {
    	eic.writer = out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/objfile.go

    func (r *Reloc) SetAdd(x int64)   { binary.LittleEndian.PutUint64(r[7:], uint64(x)) }
    func (r *Reloc) SetSym(x SymRef) {
    	binary.LittleEndian.PutUint32(r[15:], x.PkgIdx)
    	binary.LittleEndian.PutUint32(r[19:], x.SymIdx)
    }
    
    func (r *Reloc) Set(off int32, size uint8, typ uint16, add int64, sym SymRef) {
    	r.SetOff(off)
    	r.SetSiz(size)
    	r.SetType(typ)
    	r.SetAdd(add)
    	r.SetSym(sym)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ppc64/asm.go

    	// them to a go version of these functions in runtime/asm_ppc64x.s
    	ts := ldr.LookupOrCreateSym("runtime.elf_"+s[1], 0)
    	r.SetSym(ts)
    	r.SetAdd(int64((n - minReg) * offMul))
    	firstUse = !ldr.AttrReachable(ts)
    	if firstUse {
    		// This function only becomes reachable now. It has been dropped from
    		// the text section (it was unreachable until now), it needs included.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loader/loader_test.go

    func mkReloc(l *Loader, typ objabi.RelocType, off int32, siz uint8, add int64, sym Sym) Reloc {
    	r := Reloc{&goobj.Reloc{}, l.extReader, l}
    	r.SetType(typ)
    	r.SetOff(off)
    	r.SetSiz(siz)
    	r.SetAdd(add)
    	r.SetSym(sym)
    	return r
    }
    
    func TestAddDataMethods(t *testing.T) {
    	ldr := mkLoader()
    	dummyOreader := oReader{version: -1, syms: make([]Sym, 100)}
    	or := &dummyOreader
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/cmd/dist/util.go

    	if vflag > 1 {
    		errprintf("run: %s\n", strings.Join(cmd, " "))
    	}
    
    	xcmd := exec.Command(cmd[0], cmd[1:]...)
    	if env != nil {
    		xcmd.Env = append(os.Environ(), env...)
    	}
    	setDir(xcmd, dir)
    	var data []byte
    	var err error
    
    	// If we want to show command output and this is not
    	// a background command, assume it's the only thing
    	// running, so we can just let it write directly stdout/stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                    @Inject
                    abstract ObjectFactory getObjectFactory()
    
                    @OutputFiles
                    FileCollection getOutputFileTree() {
                        objectFactory.fileTree().setDir(outputDir).include('**/myOutput.txt')
                    }
    
                    @TaskAction
                    void generateOutputs() {
                        outputDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top