Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lastByte (0.43 sec)

  1. src/bufio/bufio.go

    // considered read operations.
    func (b *Reader) UnreadByte() error {
    	if b.lastByte < 0 || b.r == 0 && b.w > 0 {
    		return ErrInvalidUnreadByte
    	}
    	// b.r > 0 || b.w == 0
    	if b.r > 0 {
    		b.r--
    	} else {
    		// b.r == 0 && b.w == 0
    		b.w = 1
    	}
    	b.buf[b.r] = byte(b.lastByte)
    	b.lastByte = -1
    	b.lastRuneSize = -1
    	return nil
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

                return null;
            }
            final int num = inData.length() / 4 - 1;
            final int lastBytes = getLastBytes(inData);
            final byte[] outData = new byte[num * 3 + lastBytes];
            for (int i = 0; i < num; i++) {
                decode(inData, i * 4, outData, i * 3);
            }
            switch (lastBytes) {
            case 1:
                decode1byte(inData, num * 4, outData, num * 3);
                break;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top