Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lastRead (0.08 sec)

  1. src/bytes/buffer.go

    // from any read operation.)
    func (b *Buffer) UnreadRune() error {
    	if b.lastRead <= opInvalid {
    		return errors.New("bytes.Buffer: UnreadRune: previous operation was not a successful ReadRune")
    	}
    	if b.off >= int(b.lastRead) {
    		b.off -= int(b.lastRead)
    	}
    	b.lastRead = opInvalid
    	return nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          return domainLabels.dropLast(1)
        }
    
        return domainLabels
      }
    
      private fun findMatchingRule(domainLabels: List<String>): List<String> {
        if (!listRead.get() && listRead.compareAndSet(false, true)) {
          readTheListUninterruptibly()
        } else {
          try {
            readCompleteLatch.await()
          } catch (_: InterruptedException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top