Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for readelf (0.19 sec)

  1. src/go/doc/reader.go

    // AST reader
    
    // reader accumulates documentation for a single package.
    // It modifies the AST: Comments (declaration documentation)
    // that have been collected by the reader are set to nil
    // in the respective AST nodes so that they are not printed
    // twice (once when printing the documentation and once when
    // printing the corresponding AST node).
    type reader struct {
    	mode Mode
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. 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)
  3. src/net/textproto/reader.go

    // the size of responses.
    func NewReader(r *bufio.Reader) *Reader {
    	return &Reader{R: r}
    }
    
    // ReadLine reads a single line from r,
    // eliding the final \n or \r\n from the returned string.
    func (r *Reader) ReadLine() (string, error) {
    	line, err := r.readLineSlice(-1)
    	return string(line), err
    }
    
    // ReadLineBytes is like [Reader.ReadLine] but returns a []byte instead of a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer_test.go

    			fmt.Println(args...)
    		}
    	}
    	// Inject random reader/writer sleeps.
    	const maxSleep = int(1 * time.Millisecond)
    	doSleep := !testing.Short()
    	rb := New(4 << 10).SetBlocking(true)
    
    	// Reader
    	var readErr error
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		readRng := rand.New(rand.NewSource(1))
    		defer wg.Done()
    		defer rb.CloseWithError(readErr)
    		buf := make([]byte, 1024)
    		for {
    			// Read
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. internal/ringbuffer/ring_buffer.go

    	if len(p) == 0 {
    		return 0, r.readErr(false)
    	}
    
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	if err := r.readErr(true); err != nil {
    		return 0, err
    	}
    
    	r.wg.Add(1)
    	defer r.wg.Done()
    	n, err = r.read(p)
    	for err == ErrIsEmpty && r.block {
    		r.writeCond.Wait()
    		if err = r.readErr(true); err != nil {
    			break
    		}
    		n, err = r.read(p)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. cmd/erasure-healing.go

    	var found int
    	var notFound int
    	var foundNotEmpty int
    	var otherFound int
    	for _, readErr := range errs {
    		switch {
    		case readErr == nil:
    			found++
    		case readErr == errFileNotFound || readErr == errVolumeNotFound:
    			notFound++
    		case readErr == errVolumeNotEmpty:
    			foundNotEmpty++
    		default:
    			otherFound++
    		}
    	}
    	found = found + foundNotEmpty + otherFound
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  7. src/net/http/clientserver_test.go

    	h12requestContentLength(t, func() io.Reader { return strings.NewReader("FOUR") }, 4)
    }
    
    func TestH12_RequestContentLength_Known_Zero(t *testing.T) {
    	h12requestContentLength(t, func() io.Reader { return nil }, 0)
    }
    
    func TestH12_RequestContentLength_Unknown(t *testing.T) {
    	h12requestContentLength(t, func() io.Reader { return struct{ io.Reader }{strings.NewReader("Stuff")} }, -1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  8. internal/rest/client.go

    			logger.LogOnceIf(ctx, logSubsys, err, c.url.Host)
    			c.MarkOffline(err)
    		}
    		defer xhttp.DrainBody(resp.Body)
    		// Limit the ReadAll(), just in case, because of a bug, the server responds with large data.
    		b, err := io.ReadAll(io.LimitReader(resp.Body, c.MaxErrResponseSize))
    		if err != nil {
    			if xnet.IsNetworkOrHostDown(err, expectTimeouts) {
    				if !c.NoMetrics {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

            for (ExecutableElement methodElement : allMethodElementsInAnnotatedClasses) {
                for (AnnotatedMethodReaderExtension reader : readers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/crypto/tls/quic.go

    	}
    	c.quic.readbuf = data
    	<-c.quic.signalc
    	_, ok := <-c.quic.blockedc
    	if ok {
    		// The handshake goroutine is waiting for more data.
    		return nil
    	}
    	// The handshake goroutine has exited.
    	c.handshakeMutex.Lock()
    	defer c.handshakeMutex.Unlock()
    	c.hand.Write(c.quic.readbuf)
    	c.quic.readbuf = nil
    	for q.conn.hand.Len() >= 4 && q.conn.handshakeErr == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top