Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 753 for recver (0.17 sec)

  1. test/recover.go

    }
    
    func mustRecover(x interface{}) {
    	mustRecoverBody(doubleRecover(), recover(), recover(), x)
    }
    
    func mustNotRecover() {
    	v := recover()
    	if v != nil {
    		println("spurious recover", v)
    		die()
    	}
    }
    
    func withoutRecover() {
    	mustNotRecover() // because it's a sub-call
    }
    
    func withoutRecoverRecursive(n int) {
    	if n == 0 {
    		withoutRecoverRecursive(1)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  2. src/go/doc/reader.go

    	}
    	// function doesn't exist or has no documentation; use f
    	recv := ""
    	if f.Recv != nil {
    		var typ ast.Expr
    		// be careful in case of incorrect ASTs
    		if list := f.Recv.List; len(list) == 1 {
    			typ = list[0].Type
    		}
    		recv = recvString(typ)
    	}
    	mset[name] = &Func{
    		Doc:  f.Doc.Text(),
    		Name: name,
    		Decl: f,
    		Recv: recv,
    		Orig: recv,
    	}
    	if !preserveAST {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. src/encoding/csv/reader.go

    }
    
    // A Reader reads records from a CSV-encoded file.
    //
    // As returned by [NewReader], a Reader expects input conforming to RFC 4180.
    // The exported fields can be changed to customize the details before the
    // first call to [Reader.Read] or [Reader.ReadAll].
    //
    // The Reader converts all \r\n sequences in its input to plain \n,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. internal/hash/reader.go

    )
    
    // A Reader wraps an io.Reader and computes the MD5 checksum
    // of the read content as ETag. Optionally, it also computes
    // the SHA256 checksum of the content.
    //
    // If the reference values for the ETag and content SHA26
    // are not empty then it will check whether the computed
    // match the reference values.
    type Reader struct {
    	src         io.Reader
    	bytesRead   int64
    	expectedMin int64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. src/image/gif/reader.go

    	errTooMuch   = errors.New("gif: too much image data")
    	errBadPixel  = errors.New("gif: invalid pixel value")
    )
    
    // If the io.Reader does not also have ReadByte, then decode will introduce its own buffering.
    type reader interface {
    	io.Reader
    	io.ByteReader
    }
    
    // Masks etc.
    const (
    	// Fields.
    	fColorTable         = 1 << 7
    	fInterlace          = 1 << 6
    	fColorTableBitsMask = 7
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/net/rpc/server.go

    	req.next = server.freeReq
    	server.freeReq = req
    	server.reqLock.Unlock()
    }
    
    func (server *Server) getResponse() *Response {
    	server.respLock.Lock()
    	resp := server.freeResp
    	if resp == nil {
    		resp = new(Response)
    	} else {
    		server.freeResp = resp.next
    		*resp = Response{}
    	}
    	server.respLock.Unlock()
    	return resp
    }
    
    func (server *Server) freeResponse(resp *Response) {
    	server.respLock.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. src/mdo/reader.vm

        }
    
        /**
         *
         * @param reader a reader object.
         * @param strict a strict object.
         * @throws IOException IOException if any.
         * @throws XMLStreamException XMLStreamException if
         * any.
         * @return ${root.name}
         */
        public ${root.name} read(Reader reader, boolean strict) throws IOException, XMLStreamException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
  8. src/image/jpeg/reader.go

    	29, 22, 15, 23, 30, 37, 44, 51,
    	58, 59, 52, 45, 38, 31, 39, 46,
    	53, 60, 61, 54, 47, 55, 62, 63,
    }
    
    // Deprecated: Reader is not used by the [image/jpeg] package and should
    // not be used by others. It is kept for compatibility.
    type Reader interface {
    	io.ByteReader
    	io.Reader
    }
    
    // bits holds the unprocessed bits that have been taken from the byte-stream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  9. src/image/png/reader.go

    const (
    	dsStart = iota
    	dsSeenIHDR
    	dsSeenPLTE
    	dsSeentRNS
    	dsSeenIDAT
    	dsSeenIEND
    )
    
    const pngHeader = "\x89PNG\r\n\x1a\n"
    
    type decoder struct {
    	r             io.Reader
    	img           image.Image
    	crc           hash.Hash32
    	width, height int
    	depth         int
    	palette       color.Palette
    	cb            int
    	stage         int
    	idatLength    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/server.go

    	serviceEntryController *serviceentry.Controller
    
    	httpServer  *http.Server // debug, monitoring and readiness Server.
    	httpAddr    string
    	httpsServer *http.Server // webhooks HTTPS Server.
    	httpsAddr   string
    
    	grpcServer        *grpc.Server
    	grpcAddress       string
    	secureGrpcServer  *grpc.Server
    	secureGrpcAddress string
    
    	// monitoringMux listens on monitoringAddr(:15014).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top