Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,009 for bytesB (0.18 sec)

  1. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy

            def text1 = "some text"
            def bytes1 = text1.bytes
            def text2 = "more"
            def bytes2 = text2.bytes
    
            when:
            async {
                start {
                    def buffer = new byte[1024]
    
                    def nread = stream.read(buffer)
                    assert nread == bytes1.length
                    assert new String(buffer, 0, nread) == text1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/sets/byte.go

    limitations under the License.
    */
    
    package sets
    
    // Byte is a set of bytes, implemented via map[byte]struct{} for minimal memory consumption.
    //
    // Deprecated: use generic Set instead.
    // new ways:
    // s1 := Set[byte]{}
    // s2 := New[byte]()
    type Byte map[byte]Empty
    
    // NewByte creates a Byte from a list of values.
    func NewByte(items ...byte) Byte {
    	return Byte(New[byte](items...))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. src/go/build/testdata/directives/b_test.go

    Russ Cox <******@****.***> 1669746650 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 36 bytes
    - Viewed (0)
  4. src/go/build/testdata/doc/b_test.go

    jimmyfrasche <******@****.***> 1519513438 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 07 14:35:52 UTC 2018
    - 17 bytes
    - Viewed (0)
  5. releasenotes/notes/istiod-config-size-bytes.yaml

    Brian Avery <******@****.***> 1620951743 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 14 00:22:23 UTC 2021
    - 208 bytes
    - Viewed (0)
  6. src/crypto/ecdh/nist.go

    	name        string
    	newPoint    func() Point
    	scalarOrder []byte
    }
    
    // nistPoint is a generic constraint for the nistec Point types.
    type nistPoint[T any] interface {
    	Bytes() []byte
    	BytesX() ([]byte, error)
    	SetBytes([]byte) (T, error)
    	ScalarMult(T, []byte) (T, error)
    	ScalarBaseMult([]byte) (T, error)
    }
    
    func (c *nistCurve[Point]) String() string {
    	return c.name
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          sink.writeByte(accumulator.toInt())
        }
      }
    
      fun encodedLength(bytes: ByteString): Int {
        var bitCount = 0L
    
        for (i in 0 until bytes.size) {
          val byteIn = bytes[i] and 0xff
          bitCount += CODE_BIT_COUNTS[byteIn].toLong()
        }
    
        return ((bitCount + 7) shr 3).toInt() // Round up to an even byte.
      }
    
      fun decode(
        source: BufferedSource,
        byteCount: Long,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasherTest.groovy

            def fileSnapshotContext = Mock(RegularFileSnapshotContext)
            def fileSnapshot = Mock(RegularFileSnapshot)
    
            given:
            def file = temporaryDirectory.newFile('String.class')
            file.bytes = bytesOf(String.class)
    
            when:
            resourceHasher.hash(fileSnapshotContext)
    
            then:
            1 * fileSnapshotContext.getSnapshot() >> fileSnapshot
            2 * fileSnapshot.getName() >> file.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. src/net/http/range_test.go

    	{"", 1000, nil},
    	{"foo", 0, nil},
    	{"bytes=", 0, nil},
    	{"bytes=7", 10, nil},
    	{"bytes= 7 ", 10, nil},
    	{"bytes=1-", 0, nil},
    	{"bytes=5-4", 10, nil},
    	{"bytes=0-2,5-4", 10, nil},
    	{"bytes=2-5,4-3", 10, nil},
    	{"bytes=--5,4--3", 10, nil},
    	{"bytes=A-", 10, nil},
    	{"bytes=A- ", 10, nil},
    	{"bytes=A-Z", 10, nil},
    	{"bytes= -Z", 10, nil},
    	{"bytes=5-Z", 10, nil},
    	{"bytes=Ran-dom, garbage", 10, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 25 17:52:35 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

            def file = tmpDir.file("thing.zip")
    
            when:
            builder.jar(file) {
                it.put("a.class", "bytes".bytes)
                it.put("dir/b.class", "bytes".bytes)
                it.put("dir/c.class", "bytes".bytes)
                it.put("dir/sub/d.class", "bytes".bytes)
            }
    
            then:
            def zip = new ZipTestFixture(file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top