Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,009 for bytesB (0.25 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/NumberUtilTest.groovy

        }
    
        def "formats bytes (#bytes -> #humanReadableString)"(long bytes, String humanReadableString) {
            expect:
            formatBytes(bytes) == humanReadableString
            formatBytes(-bytes) == "-$humanReadableString"
    
            where:
            bytes               | humanReadableString
            1                   | "1 B"
            999                 | "999 B"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

        return hashLength16(
            rotateRight(e + f, 43) + rotateRight(g, 30) + h, e + rotateRight(f + a, 18) + g, mul);
      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long hashLength65Plus(byte[] bytes, int offset, int length) {
        int seed = 81;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/FarmHashFingerprint64.java

        return hashLength16(
            rotateRight(e + f, 43) + rotateRight(g, 30) + h, e + rotateRight(f + a, 18) + g, mul);
      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long hashLength65Plus(byte[] bytes, int offset, int length) {
        int seed = 81;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/PrimitiveSink.java

       * {@code bytes[off + len - 1]} is the last.
       *
       * @param bytes a byte array
       * @param off the start offset in the array
       * @param len the number of bytes to write
       * @return this instance
       * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
       *     {@code len < 0}
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. src/encoding/pem/pem.go

    	Headers map[string]string // Optional headers.
    	Bytes   []byte            // The decoded bytes of the contents. Typically a DER encoded ASN.1 structure.
    }
    
    // getLine results the first \r\n or \n delineated line from the given byte
    // array. The line does not include trailing whitespace or the trailing new
    // line bytes. The remainder of the byte array (also not including the new line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/internal/zstd/fuzz_test.go

    	for _, test := range tests {
    		f.Add([]byte(test.uncompressed))
    	}
    
    	// Add some larger data, as that has more interesting compression.
    	f.Add(bytes.Repeat([]byte("abcdefghijklmnop"), 256))
    	var buf bytes.Buffer
    	for i := 0; i < 256; i++ {
    		buf.WriteByte(byte(i))
    	}
    	f.Add(bytes.Repeat(buf.Bytes(), 64))
    	f.Add(bigData(f))
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    		cmd := exec.Command(zstd, "-z")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. pkg/proxy/util/linebuffer.go

    // WriteBytes is part of LineBuffer
    func (buf *realLineBuffer) WriteBytes(bytes []byte) {
    	buf.b.Write(bytes)
    	buf.b.WriteByte('\n')
    	buf.lines++
    }
    
    // Reset is part of LineBuffer
    func (buf *realLineBuffer) Reset() {
    	buf.b.Reset()
    	buf.lines = 0
    }
    
    // Bytes is part of LineBuffer
    func (buf *realLineBuffer) Bytes() []byte {
    	return buf.b.Bytes()
    }
    
    // String is part of LineBuffer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storagemigration/v1alpha1/types.go

    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    	// Specification of the migration.
    	// +optional
    	Spec StorageVersionMigrationSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
    	// Status of the migration.
    	// +optional
    	Status StorageVersionMigrationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    }
    
    // Spec of the storage version migration.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/go/doc/comment/testdata/doclink7.txt

    -- input --
    You see more [*bytes.Buffer] than [bytes.Buffer].
    -- markdown --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:42 UTC 2022
    - 158 bytes
    - Viewed (0)
  10. pkg/proxy/util/nfacct/nfacct_linux.go

    //   - length [2 bytes]
    //     length includes bytes for defining the length itself, bytes for defining the type,
    //     and the actual bytes of data without any padding.
    //   - type [2 bytes]
    //   - data [variable-sized]
    //   - padding [optional]
    //
    // Example. Counter{Name: "dummy-metric", Packets: 123, Bytes: 54321} in netlink message:
    //
    //	struct nfgenmsg{
    //	    __u8  nfgen_family: AF_NETLINK
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top