Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,517 for byteEq (0.06 sec)

  1. guava/src/com/google/common/hash/Crc32cHashFunction.java

         * with each letter representing a 4-byte word: ABCDABCDABCDABCD... and to calculate
         * CRC(A000A000A000...), CRC(0B000B000B...), CRC(00C000C000C...), CRC(000D000D000D...)
         * and then to XOR them together.  The STRIDE_TABLE enables us to hash an int followed by 12
         * zero bytes (3 ints), while the BYTE_TABLE is for advancing one byte at a time.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

        val body = body("")
        assertThat(body.bytes().size).isEqualTo(0)
      }
    
      @Test
      fun bytesSeesBom() {
        val body = body("efbbbf68656c6c6f")
        val bytes = body.bytes()
        assertThat(bytes[0] and 0xff).isEqualTo(0xef)
        assertThat(bytes[1] and 0xff).isEqualTo(0xbb)
        assertThat(bytes[2] and 0xff).isEqualTo(0xbf)
        assertThat(String(bytes, 3, 5, StandardCharsets.UTF_8)).isEqualTo("hello")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. cmd/metrics-v3-replication.go

    	qt := qs.QStats
    	m.Set(replicationAverageQueuedBytes, float64(qt.Avg.Bytes))
    	m.Set(replicationAverageQueuedCount, float64(qt.Avg.Count))
    	m.Set(replicationMaxQueuedBytes, float64(qt.Max.Bytes))
    	m.Set(replicationMaxQueuedCount, float64(qt.Max.Count))
    	m.Set(replicationLastMinuteQueuedBytes, float64(qt.Curr.Bytes))
    	m.Set(replicationLastMinuteQueuedCount, float64(qt.Curr.Count))
    
    	qa := qs.ActiveWorkers
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. internal/kms/config.go

    				}
    				privateKeyPEM, rest := pem.Decode(bytes.TrimSpace(keyBytes))
    				if len(rest) != 0 {
    					return tls.Certificate{}, errors.New("Unable to load KES client private key as specified by the shell environment: private key contains additional data")
    				}
    				if x509.IsEncryptedPEMBlock(privateKeyPEM) {
    					keyBytes, err = x509.DecryptPEMBlock(privateKeyPEM, []byte(env.Get(EnvKESClientPassword, "")))
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/bucket-stats.go

    // such as pending, failed and completed bytes in total for a bucket
    // remote target
    type BucketReplicationStat struct {
    	// Pending size in bytes
    	//	PendingSize int64 `json:"pendingReplicationSize"`
    	// Completed size in bytes
    	ReplicatedSize int64 `json:"completedReplicationSize"`
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    	// Collect stats for failures
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. fastapi/datastructures.py

        headers: Annotated[Headers, Doc("The headers of the request.")]
        content_type: Annotated[
            Optional[str], Doc("The content type of the request, from the headers.")
        ]
    
        async def write(
            self,
            data: Annotated[
                bytes,
                Doc(
                    """
                    The bytes to write to the file.
                    """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Collection<Integer> values = map.values();
    
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        ObjectOutputStream oos = new ObjectOutputStream(bytes);
        oos.writeObject(map);
        oos.flush();
    
        int mapSize = bytes.size();
        oos.writeObject(keySet);
        oos.writeObject(values);
        oos.close();
    
        int finalSize = bytes.size();
    
        assertThat(finalSize - mapSize).isLessThan(100);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                    tag = 1L,
                    constructed = false,
                    length = 16,
                    bytes = "******@****.***".encodeUtf8(),
                  ),
              ),
          ),
        )
      }
    
      /** Converts public key bytes to SubjectPublicKeyInfo bytes. */
      private fun encodeKey(
        algorithm: String,
        publicKeyBytes: ByteString,
      ): ByteString {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  9. api/next/61901.txt

    pkg bytes, func FieldsFuncSeq([]uint8, func(int32) bool) iter.Seq[[]uint8] #61901
    pkg bytes, func FieldsSeq([]uint8) iter.Seq[[]uint8] #61901
    pkg bytes, func Lines([]uint8) iter.Seq[[]uint8] #61901
    pkg bytes, func SplitAfterSeq([]uint8, []uint8) iter.Seq[[]uint8] #61901
    pkg bytes, func SplitSeq([]uint8, []uint8) iter.Seq[[]uint8] #61901
    pkg strings, func FieldsFuncSeq(string, func(int32) bool) iter.Seq[string] #61901
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 676 bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

                mappingOffset = mappingsBuffer.length
                mappingsBuffer.append(mappedTo)
              } else {
                mappingOffset = mappingIndex
              }
    
              // Write the range bytes.
              val b1 = mappedTo.length
              val b2 = (mappingOffset and 0x3f80) shr 7
              val b3 = mappingOffset and 0x7f
              rangesBuffer.writeByte(b1)
              rangesBuffer.writeByte(b2)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top