Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for bytesAt (0.15 sec)

  1. src/cmd/internal/objfile/goobj.go

    		if s.PkgIdx != goobj.PkgIdxHashed {
    			// We don't need the data for non-hashed symbols, yet.
    			panic("not supported")
    		}
    		i := uint32(s.SymIdx + uint32(r.NSym()+r.NHashed64def()))
    		return r.BytesAt(r.DataOff(i), r.DataSize(i))
    	}
    
    	ndef := uint32(r.NSym() + r.NHashed64def() + r.NHasheddef() + r.NNonpkgdef())
    	for i := uint32(0); i < ndef; i++ {
    		osym := r.Sym(i)
    		addr := uint64(r.DataOff(i))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. 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)
  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. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

    class HpackRoundTripTest : HpackDecodeTestBase() {
      internal class StoriesTestProvider : SimpleProvider() {
        override fun arguments(): List<Any> = createStories(RAW_DATA)
      }
    
      private val bytesOut = Buffer()
      private val hpackWriter = Hpack.Writer(out = bytesOut)
    
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testRoundTrip(story: Story) {
        assumeFalse(
          story === Story.MISSING,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

     */
    open class HpackDecodeTestBase {
      private val bytesIn = Buffer()
      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
        for (testCase in story.cases) {
          val encoded = testCase.wire ?: continue
          bytesIn.write(encoded)
          hpackReader.readHeaders()
          assertSetEquals(
            "seqno=$testCase.seqno",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_issue60313.txt

    package a
    -- a/a_test.go --
    package a_test
    
    import _ "example.net/outer/inner"
    -- b/go.mod --
    module example.net/b
    
    go 1.21
    
    require example.net/outer v0.1.0
    -- b/b.go --
    package b
    -- b/b_test.go --
    package b_test
    
    import _ "example.net/outer/inner"
    -- inner/go.mod --
    module example.net/outer/inner
    
    go 1.21
    -- inner/inner.go --
    package inner
    -- outer/go.mod --
    module example.net/outer
    
    go 1.21
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 19:42:01 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/internal/poll/fd_windows_test.go

    	RttUs             uint32
    	MinRttUs          uint32
    	BytesInFlight     uint32
    	Cwnd              uint32
    	SndWnd            uint32
    	RcvWnd            uint32
    	RcvBuf            uint32
    	BytesOut          uint64
    	BytesIn           uint64
    	BytesReordered    uint32
    	BytesRetrans      uint32
    	FastRetrans       uint32
    	DupAcksIn         uint32
    	TimeoutEpisodes   uint32
    	SynRetrans        uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 08:33:36 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractDefaultTestOrderingIntegrationTest.groovy

            """.stripIndent()
        }
    
        def "test classes are scanned and run in deterministic order by default"() {
            addEmptyTestClass("AdTest")
            addEmptyTestClass("AATest")
            addEmptyTestClass("AyTest")
            addEmptyTestClass("AÆTest")
            addEmptyTestClass("ACTest")
            addEmptyTestClass("AÄTest")
            addEmptyTestClass("AZTest")
            addEmptyTestClass("AbTest")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. test/append.go

    	{"byte j", append([]byte{0, 1, 2}, []byte{3, 4, 5}...), []byte{0, 1, 2, 3, 4, 5}},
    
    	{"bytestr a", append([]byte{}, "0"...), []byte("0")},
    	{"bytestr b", append([]byte{}, "0123"...), []byte("0123")},
    
    	{"bytestr c", append([]byte("012"), "3"...), []byte("0123")},
    	{"bytestr d", append([]byte("012"), "345"...), []byte("012345")},
    
    	{"int16 a", append([]int16{}), []int16{}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 06 04:28:23 UTC 2018
    - 9.1K bytes
    - Viewed (0)
Back to top