Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 122 for EOF (0.01 sec)

  1. src/main/java/org/codelibs/core/text/Tokenizer.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    /**
     * A class that recognizes tokens.
     *
     * @author higa
     *
     */
    public class Tokenizer {
    
        /**
         * Represents EOF (End of File).
         */
        public static final int TT_EOF = -1;
    
        /**
         * Represents a Quote.
         */
        public static final int TT_QUOTE = '\'';
    
        /**
         * Represents a word.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. docs/debugging/inspect/decrypt-v2.go

    	// Debug corrupted streams.
    	if false {
    		sr.SkipEncrypted(true)
    		return sr.DebugStream(os.Stdout)
    	}
    	extracted := false
    	for {
    		stream, err := sr.NextStream()
    		if err != nil {
    			if err == io.EOF {
    				if extracted {
    					return nil
    				}
    				return errors.New("no data found on stream")
    			}
    			if errors.Is(err, estream.ErrNoKey) {
    				fmt.Println("Skipping", stream.Name, "no private key")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    		}
    	}
    
    	// If the last fragment is a hole, then seek to 1-byte before EOF, and
    	// read a single byte to ensure the file is the right size.
    	if readLastByte && err == nil {
    		_, err = mustReadFull(rs, []byte{0})
    		sw.pos++
    	}
    
    	n = sw.pos - pos0
    	switch {
    	case err == io.EOF:
    		return n, io.ErrUnexpectedEOF
    	case err == ErrWriteTooLong:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbRandomAccess.java

         */
        @Override
        void close() throws SmbException;
    
        /**
         * Read a single byte from the current position
         *
         * @return read byte, -1 if EOF
         * @throws SmbException if an I/O error occurs during read
         */
        int read() throws SmbException;
    
        /**
         * Read into buffer from current position
         *
         * @param b
         *            buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/archive/tar/fuzz_test.go

    	f.Fuzz(func(t *testing.T, b []byte) {
    		r := NewReader(bytes.NewReader(b))
    		type file struct {
    			header  *Header
    			content []byte
    		}
    		files := []file{}
    		for {
    			hdr, err := r.Next()
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				return
    			}
    			buf := bytes.NewBuffer(nil)
    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                int n = in.read(buf);
                assertEquals(3, n);
            }
    
            @Test
            @DisplayName("read() returns -1 when underlying readDirect hits EOF")
            void readSingleByteEOF() throws Exception {
                // Arrange SMB2 EOF via NT status code mapping in SmbFileInputStream
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
       * processing an event.
       *
       * @return false when EOF is reached
       */
      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
        while (true) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. schema/naming.go

    	}
    	return formattedName
    }
    
    var (
    	// https://github.com/golang/lint/blob/master/lint.go#L770
    	commonInitialisms         = []string{"API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "LHS", "QPS", "RAM", "RHS", "RPC", "SLA", "SMTP", "SSH", "TLS", "TTL", "UID", "UI", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XSRF", "XSS"}
    	commonInitialismsReplacer *strings.Replacer
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/site-replication/run-replication-with-checksum-header.sh

    ./aws/install || sudo ./aws/install
    echo "done"
    
    # Add credentials to ~/.aws/credentials
    if ! [ -d ~/.aws ]; then
    	mkdir -p ~/.aws
    fi
    cat >~/.aws/credentials <<EOF
    [enterprise]
    region = us-east-1
    aws_access_key_id = minio
    aws_secret_access_key = minio123
    EOF
    
    # Create certificates for TLS enabled MinIO
    echo -n "Setup certs for MinIO instances ..."
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. cmd/sftp-server-driver.go

    // Modeled after strings.Reader's ReadAt() implementation
    func (f listerAt) ListAt(ls []os.FileInfo, offset int64) (int, error) {
    	var n int
    	if offset >= int64(len(f)) {
    		return 0, io.EOF
    	}
    	n = copy(ls, f[offset:])
    	if n < len(ls) {
    		return n, io.EOF
    	}
    	return n, nil
    }
    
    func (f *sftpDriver) Filelist(r *sftp.Request) (la sftp.ListerAt, err error) {
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top