Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for recvs (0.04 sec)

  1. src/go/types/universe.go

    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/util_test.go

    		{Namespace: "default", Name: "se-1"}: &se1,
    		{Namespace: "default", Name: "se-3"}: &se3,
    	}
    	got := getWorkloadServiceEntries(ses, wle)
    	if !reflect.DeepEqual(got, expected) {
    		t.Errorf("recv unexpected se: %v", got)
    	}
    }
    
    func TestCompareServiceEntries(t *testing.T) {
    	oldSes := map[types.NamespacedName]*config.Config{
    		{Namespace: "default", Name: "se-1"}: {},
    		{Namespace: "default", Name: "se-2"}: {},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 17 22:32:10 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. pkg/test/echo/server/forwarder/udp.go

    	if cfg.Request.ExpectedResponse != nil {
    		expected = cfg.Request.ExpectedResponse.GetValue()
    	}
    	if !strings.Contains(msg, expected) {
    		return msg, fmt.Errorf("expect to recv message with %s, got %s. Return EOF", expected, msg)
    	}
    	return msg, nil
    }
    
    func (c *udpProtocol) Close() error {
    	return nil
    }
    
    func newUDPConnection(cfg *Config) (net.Conn, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 17:19:22 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go

    	if err != nil {
    		klog.ErrorS(err, "ListAndWatch ended unexpectedly for device plugin", "resource", c.resource)
    		return
    	}
    
    	for {
    		response, err := stream.Recv()
    		if err != nil {
    			klog.ErrorS(err, "ListAndWatch ended unexpectedly for device plugin", "resource", c.resource)
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:35:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. test/convT2X.go

    			case uc <- nil:
    			case uc <- u32:
    			case uc <- u64:
    			case uc <- u128:
    			}
    		}
    	}()
    	for i := 0; i < n; i++ {
    		if got := <-uc; got != nil && got != u32 && got != u64 && got != u128 {
    			println("recv: i", i, "got", got)
    			panic("fail")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 02 23:09:05 UTC 2012
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/mkbuiltin.go

    	}
    
    	decls := make(map[string]bool)
    
    	fmt.Fprintf(w, "var builtins = [...]struct{ name string; abi int }{\n")
    	for _, decl := range f.Decls {
    		switch decl := decl.(type) {
    		case *ast.FuncDecl:
    			if decl.Recv != nil {
    				log.Fatal("methods unsupported")
    			}
    			if decl.Body != nil {
    				log.Fatal("unexpected function body")
    			}
    			declName := pkg + "." + decl.Name.Name
    			decls[declName] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/vcstest/svn/test2-svn-git.txt

    6
    layout sharded 1000
    -- db/fs-type --
    fsfs
    -- db/fsfs.conf --
    -- db/min-unpacked-rev --
    0
    -- db/revprops/0/0 --
    K 8
    svn:date
    V 27
    2017-09-22T01:11:53.895835Z
    END
    -- db/revs/0/0 --
    PLAIN
    END
    ENDREP
    id: 0.0.r0/17
    type: dir
    count: 0
    text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e
    cpath: /
    
    
    17 107
    -- db/txn-current --
    0
    -- db/txn-current-lock --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    func IsFunctionNamed(f *types.Func, pkgPath string, names ...string) bool {
    	if f == nil {
    		return false
    	}
    	if f.Pkg() == nil || f.Pkg().Path() != pkgPath {
    		return false
    	}
    	if f.Type().(*types.Signature).Recv() != nil {
    		return false
    	}
    	for _, n := range names {
    		if f.Name() == n {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/syscall/ztypes_solaris_amd64.go

    	SizeofBpfStat    = 0x80
    	SizeofBpfProgram = 0x10
    	SizeofBpfInsn    = 0x8
    	SizeofBpfHdr     = 0x14
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv    uint64
    	Drop    uint64
    	Capt    uint64
    	Padding [13]uint64
    }
    
    type BpfProgram struct {
    	Len       uint32
    	Pad_cgo_0 [4]byte
    	Insns     *BpfInsn
    }
    
    type BpfInsn struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  10. internal/http/dial_linux.go

    			fd := int(fdPtr)
    
    			_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEADDR, 1)
    
    			_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEPORT, 1)
    
    			// Enable custom socket send/recv buffers.
    			if opts.SendBufSize > 0 {
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_SNDBUF, opts.SendBufSize)
    			}
    
    			if opts.RecvBufSize > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top