- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 273 for b1 (0.02 sec)
-
guava/src/com/google/common/io/LittleEndianDataInputStream.java
return (int) in.skip(n); } @CanIgnoreReturnValue // to skip a byte @Override public int readUnsignedByte() throws IOException { int b1 = in.read(); if (0 > b1) { throw new EOFException(); } return b1; } /** * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()}, * except using little-endian byte order. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 7.3K bytes - Viewed (0) -
src/reflect/set_test.go
m := make(map[io.Reader]io.Writer) mv := ValueOf(m) b1 := new(bytes.Buffer) b2 := new(bytes.Buffer) mv.SetMapIndex(ValueOf(b1), ValueOf(b2)) x, ok := m[b1] if x != b2 { t.Errorf("#5 after SetMapIndex(b1, b2): %p (!= %p), %t (map=%v)", x, b2, ok, m) } if p := mv.MapIndex(ValueOf(b1)).Elem().UnsafePointer(); p != unsafe.Pointer(b2) { t.Errorf("#5 MapIndex(b1) = %#x want %p", p, b2) } } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 13:56:11 UTC 2022 - 5.7K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-bare-m.go
b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoSyscall) b0.Event("GoSyscallEndBlocked") // A bare M stole the goroutine's P at the generation boundary. b1 := g.Batch(trace.ThreadID(1), 0) b1.Event("ProcStatus", trace.ProcID(0), go122.ProcSyscallAbandoned) b1.Event("ProcSteal", trace.ProcID(0), testgen.Seq(1), trace.ThreadID(0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 956 bytes - Viewed (0) -
test/fixedbugs/issue12588.go
return x } } return nil } var sink *uint64 func main() { var a1, a2 A var b1, b2, b3, b4 B var x1, x2, x3, x4 uint64 // ERROR "moved to heap: x1" "moved to heap: x3" b1.b[0] = &x1 b2.b[0] = &x2 b3.b[0] = &x3 b4.b[0] = &x4 f(a1) g(&a2) sink = h(&b1) h(&b2) sink = h2(&b1) h2(&b4) x1 = 17 println("*sink=", *sink) // Verify that sink addresses x1 x3 = 42 sink = k(b3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:32 UTC 2021 - 1.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go
// the parser handles GoDestroySyscall wrong, then we // have a self-steal here potentially that doesn't make // sense. b1 := g.Batch(trace.ThreadID(0), 0) b1.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle) b1.Event("ProcStart", trace.ProcID(1), testgen.Seq(1)) b1.Event("ProcSteal", trace.ProcID(0), testgen.Seq(3), trace.ThreadID(0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 2.3K bytes - Viewed (0) -
src/image/png/writer_test.go
func diff(m0, m1 image.Image) error { b0, b1 := m0.Bounds(), m1.Bounds() if !b0.Size().Eq(b1.Size()) { return fmt.Errorf("dimensions differ: %v vs %v", b0, b1) } dx := b1.Min.X - b0.Min.X dy := b1.Min.Y - b0.Min.Y for y := b0.Min.Y; y < b0.Max.Y; y++ { for x := b0.Min.X; x < b0.Max.X; x++ { c0 := m0.At(x, y) c1 := m1.At(x+dx, y+dy) r0, g0, b0, a0 := c0.RGBA() r1, g1, b1, a1 := c1.RGBA()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 14 08:14:05 UTC 2022 - 8.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy
def a1 = file("a/1.txt") << "a/1" def b1 = file("b/1.txt") << "b/1" def fileResolver = TestFiles.fileCollectionFactory(testDirectory) when: def a = fileResolver.resolving(["a"]).asFileTree def b = fileResolver.resolving(["b"]).asFileTree def composite = newCompositeFileTree([a, b]) then: composite.files == [a1, b1].toSet() } def "can visit all files"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0) -
src/compress/lzw/writer_test.go
b0, err0 := io.ReadAll(golden) b1, err1 := io.ReadAll(lzwr) if err0 != nil { t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err0) return } if err1 != nil { t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err1) return } if len(b1) != len(b0) { t.Errorf("%s (order=%d litWidth=%d): length mismatch %d != %d", fn, order, litWidth, len(b1), len(b0)) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 12 11:00:47 UTC 2021 - 5.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_lazy_import_allmod.txt
replace ( a v0.1.0 => ./a1 b v0.1.0 => ./b1 c v0.1.0 => ./c1 c v0.2.0 => ./c2 ) -- a1/go.mod -- module a go 1.17 require b v0.1.0 -- a1/a.go -- package a -- a1/a_test.go -- package a_test import _ "b/x" -- b1/go.mod -- module b go 1.17 require c v0.1.0 -- b1/x/x.go -- package x -- b1/y/y.go -- package y import "c"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 17 13:54:10 UTC 2021 - 3.1K bytes - Viewed (0)