Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addReport (0.42 sec)

  1. src/cmd/gofmt/gofmt.go

    			r.Report(err)
    		}
    		next <- r.getState() // Release the next task.
    		s.sem.Release(weight)
    	}()
    }
    
    // AddReport prints an error to s after the output of any previously-added
    // tasks, causing the final exit code to be nonzero.
    func (s *sequencer) AddReport(err error) {
    	s.Add(0, func(*reporter) error { return err })
    }
    
    // GetExitCode waits for all previously-added tasks to complete, then returns an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/net/netip/netip.go

    }
    
    // AddrPort is an IP and a port number.
    type AddrPort struct {
    	ip   Addr
    	port uint16
    }
    
    // AddrPortFrom returns an [AddrPort] with the provided IP and port.
    // It does not allocate.
    func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
    
    // Addr returns p's IP address.
    func (p AddrPort) Addr() Addr { return p.ip }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. src/net/tcpsock.go

    	IP   IP
    	Port int
    	Zone string // IPv6 scoped addressing zone
    }
    
    // AddrPort returns the [TCPAddr] a as a [netip.AddrPort].
    //
    // If a.Port does not fit in a uint16, it's silently truncated.
    //
    // If a is nil, a zero value is returned.
    func (a *TCPAddr) AddrPort() netip.AddrPort {
    	if a == nil {
    		return netip.AddrPort{}
    	}
    	na, _ := netip.AddrFromSlice(a.IP)
    	na = na.WithZone(a.Zone)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/kube.go

    		if err != nil {
    			return netip.AddrPort{}, err
    		}
    		addr = address.(netip.AddrPort)
    	} else {
    		name := types.NamespacedName{Name: eastWestIngressServiceName, Namespace: i.cfg.SystemNamespace}
    		addr = i.CustomIngressFor(primary, name, eastWestIngressIstioLabel).DiscoveryAddresses()[0]
    	}
    	if !addr.IsValid() {
    		return netip.AddrPort{}, fmt.Errorf("failed to get ingress IP for %s", primary.Name())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. pkg/registry/core/service/strategy_test.go

    			patch:  patches(setTypeClusterIP, addPort),
    			expect: makeValidServiceCustom(addPort),
    		}, {
    			name:   "don't clear nodePorts when adding a port with NodePort",
    			svc:    makeValidServiceCustom(setTypeLoadBalancer, setNodePorts),
    			patch:  patches(setTypeClusterIP, addPort, setNodePorts),
    			expect: makeValidServiceCustom(addPort, setNodePorts),
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/main.go

    		ctxt.windynrelocsyms()
    	}
    	if ctxt.IsAIX() {
    		bench.Start("doxcoff")
    		ctxt.doxcoff()
    	}
    
    	bench.Start("textbuildid")
    	ctxt.textbuildid()
    	bench.Start("addexport")
    	ctxt.setArchSyms()
    	ctxt.addexport()
    	bench.Start("Gentext")
    	thearch.Gentext(ctxt, ctxt.loader) // trampolines, call stubs, etc.
    
    	bench.Start("textaddress")
    	ctxt.textaddress()
    	bench.Start("typelink")
    	ctxt.typelink()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/kube/deployment.go

    			Port:        grpcMagicPort,
    			LocalhostIP: true,
    		})
    	}
    	return containerPorts
    }
    
    func customizeVMEnvironment(ctx resource.Context, cfg echo.Config, clusterEnv string, istiodAddr netip.AddrPort) error {
    	f, err := os.OpenFile(clusterEnv, os.O_APPEND|os.O_WRONLY, os.ModeAppend)
    	if err != nil {
    		return fmt.Errorf("failed opening %s: %v", clusterEnv, err)
    	}
    	defer f.Close()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top