- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for rp (0.02 sec)
-
src/cmd/go/internal/modindex/read.go
// Import is the equivalent of build.Import given the information in Module. func (rp *IndexPackage) Import(bctxt build.Context, mode build.ImportMode) (p *build.Package, err error) { defer unprotect(protect(), &err) ctxt := (*Context)(&bctxt) p = &build.Package{} p.ImportPath = "." p.Dir = filepath.Join(rp.modroot, rp.dir) var pkgerr error switch ctxt.Compiler { case "gccgo", "gc": default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
cmd/perf-tests.go
cli, err := globalSiteReplicationSys.getAdminClient(ctx, deploymentID) if err != nil { result.Error = err.Error() return } rp := cli.GetEndpointURL() reqURL := &url.URL{ Scheme: rp.Scheme, Host: rp.Host, Path: reqPath, } result.Endpoint = rp.String() req, err := http.NewRequestWithContext(ctx, http.MethodPost, reqURL.String(), reader) if err != nil { result.Error = err.Error()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
src/crypto/internal/boring/build-goboring.sh
typedef unsigned int u128 __attribute__((mode(TI))); static u128 div(u128 x, u128 y, u128 *rp) { int n = 0; while((y>>(128-1)) != 1 && y < x) { y<<=1; n++; } u128 q = 0; for(;; n--, y>>=1, q<<=1) { if(x>=y) { x -= y; q |= 1; } if(n == 0) break; } if(rp) *rp = x; return q; } u128 __umodti3(u128 x, u128 y) { u128 r; div(x, y, &r);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 5.6K bytes - Viewed (0) -
src/runtime/print.go
// The compiler knows that a print of a value of this type // should use printhex instead of printuint (decimal). type hex uint64 func bytes(s string) (ret []byte) { rp := (*slice)(unsafe.Pointer(&ret)) sp := stringStructOf(&s) rp.array = sp.str rp.len = sp.len rp.cap = sp.len return } var ( // printBacklog is a circular buffer of messages written with the builtin
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 03:27:26 UTC 2023 - 5.9K bytes - Viewed (0) -
src/encoding/gob/timing_test.go
rt := ra.Type() b.ResetTimer() b.ReportAllocs() b.RunParallel(func(pb *testing.PB) { // TODO(#19025): Move per-thread allocation before ResetTimer. rp := reflect.New(rt) rp.Elem().Set(reflect.MakeSlice(rt, ra.Len(), ra.Cap())) p := rp.Interface() bbuf := benchmarkBuf{data: buf.Bytes()} for pb.Next() { bbuf.reset() dec := NewDecoder(&bbuf) err := dec.Decode(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 04 07:16:59 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
cmd.Stderr = &outbuf rp, wp, err := os.Pipe() if err != nil { t.Fatal(err) } defer rp.Close() cmd.ExtraFiles = []*os.File{wp} if err := cmd.Start(); err != nil { wp.Close() t.Fatalf("starting program: %v", err) } if err := wp.Close(); err != nil { t.Logf("closing write pipe: %v", err) } if _, err := rp.Read(make([]byte, 1)); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
tools/docker-copy.sh
fi # For arch specific, will put an arch named sub dir like # arm64/ # amd64/ dst="${DOCKER_WORKING_DIR}" if [[ "${arch}" != "" ]]; then dst+="/${arch}/" fi mkdir -p "${dst}" cp -rp "${FILE}" "${dst}" # Based on type, explicit set permissions. These may differ on host machine due to umask, so always override. out="${dst}/$(basename "${FILE}")" if [[ -d "${out}" ]]; then chmod -R a+r "${out}"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 04 03:06:26 UTC 2022 - 2.6K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy_test.go
mu.Lock() defer mu.Unlock() log = append(log, event) } rp := NewSingleHostReverseProxy(backendURL) const size = 1234 rp.BufferPool = bufferPool{ get: func() []byte { addLog("getBuf") return make([]byte, size) }, put: func(p []byte) { addLog("putBuf-" + strconv.Itoa(len(p))) }, } frontend := httptest.NewServer(rp) defer frontend.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0) -
pkg/testcerts/testcerts.go
yQYipvEhYOJ7Dook+8rSfRY7lmLcdURWdOfY/s5U6kBDRqtTvl25zrivwNoLtBIo sYJFWchYEbv3k3457yfxawyuNfpwANv60bH7Hm9/ViBgqI5yrgB9Ly2pMDIGUjs2 1nJBSABGlZKcxRHhVKauv35DYG9hRa/C1AoIUsCziZHLggr9+eZ1CdmHTuKekWVt 9nriO02MXemKWfCZaRhPADnHf8oPw/rP+R/FrG6JF3JS9EVINQC8c9q0SyWbuwxg 4u9k9DKk/joZ0cbqlOS74Wvk2GFigIF9uuOhZdHzF/+IYH4ZNM0AFGVoKn+QwFG8 5kJyW6NsHIn5fOLyrT2rXXT/FJXr/lIJ//hzybIjHBfH4hB8uWvMLN2vrqT71yR6 dfQxqrTJcxJbidjA5LF0ABOQaJ0ja+OrL3LHofY1f9fXzUWV+Bx6NIvNlZwIxL4G
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 08 16:24:03 UTC 2022 - 10.9K bytes - Viewed (0) -
pkg/scheduler/testing/framework/fake_extender.go
// and get cached node info by given node name. nodeInfoCopy := f.CachedNodeNameToInfo[node.Node().Name].Snapshot() var potentialVictims []*v1.Pod removePod := func(rp *v1.Pod) error { return nodeInfoCopy.RemovePod(logger, rp) } addPod := func(ap *v1.Pod) { nodeInfoCopy.AddPod(ap) } // As the first step, remove all the lower priority pods from the node and // check if the given pod can be scheduled.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.9K bytes - Viewed (0)