Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for setAddr (0.25 sec)

  1. cmd/admin-handlers.go

    		return addr
    	}
    
    	// anonymizedAddr - Updated the addr of the node info with anonymized one
    	anonymizeAddr := func(info madmin.NodeInfo) {
    		info.SetAddr(anonAddr(info.GetAddr()))
    	}
    
    	partialWrite := func(oinfo madmin.HealthInfo) {
    		select {
    		case healthInfoCh <- oinfo:
    		case <-healthCtx.Done():
    		}
    	}
    
    	getAndWritePlatformInfo := func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  2. src/net/netip/slow_test.go

    		if zone == "" {
    			return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): no zone after zone specifier", s)
    		}
    	default:
    		return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): too many zone specifiers", s) // TODO: less specific?
    	}
    
    	// IPv4 by itself is easy to do in a helper.
    	if strings.Count(s, ":") == 0 {
    		if zone != "" {
    			return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): IPv4 addresses cannot have a zone", s)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/GradleBuild.java

         *
         * @param dir The project directory. Should not be null.
         * @since 4.0
         */
        public void setDir(File dir) {
            setDir((Object) dir);
        }
    
        /**
         * Sets the project directory for the build.
         *
         * @param dir The project directory. Should not be null.
         */
        public void setDir(Object dir) {
            getStartParameter().setCurrentDir(getProject().file(dir));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/dist/exec.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"os/exec"
    	"strings"
    )
    
    // setDir sets cmd.Dir to dir, and also adds PWD=dir to cmd's environment.
    func setDir(cmd *exec.Cmd, dir string) {
    	cmd.Dir = dir
    	if cmd.Env != nil {
    		// os/exec won't set PWD automatically.
    		setEnv(cmd, "PWD", dir)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 21:52:09 UTC 2023
    - 957 bytes
    - Viewed (0)
  5. src/cmd/link/internal/loadmacho/ldmacho.go

    					// section found in the original object file.
    					//
    					// [For future reference, see Darwin's /usr/include/mach-o/x86_64/reloc.h]
    					secaddr := c.seg.sect[rel.symnum-1].addr
    					rAdd = int64(uint64(int64(int32(e.Uint32(p[rOff:])))+int64(rOff)+4) - secaddr)
    				} else {
    					rAdd = int64(int32(e.Uint32(p[rOff:])))
    				}
    			}
    
    			// An unsigned internal relocation has a value offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ConfigurableFileTreeCodec.kt

        }
    
        override suspend fun ReadContext.decode(): ConfigurableFileTree {
            val dir = readFile()
            val patterns = read() as PatternSet
            val tree = fileCollectionFactory.fileTree()
            tree.setDir(dir)
            // TODO - read patterns directly into tree
            tree.patterns.copyFrom(patterns)
            return tree
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    		if waypointAddress == nil {
    			return nil
    		}
    
    		ip := waypointAddress.GetAddress()
    		netip, _ := netip.AddrFromSlice(ip)
    		netaddr := networkAddress{
    			network: waypointAddress.GetNetwork(),
    			ip:      netip.String(),
    		}
    		return append(make([]networkAddress, 1), netaddr)
    	})
    	WorkloadServices.RegisterBatch(krt.BatchedEventFilter(
    		func(a model.ServiceInfo) *workloadapi.Service {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/seh.go

    			rels := ldr.Relocs(uw)
    			for i := 0; i < rels.Count(); i++ {
    				r := rels.At(i)
    				rel, _ := xdata.AddRel(r.Type())
    				rel.SetOff(int32(off) + r.Off())
    				rel.SetSiz(r.Siz())
    				rel.SetSym(r.Sym())
    				rel.SetAdd(r.Add())
    			}
    		}
    
    		// Reference:
    		// https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64#struct-runtime_function
    		pdata.AddPEImageRelativeAddrPlus(ctxt.Arch, s, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/arm/asm.go

    	o(0xeafffffe)
    	rel, _ := initfunc.AddRel(objabi.R_CALLARM)
    	rel.SetOff(8)
    	rel.SetSiz(4)
    	rel.SetSym(addmoduledata)
    	rel.SetAdd(0xeafffffe) // vomit
    
    	o(0x00000000)
    
    	rel2, _ := initfunc.AddRel(objabi.R_PCREL)
    	rel2.SetOff(12)
    	rel2.SetSiz(4)
    	rel2.SetSym(ctxt.Moduledata)
    	rel2.SetAdd(4)
    }
    
    // Preserve highest 8 bits of a, and do addition to lower 24-bit
    // of a and b; used to adjust ARM branch instruction's target.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFileTree.java

         * org.gradle.api.Project#file(Object)}.
         *
         * @param dir The base directory.
         * @return this
         */
        ConfigurableFileTree setDir(Object dir);
    
        /**
         * Returns the set of tasks which build the files of this collection.
         *
         * @return The set. Returns an empty set when there are no such tasks.
         */
        Set<Object> getBuiltBy();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.5K bytes
    - Viewed (0)
Back to top