Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 480 for readArg (0.41 sec)

  1. src/net/textproto/reader.go

    // A Reader implements convenience methods for reading requests
    // or responses from a text protocol network connection.
    type Reader struct {
    	R   *bufio.Reader
    	dot *dotReader
    	buf []byte // a re-usable buffer for readContinuedLineSlice
    }
    
    // NewReader returns a new [Reader] reading from r.
    //
    // To avoid denial of service attacks, the provided [bufio.Reader]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. internal/event/config_test.go

    		panic(err)
    	}
    
    	testCases := []struct {
    		reader     *strings.Reader
    		region     string
    		targetList *TargetList
    		expectErr  bool
    	}{
    		{reader1, "eu-west-1", nil, true},
    		{reader2, "us-east-1", targetList1, true},
    		{reader4, "us-east-1", targetList1, true},
    		{reader3, "", targetList2, false},
    		{reader2, "us-east-1", targetList2, false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    	// It is only the responsibility of every exported method of Reader to
    	// ensure that this error is sticky.
    	err error
    }
    
    type fileReader interface {
    	io.Reader
    	fileState
    
    	WriteTo(io.Writer) (int64, error)
    }
    
    // NewReader creates a new [Reader] reading from r.
    func NewReader(r io.Reader) *Reader {
    	return &Reader{r: r, curr: &regFileReader{r, 0}}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. internal/hash/reader.go

    			}
    		}
    	}
    	return n, err
    }
    
    // Size returns the absolute number of bytes the Reader
    // will return during reading. It returns -1 for unlimited
    // data.
    func (r *Reader) Size() int64 { return r.size }
    
    // ActualSize returns the pre-modified size of the object.
    // DecompressedSize - For compressed objects.
    func (r *Reader) ActualSize() int64 { return r.actualSize }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. src/mdo/reader-stax.vm

        } //-- void setAddLocationInformation(boolean)
    #end
    
        public ${root.name} read(Reader reader) throws XMLStreamException {
    #if ( $locationTracking )
            return read(reader, true, null);
    #else
            return read(reader, true);
    #end
        }
    
        /**
         * @param reader a reader object.
         * @param strict a strict object.
         * @throws XMLStreamException XMLStreamException if
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 38.1K 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. 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)
Back to top