Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for B0 (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

        messageBuffer.write(data)
    
        var b0 = formatOpcode or B0_FLAG_FIN
        if (perMessageDeflate && data.size >= minimumDeflateSize) {
          val messageDeflater =
            this.messageDeflater
              ?: MessageDeflater(noContextTakeover).also { this.messageDeflater = it }
          messageDeflater.deflate(messageBuffer)
          b0 = b0 or B0_FLAG_RSV1
        }
        val dataSize = messageBuffer.size
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

            final byte b0 = DECODE_TABLE[inData.charAt(inIndex)];
            final byte b1 = DECODE_TABLE[inData.charAt(inIndex + 1)];
            outData[outIndex] = (byte) (b0 << 2 & 0xfc | b1 >> 4 & 0x3);
        }
    
        private static void decode2byte(final String inData, final int inIndex, final byte[] outData, final int outIndex) {
    
            final byte b0 = DECODE_TABLE[inData.charAt(inIndex)];
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
          b0 = source.readByte() and 0xff
        } finally {
          source.timeout().timeout(timeoutBefore, TimeUnit.NANOSECONDS)
        }
    
        opcode = b0 and B0_MASK_OPCODE
        isFinalFrame = b0 and B0_FLAG_FIN != 0
        isControlFrame = b0 and OPCODE_FLAG_CONTROL != 0
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val B0_FLAG_FIN = 128
    
      /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV1 = 64
    
      /** Byte 0 reserved flag 2. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV2 = 32
    
      /** Byte 0 reserved flag 3. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV3 = 16
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

            val entryIndex = index * 4
            val b0 = ranges[entryIndex].code
            return@binarySearch target.compareTo(b0)
          }
    
        return when {
          offset >= 0 -> offset * 4 // This entry was found by binary search.
          else -> (-offset - 2) * 4 // Not found? Use the preceding element.
        }
      }
    }
    
    internal fun String.read14BitInt(index: Int): Int {
      val b0 = this[index].code
      val b1 = this[index + 1].code
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    }
    
    func (sr *sparseFileReader) Read(b []byte) (n int, err error) {
    	finished := int64(len(b)) >= sr.logicalRemaining()
    	if finished {
    		b = b[:sr.logicalRemaining()]
    	}
    
    	b0 := b
    	endPos := sr.pos + int64(len(b))
    	for endPos > sr.pos && err == nil {
    		var nf int // Bytes read in fragment
    		holeStart, holeEnd := sr.sp[0].Offset, sr.sp[0].endOffset()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    								b2 = b3
    							}
    						}
    						toPrint = append(toPrint, fmt.Sprintf("\t%s: %s", string(b), string(b2)))
    					}
    				}
    			} else {
    				b0 := ""
    				if ndjson {
    					b, _ := json.Marshal(file)
    					b0 = fmt.Sprintf("%s: ", string(b))
    				}
    				b, err := decode(r, file)
    				if err != nil {
    					return err
    				}
    				b = bytes.TrimSpace(b)
    				if !ndjson {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/Sets.java

       * products that you would get from nesting for loops:
       *
       * <pre>{@code
       * for (B b0 : sets.get(0)) {
       *   for (B b1 : sets.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
       * }
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Lists.java

       * products that you would get from nesting for loops:
       *
       * <pre>{@code
       * for (B b0 : lists.get(0)) {
       *   for (B b1 : lists.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
       * }
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    }
    
    func (sw *sparseFileWriter) Write(b []byte) (n int, err error) {
    	overwrite := int64(len(b)) > sw.logicalRemaining()
    	if overwrite {
    		b = b[:sw.logicalRemaining()]
    	}
    
    	b0 := b
    	endPos := sw.pos + int64(len(b))
    	for endPos > sw.pos && err == nil {
    		var nf int // Bytes written in fragment
    		dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top