- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for bytesAt (0.23 sec)
-
src/cmd/internal/goobj/objfile.go
func (r *Reader) uint32At(off uint32) uint32 { b := r.BytesAt(off, 4) return binary.LittleEndian.Uint32(b) } func (r *Reader) int32At(off uint32) int32 { return int32(r.uint32At(off)) } func (r *Reader) uint16At(off uint32) uint16 { b := r.BytesAt(off, 2) return binary.LittleEndian.Uint16(b) } func (r *Reader) uint8At(off uint32) uint8 { b := r.BytesAt(off, 1) return b[0] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go
func (rb *reorderBuffer) runeAt(n int) rune { inf := rb.rune[n] r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size]) return r } // bytesAt returns the UTF-8 encoding of the rune at position n. // It is used for Hangul and recomposition. func (rb *reorderBuffer) bytesAt(n int) []byte { inf := rb.rune[n] return rb.byte[inf.pos : int(inf.pos)+int(inf.size)] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
byte[] encode(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) return bytes.toByteArray() } byte[] truncate(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) def result = bytes.toByteArray() if (result.length < 2) { return [] as byte[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 14.9K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser_test.go
var buf1 bytes.Buffer _, err := Fprint(&buf1, ast1, LineForm) if err != nil { panic(err) } bytes1 := buf1.Bytes() ast2, err := Parse(NewFileBase(filename), &buf1, nil, nil, 0) if err != nil { panic(err) } var buf2 bytes.Buffer _, err = Fprint(&buf2, ast2, LineForm) if err != nil { panic(err) } bytes2 := buf2.Bytes()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 16:30:19 UTC 2024 - 12.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
/** * Static utility methods pertaining to {@code byte} primitives, that are not already found in * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>. * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes} * and {@link UnsignedBytes}. * * <p>See the Guava User Guide article on <a
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Bytes.java
/** * Static utility methods pertaining to {@code byte} primitives, that are not already found in * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>. * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes} * and {@link UnsignedBytes}. * * <p>See the Guava User Guide article on <a
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0) -
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) -
platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy
given: def byteBuffer = createTestInstance() def input = byteBuffer.getInputStream() def bytesOut = new ByteArrayOutputStream(byteBuffer .totalBytesUnread()) when: copy(input, bytesOut, 2048) then: bytesOut.toByteArray() == testbuffer } def "can use InputStream and OutputStream interfaces to access buffer"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 13:06:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_pgo_auto_multi.txt
! stderr 'path\\ttest/nopgo\\n.*build\\t-pgo=' # go test works the same way go test -a -n -pgo=auto ./a ./b ./nopgo stderr -count=1 'compile.*-pgoprofile=.*a(/|\\\\)a_test\.go' stderr -count=1 'compile.*-pgoprofile=.*b(/|\\\\)b_test\.go' stderr -count=2 'compile.*-pgoprofile=.*dep(/|\\\\)dep\.go' ! stderr 'compile.*-pgoprofile=.*nopgo(/|\\\\)nopgo_test\.go' # test-only dependencies also have profiles attached
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:38:19 UTC 2024 - 3.1K bytes - Viewed (0)