Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for setAddr (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/dist/test.go

    // and os.Stderr.
    func (t *tester) dirCmd(dir string, cmdline ...interface{}) *exec.Cmd {
    	bin, args := flattenCmdline(cmdline)
    	cmd := exec.Command(bin, args...)
    	if filepath.IsAbs(dir) {
    		setDir(cmd, dir)
    	} else {
    		setDir(cmd, filepath.Join(goroot, dir))
    	}
    	cmd.Stdout = os.Stdout
    	cmd.Stderr = os.Stderr
    	if vflag > 1 {
    		errprintf("%s\n", strings.Join(cmd.Args, " "))
    	}
    	return cmd
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loadpe/ldpe.go

    				// target symbol won't be reachable.
    				rType |= objabi.R_WEAK
    			}
    
    			rel, _ := sb.AddRel(rType)
    			rel.SetOff(rOff)
    			rel.SetSiz(rSize)
    			rel.SetSym(rSym)
    			rel.SetAdd(rAdd)
    
    		}
    
    		sb.SortRelocs()
    	}
    
    	// enter sub-symbols into symbol table.
    	for i, numaux := 0, 0; i < len(f.COFFSymbols); i += numaux + 1 {
    		pesym := &f.COFFSymbols[i]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/objfile.go

    	}
    	return goobj.SymRef{PkgIdx: uint32(s.PkgIdx), SymIdx: uint32(s.SymIdx)}
    }
    
    func (w *writer) Reloc(r *Reloc) {
    	o := &w.tmpReloc
    	o.SetOff(r.Off)
    	o.SetSiz(r.Siz)
    	o.SetType(uint16(r.Type))
    	o.SetAdd(r.Add)
    	o.SetSym(makeSymRef(r.Sym))
    	o.Write(w.Writer)
    }
    
    func (w *writer) aux1(typ uint8, rs *LSym) {
    	o := &w.tmpAux
    	o.SetType(typ)
    	o.SetSym(makeSymRef(rs))
    	o.Write(w.Writer)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top